Instructions to use NousResearch/Hermes-2-Pro-Mistral-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NousResearch/Hermes-2-Pro-Mistral-7B-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 NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NousResearch/Hermes-2-Pro-Mistral-7B-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 NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf NousResearch/Hermes-2-Pro-Mistral-7B-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 NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NousResearch/Hermes-2-Pro-Mistral-7B-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 NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use NousResearch/Hermes-2-Pro-Mistral-7B-GGUF with Ollama:
ollama run hf.co/NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use NousResearch/Hermes-2-Pro-Mistral-7B-GGUF with Docker Model Runner:
docker model run hf.co/NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M
- Lemonade
How to use NousResearch/Hermes-2-Pro-Mistral-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NousResearch/Hermes-2-Pro-Mistral-7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Hermes-2-Pro-Mistral-7B-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Sometimes getting "<dummy00019>" in the output
Seems to be pretty flexible model, but sometimes I get "<dummy00019>" in generated text, out of the blue. It happened to me once when using this model via Ollama, and another one via koboldcpp. Anyone else experienced that? I am using using Q6_K variant.
I've occassionally seen that too using llama.cpp
Same here, "< dummy00022 >" randomly 7B Q8_0 from NousResearch
That's usually a sign of the vocab getting padded incorrectly during quanting, can you try mine and see if you get the same behaviour?
https://huggingface.co/bartowski/Hermes-2-Pro-Mistral-7B-GGUF
Although that said based on a PR being opened to pad the vocab it seems more likely that we're missing added tokens on the main model
@bartowski I tried converting the version from PR myself, and I didn't observe this probem, then. If you were doing GGUFs for SOLAR-based variant, there is similar fix for it, here: https://huggingface.co/NousResearch/Nous-Hermes-2-SOLAR-10.7B/discussions/7.
That's usually a sign of the vocab getting padded incorrectly during quanting, can you try mine and see if you get the same behaviour?
@bartowski Yes, I tried 4_K_S and had the same issue. Actually, I think I've tried every hermes 2 pro 7b gguf on huggingface over the past couple weeks. I like this model, but I dislike dummy tokens.