Instructions to use AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M
Use Docker
docker model run hf.co/AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf with Ollama:
ollama run hf.co/AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M
- Unsloth Studio
How to use AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf to start chatting
- Atomic Chat new
- Docker Model Runner
How to use AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf with Docker Model Runner:
docker model run hf.co/AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M
- Lemonade
How to use AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Q4_K_M
Run and chat with the model
lemonade run user.Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf-Q4_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:# Run inference directly in the terminal:
llama cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf: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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:# Run inference directly in the terminal:
./llama-cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf: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 AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:# Run inference directly in the terminal:
./build/bin/llama-cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Use Docker
docker model run hf.co/AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:Quantized GGUF model Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge
This model has been quantized using llama-quantize from llama.cpp
Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge
Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge is a merge of the following models using mergekit:
🧩 Merge Configuration
slices:
- sources:
- model: NousResearch/Hermes-2-Pro-Llama-3-8B
layer_range: [0, 31]
- model: shenzhi-wang/Llama3-8B-Chinese-Chat
layer_range: [0, 31]
merge_method: slerp
base_model: NousResearch/Hermes-2-Pro-Llama-3-8B
parameters:
t:
- filter: self_attn
value: [0, 0.5, 0.3, 0.7, 1]
- filter: mlp
value: [1, 0.5, 0.7, 0.3, 0]
- value: 0.5
dtype: float16
Model Features
This fusion model combines the robust generative capabilities of NousResearch/Hermes-2-Pro-Llama-3-8B with the refined tuning of shenzhi-wang/Llama3-8B-Chinese-Chat, creating a versatile model suitable for a variety of text generation tasks. Leveraging the strengths of both parent models, Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge provides enhanced context understanding, nuanced text generation, and improved performance across diverse NLP tasks, including multilingual capabilities and structured outputs.
Evaluation Results
Hermes-2-Pro-Llama-3-8B
- Scored 90% on function calling evaluation.
- Scored 84% on structured JSON output evaluation.
Llama3-8B-Chinese-Chat
- Significant improvements in roleplay, function calling, and math capabilities compared to previous versions.
- Achieved high performance in both Chinese and English tasks, surpassing ChatGPT in certain benchmarks.
Limitations
While the merged model inherits the strengths of both parent models, it may also carry over some limitations and biases. For instance, the model may exhibit inconsistencies in responses when handling complex queries or when generating content that requires deep contextual understanding. Additionally, the model's performance may vary based on the language used, with potential biases present in the training data affecting the quality of outputs in less represented languages or dialects. Users should remain aware of these limitations when deploying the model in real-world applications.
- Downloads last month
- 353
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf:# Run inference directly in the terminal: llama cli -hf AlekseiPravdin/Hermes-2-Pro-Llama-3-8B-Llama3-8B-Chinese-Chat-slerp-merge-gguf: