Instructions to use hfl/llama-3-chinese-8b-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 hfl/llama-3-chinese-8b-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 hfl/llama-3-chinese-8b-gguf:F16 # Run inference directly in the terminal: llama cli -hf hfl/llama-3-chinese-8b-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf hfl/llama-3-chinese-8b-gguf:F16 # Run inference directly in the terminal: llama cli -hf hfl/llama-3-chinese-8b-gguf:F16
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 hfl/llama-3-chinese-8b-gguf:F16 # Run inference directly in the terminal: ./llama-cli -hf hfl/llama-3-chinese-8b-gguf:F16
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 hfl/llama-3-chinese-8b-gguf:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf hfl/llama-3-chinese-8b-gguf:F16
Use Docker
docker model run hf.co/hfl/llama-3-chinese-8b-gguf:F16
- LM Studio
- Jan
- Ollama
How to use hfl/llama-3-chinese-8b-gguf with Ollama:
ollama run hf.co/hfl/llama-3-chinese-8b-gguf:F16
- Unsloth Desktop
- Docker Model Runner
How to use hfl/llama-3-chinese-8b-gguf with Docker Model Runner:
docker model run hf.co/hfl/llama-3-chinese-8b-gguf:F16
- Lemonade
How to use hfl/llama-3-chinese-8b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hfl/llama-3-chinese-8b-gguf:F16
Run and chat with the model
lemonade run user.llama-3-chinese-8b-gguf-F16
List all available models
lemonade list
- Atomic Chat
Llama-3-Chinese-8B-GGUF
This repository contains Llama-3-Chinese-8B-GGUF (llama.cpp/ollama/tgw, etc. compatible), which is the quantized version of Llama-3-Chinese-8B.
Note: this is a foundation model, which is not suitable for conversation, QA, etc.
Further details (performance, usage, etc.) should refer to GitHub project page: https://github.com/ymcui/Chinese-LLaMA-Alpaca-3
Performance
Metric: PPL, lower is better
Note: Old models have been removed due to its inferior performance.
| Quant | Size | PPL (old model) | ๐๐ป PPL (new model) |
|---|---|---|---|
| Q2_K | 2.96 GB | 17.7212 +/- 0.59814 | 11.8595 +/- 0.20061 |
| Q3_K | 3.74 GB | 8.6303 +/- 0.28481 | 5.7559 +/- 0.09152 |
| Q4_0 | 4.34 GB | 8.2513 +/- 0.27102 | 5.5495 +/- 0.08832 |
| Q4_K | 4.58 GB | 7.8897 +/- 0.25830 | 5.3126 +/- 0.08500 |
| Q5_0 | 5.21 GB | 7.7975 +/- 0.25639 | 5.2222 +/- 0.08317 |
| Q5_K | 5.34 GB | 7.7062 +/- 0.25218 | 5.1813 +/- 0.08264 |
| Q6_K | 6.14 GB | 7.6600 +/- 0.25043 | 5.1481 +/- 0.08205 |
| Q8_0 | 7.95 GB | 7.6512 +/- 0.25064 | 5.1350 +/- 0.08190 |
| F16 | 14.97 GB | 7.6389 +/- 0.25001 | 5.1302 +/- 0.08184 |
Others
For full model, please see: https://huggingface.co/hfl/llama-3-chinese-8b
For LoRA-only model, please see: https://huggingface.co/hfl/llama-3-chinese-8b-lora
If you have questions/issues regarding this model, please submit an issue through https://github.com/ymcui/Chinese-LLaMA-Alpaca-3
- Downloads last month
- 755
2-bit
4-bit
5-bit
6-bit
8-bit
16-bit
