Instructions to use TheBloke/zephyr-7B-beta-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/zephyr-7B-beta-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/zephyr-7B-beta-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TheBloke/zephyr-7B-beta-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
Use Docker
docker model run hf.co/TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use TheBloke/zephyr-7B-beta-GGUF with Ollama:
ollama run hf.co/TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use TheBloke/zephyr-7B-beta-GGUF with Docker Model Runner:
docker model run hf.co/TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
- Lemonade
How to use TheBloke/zephyr-7B-beta-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheBloke/zephyr-7B-beta-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.zephyr-7B-beta-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Will there be a re-upload of this model?
I would just like to know about this. I saw that there was an update of the files for this model, although I’ll say right away that I don’t understand anything about this and perhaps it was stupid on my part to ask this question.
No, I don't see any reason to re-upload.
I checked the source repo and you're right, there was an update. But it didn't change the model. Rather, they additionally uploaded the base model in a different format - pytorch_model.bin. It was previously uploaded only in a new format, called model.safetensors. The config.json also changed, but that was only because they had used a more recent version of Transformers to create it, so the transformers version number changed. That's purely informational, and doesn't change anything about how the model operates.
I don't know why they did the new upload in the pytorch_model.bin format, as that format is becoming deprecated. But I can see that the original model.safetensors files are unchanged. So the version I quantised is still up-to-date.
I also don't think they'd do a model update without making a new repo, and giving it a new name and/or version number.
You can carry on using these GGUF, they're up-to-date with the source Zephyr repo.
Thank you for your reply.