Run this model with HF Jobs
Run tensorblock/Qwen2.5-Math-72B-Instruct-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Qwen2.5-Math-72B-Instruct-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2.5-Math-72B-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Qwen2.5-Math-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 tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
- SGLang
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
- Unsloth Desktop
- Pi
How to use tensorblock/Qwen2.5-Math-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 tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2.5-Math-72B-Instruct-GGUF-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use tensorblock/Qwen2.5-Math-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 tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
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:9931/v1 hermes config set model.default tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tensorblock/Qwen2.5-Math-72B-Instruct-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "tensorblock/Qwen2.5-Math-72B-Instruct-GGUF:Q2_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse filesFiles changed (20)
- .gitattributes+18
- Qwen2.5-Math-72B-Instruct-Q2_K.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q3_K_L.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q3_K_M.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q3_K_S.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q4_0.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q4_K_M.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q4_K_S.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_0/Qwen2.5-Math-72B-Instruct-Q5_0-00001-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_0/Qwen2.5-Math-72B-Instruct-Q5_0-00002-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_K_M/Qwen2.5-Math-72B-Instruct-Q5_K_M-00001-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_K_M/Qwen2.5-Math-72B-Instruct-Q5_K_M-00002-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_K_S/Qwen2.5-Math-72B-Instruct-Q5_K_S-00001-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q5_K_S/Qwen2.5-Math-72B-Instruct-Q5_K_S-00002-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q6_K/Qwen2.5-Math-72B-Instruct-Q6_K-00001-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q6_K/Qwen2.5-Math-72B-Instruct-Q6_K-00002-of-00002.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00001-of-00003.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00002-of-00003.ggufAdded+3
- Qwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00003-of-00003.ggufAdded+3
- README.mdAdded+87
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373839404142434445464748495051525332 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_0/Qwen2.5-Math-72B-Instruct-Q5_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_0/Qwen2.5-Math-72B-Instruct-Q5_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_K_M/Qwen2.5-Math-72B-Instruct-Q5_K_M-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_K_M/Qwen2.5-Math-72B-Instruct-Q5_K_M-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_K_S/Qwen2.5-Math-72B-Instruct-Q5_K_S-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q5_K_S/Qwen2.5-Math-72B-Instruct-Q5_K_S-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q6_K/Qwen2.5-Math-72B-Instruct-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q6_K/Qwen2.5-Math-72B-Instruct-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -textQwen2.5-Math-72B-Instruct-Q8_0/Qwen2.5-Math-72B-Instruct-Q8_0-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:99dbdfcf0fd75fc3f9f021c028ca67c1c9039dc274012f883a436f3fca900b76size 29811762624123version https://git-lfs.github.com/spec/v1oid sha256:8c6caa891de9d4e47eb0937d34341673b9d0d981e84dfea08a7463446be8a592size 39505225152123version https://git-lfs.github.com/spec/v1oid sha256:1e3911a2207ccc636cee0a5366b8b225979d0d55749ff6f9f02641f9197a9484size 37698725312123version https://git-lfs.github.com/spec/v1oid sha256:30cd956adca33b1fba6dec14ee8295b2613d002135eb50eaea55ab0f85d3a80csize 34487788992123version https://git-lfs.github.com/spec/v1oid sha256:ff011df158ac4c001ec0e6d37501f9598fad3919aab417833bb060c571b7f8cdsize 41231738304123version https://git-lfs.github.com/spec/v1oid sha256:886715c5cef3cd1a3a90d324c9011d5de41bd97378baf27d48db88fe2c6c86a1size 47415715264123version https://git-lfs.github.com/spec/v1oid sha256:0b906919b24a4ba0f6843608565df5f8a7736a8be660a11c9ad561ae9a8959cfsize 43889223104123version https://git-lfs.github.com/spec/v1oid sha256:fae51381ac757a07b2170831e134cebcd0832ef151d70a45d7b64af5a56b30casize 34910077600123version https://git-lfs.github.com/spec/v1oid sha256:0e5f4d11eff37d5ef161e11e9a3366df43b430022a5b62e470ea886f1de9b92esize 15253955552123version https://git-lfs.github.com/spec/v1oid sha256:f29dc013fad0f5dc9d3a204fb701694e9fc604b7bed403566f3a12de6e2d1623size 34868197216123version https://git-lfs.github.com/spec/v1oid sha256:0b93d5991d9f15ef4ef499f3297c8208dbd9c860482fcec5f62e736c24cc1d28size 19579268896123version https://git-lfs.github.com/spec/v1oid sha256:29d1ce487020b4de011112fcf196e56c980c3d6d12e2b21a387dc2e856b73c9fsize 34957516672123version https://git-lfs.github.com/spec/v1oid sha256:f1df95d719d054fd65c2819a75a04f56cd868baf761ceeafad1c29e7590e52efsize 16417621760123version https://git-lfs.github.com/spec/v1oid sha256:e2d085e99f51e436d84a4296a1a1e9df039ef43ddadbc0205282babed090ec86size 34880053664123version https://git-lfs.github.com/spec/v1oid sha256:c937c40327b69cfe9e3d59f78d1562ac36861d6664470e473897d92e0e684870size 29467575520123version https://git-lfs.github.com/spec/v1oid sha256:321c0016a34652950d19abeaa4660bab82fe22f37432ab9b1d8ac0a1e76c32b9size 34780007520123version https://git-lfs.github.com/spec/v1oid sha256:711e0fe98cee098a476ca3189829f4652493cd12c0f2a2a1b94e83173ac45363size 34764293216123version https://git-lfs.github.com/spec/v1oid sha256:d7e6dc4537bfd6db618938c0df4e629fca5ca21ea8ee5ab5a2a1ed635442975asize 7718311488123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687---license: otherlicense_name: qwenbase_model: Qwen/Qwen2.5-Math-72B-Instructlicense_link: https://huggingface.co/Qwen/Qwen2.5-Math-72B-Instruct/blob/main/LICENSElanguage:- enpipeline_tag: text-generationtags:- chat- TensorBlock- GGUFlibrary_name: transformers---
<div style="width: auto; margin-left: auto; margin-right: auto"><img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;"></div><div style="display: flex; justify-content: space-between; width: 100%;"> <div style="display: flex; flex-direction: column; align-items: flex-start;"> <p style="margin-top: 0.5em; margin-bottom: 0em;"> Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a> </p> </div></div>
## Qwen/Qwen2.5-Math-72B-Instruct - GGUF
This repo contains GGUF format model files for [Qwen/Qwen2.5-Math-72B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Math-72B-Instruct).
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit ec7f3ac](https://github.com/ggerganov/llama.cpp/commit/ec7f3ac9ab33e46b136eb5ab6a76c4d81f57c7f1).
<div style="text-align: left; margin: 20px 0;"> <a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;"> Run them on the TensorBlock client using your local machine ↗ </a></div>
## Prompt template
```<|im_start|>system{system_prompt}<|im_end|><|im_start|>user{prompt}<|im_end|><|im_start|>assistant```
## Model file specification
| Filename | Quant type | File Size | Description || -------- | ---------- | --------- | ----------- || [Qwen2.5-Math-72B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q2_K.gguf) | Q2_K | 29.812 GB | smallest, significant quality loss - not recommended for most purposes || [Qwen2.5-Math-72B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q3_K_S.gguf) | Q3_K_S | 34.488 GB | very small, high quality loss || [Qwen2.5-Math-72B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q3_K_M.gguf) | Q3_K_M | 37.699 GB | very small, high quality loss || [Qwen2.5-Math-72B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q3_K_L.gguf) | Q3_K_L | 39.505 GB | small, substantial quality loss || [Qwen2.5-Math-72B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q4_0.gguf) | Q4_0 | 41.232 GB | legacy; small, very high quality loss - prefer using Q3_K_M || [Qwen2.5-Math-72B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q4_K_S.gguf) | Q4_K_S | 43.889 GB | small, greater quality loss || [Qwen2.5-Math-72B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q4_K_M.gguf) | Q4_K_M | 47.416 GB | medium, balanced quality - recommended || [Qwen2.5-Math-72B-Instruct-Q5_0](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q5_0) | Q5_0 | 50.164 GB | legacy; medium, balanced quality - prefer using Q4_K_M || [Qwen2.5-Math-72B-Instruct-Q5_K_S](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q5_K_S) | Q5_K_S | 51.375 GB | large, low quality loss - recommended || [Qwen2.5-Math-72B-Instruct-Q5_K_M](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q5_K_M) | Q5_K_M | 54.447 GB | large, very low quality loss - recommended || [Qwen2.5-Math-72B-Instruct-Q6_K](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q6_K) | Q6_K | 64.348 GB | very large, extremely low quality loss || [Qwen2.5-Math-72B-Instruct-Q8_0](https://huggingface.co/tensorblock/Qwen2.5-Math-72B-Instruct-GGUF/blob/main/Qwen2.5-Math-72B-Instruct-Q8_0) | Q8_0 | 77.263 GB | very large, extremely low quality loss - not recommended |
## Downloading instruction
### Command line
Firstly, install Huggingface Client
```shellpip install -U "huggingface_hub[cli]"```
Then, downoad the individual model file the a local directory
```shellhuggingface-cli download tensorblock/Qwen2.5-Math-72B-Instruct-GGUF --include "Qwen2.5-Math-72B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR```
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
```shellhuggingface-cli download tensorblock/Qwen2.5-Math-72B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'```