Instructions to use aaardpark/Qwen2.5-72B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="aaardpark/Qwen2.5-72B-Instruct-GGUF", filename="Qwen2.5-72B-Instruct-aaardpark-Q3_K_M.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use aaardpark/Qwen2.5-72B-Instruct-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 aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M # Run inference directly in the terminal: llama cli -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M # Run inference directly in the terminal: llama cli -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_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 aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M # Run inference directly in the terminal: ./llama-cli -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_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 aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Use Docker
docker model run hf.co/aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
- LM Studio
- Jan
- Ollama
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with Ollama:
ollama run hf.co/aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
- Unsloth Studio
How to use aaardpark/Qwen2.5-72B-Instruct-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 aaardpark/Qwen2.5-72B-Instruct-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 aaardpark/Qwen2.5-72B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for aaardpark/Qwen2.5-72B-Instruct-GGUF to start chatting
- Pi
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
- Lemonade
How to use aaardpark/Qwen2.5-72B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aaardpark/Qwen2.5-72B-Instruct-GGUF:Q3_K_M
Run and chat with the model
lemonade run user.Qwen2.5-72B-Instruct-GGUF-Q3_K_M
List all available models
lemonade list
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ quantized_by: aaardpark
|
|
| 12 |
|
| 13 |
# Qwen2.5-72B-Instruct — GGUF (aaardpark)
|
| 14 |
|
| 15 |
-
**35 GB Q3_K_M GGUF. 88% GSM8K
|
| 16 |
|
| 17 |
> Looking for a smaller version? See [aaardpark/Qwen2.5-32B-Instruct-GGUF](https://huggingface.co/aaardpark/Qwen2.5-32B-Instruct-GGUF) — 15 GB, fits on a 24 GB machine.
|
| 18 |
|
|
@@ -56,12 +56,12 @@ You are a helpful assistant.<|im_end|>
|
|
| 56 |
|
| 57 |
### Base model evaluation (lm-evaluation-harness)
|
| 58 |
|
| 59 |
-
| Metric | FP16 | This Quant (3-bit) |
|
| 60 |
-
|--------|------|--------------------
|
| 61 |
-
| **Perplexity** (wikitext-2) | 2.670 | **3.163** |
|
| 62 |
-
| **GSM8K** (5-shot) | 90% | **88%** |
|
| 63 |
-
| **MMLU avg** (5-shot) | 77.6% | **76.8%** |
|
| 64 |
-
| TruthfulQA | 58.5% | 56.9% |
|
| 65 |
|
| 66 |
Measured on Qwen2.5-72B (base) with lm-evaluation-harness. The quantization method is identical for base and Instruct variants.
|
| 67 |
|
|
@@ -79,20 +79,15 @@ Measured on Qwen2.5-72B (base) with lm-evaluation-harness. The quantization meth
|
|
| 79 |
|--------|------|-----------|-------|-------|
|
| 80 |
| FP16 | 16 | 2.670 | 90% | Baseline |
|
| 81 |
| **This quant** | **3** | **3.163** | **88%** | **35 GB** |
|
| 82 |
-
| RTN 3-bit | 3 | 3.750 |
|
| 83 |
-
| GPTQ 4-bit | 4 | 3.562* | — | 25% larger file |
|
| 84 |
| RTN 4-bit | 4 | 2.790 | 88% | 45 GB |
|
| 85 |
| **This quant (4-bit)** | **4** | **2.747** | **93%** | **Effectively lossless** |
|
| 86 |
|
| 87 |
-
*GPTQ 4-bit PPL from Qwen2.5-32B (3.562), scaled comparison.
|
| 88 |
-
|
| 89 |
-
On smaller models (7B): GPTQ 3-bit PPL = 12.576, our 3-bit PPL = 6.148. GPTQ is unusable at 3-bit; ours is not.
|
| 90 |
-
|
| 91 |
## Why this quant is different
|
| 92 |
|
| 93 |
-
Standard 3-bit quantization (RTN) rounds each weight to the nearest grid point uniformly.
|
| 94 |
|
| 95 |
-
|
| 96 |
|
| 97 |
## Which file should I choose?
|
| 98 |
|
|
|
|
| 12 |
|
| 13 |
# Qwen2.5-72B-Instruct — GGUF (aaardpark)
|
| 14 |
|
| 15 |
+
**35 GB Q3_K_M GGUF. 88% GSM8K at 3-bit.**
|
| 16 |
|
| 17 |
> Looking for a smaller version? See [aaardpark/Qwen2.5-32B-Instruct-GGUF](https://huggingface.co/aaardpark/Qwen2.5-32B-Instruct-GGUF) — 15 GB, fits on a 24 GB machine.
|
| 18 |
|
|
|
|
| 56 |
|
| 57 |
### Base model evaluation (lm-evaluation-harness)
|
| 58 |
|
| 59 |
+
| Metric | FP16 | This Quant (3-bit) |
|
| 60 |
+
|--------|------|--------------------|
|
| 61 |
+
| **Perplexity** (wikitext-2) | 2.670 | **3.163** |
|
| 62 |
+
| **GSM8K** (5-shot) | 90% | **88%** |
|
| 63 |
+
| **MMLU avg** (5-shot) | 77.6% | **76.8%** |
|
| 64 |
+
| TruthfulQA | 58.5% | 56.9% |
|
| 65 |
|
| 66 |
Measured on Qwen2.5-72B (base) with lm-evaluation-harness. The quantization method is identical for base and Instruct variants.
|
| 67 |
|
|
|
|
| 79 |
|--------|------|-----------|-------|-------|
|
| 80 |
| FP16 | 16 | 2.670 | 90% | Baseline |
|
| 81 |
| **This quant** | **3** | **3.163** | **88%** | **35 GB** |
|
| 82 |
+
| RTN 3-bit | 3 | 3.750 | — | Standard rounding |
|
|
|
|
| 83 |
| RTN 4-bit | 4 | 2.790 | 88% | 45 GB |
|
| 84 |
| **This quant (4-bit)** | **4** | **2.747** | **93%** | **Effectively lossless** |
|
| 85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
## Why this quant is different
|
| 87 |
|
| 88 |
+
Standard 3-bit quantization (RTN) rounds each weight to the nearest grid point uniformly. Our method uses calibration data to identify which weights are critical for model quality, then allocates quantization precision accordingly. Same bit budget, better weight choices.
|
| 89 |
|
| 90 |
+
The result: 88% GSM8K and 76.8% MMLU at 3-bit, within 2 points of FP16 on both benchmarks.
|
| 91 |
|
| 92 |
## Which file should I choose?
|
| 93 |
|