Instructions to use tensorblock/Qwen2.5-Math-7B-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-7B-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-7B-Instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2.5-Math-7B-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Qwen2.5-Math-7B-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-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2.5-Math-7B-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-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
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 tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
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 tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Qwen2.5-Math-7B-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-7B-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-7B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
- SGLang
How to use tensorblock/Qwen2.5-Math-7B-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-7B-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-7B-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-7B-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-7B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Qwen2.5-Math-7B-Instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Qwen2.5-Math-7B-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 tensorblock/Qwen2.5-Math-7B-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 tensorblock/Qwen2.5-Math-7B-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 tensorblock/Qwen2.5-Math-7B-Instruct-GGUF to start chatting
- Pi
How to use tensorblock/Qwen2.5-Math-7B-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-7B-Instruct-GGUF:Q2_K
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": "tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/Qwen2.5-Math-7B-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-7B-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:8080/v1 hermes config set model.default tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use tensorblock/Qwen2.5-Math-7B-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-7B-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:8080/v1 \ --custom-model-id "tensorblock/Qwen2.5-Math-7B-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"
- Docker Model Runner
How to use tensorblock/Qwen2.5-Math-7B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2.5-Math-7B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2.5-Math-7B-Instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2.5-Math-7B-Instruct-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- Qwen2.5-Math-7B-Instruct-Q2_K.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q3_K_L.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q3_K_M.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q3_K_S.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q4_0.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q4_K_M.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q4_K_S.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q5_0.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q5_K_M.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q5_K_S.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q6_K.gguf +2 -2
- Qwen2.5-Math-7B-Instruct-Q8_0.gguf +2 -2
- README.md +9 -8
Qwen2.5-Math-7B-Instruct-Q2_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d51bb31ef8aa44d83d93dc8bf7bb671aa5ddcab85156df364fe54e1246d5de50
|
| 3 |
+
size 3015940544
|
Qwen2.5-Math-7B-Instruct-Q3_K_L.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:578b8448a388727a593e6e71499f73b701bf463d44563ff5972e7020b145f7c2
|
| 3 |
+
size 4088459712
|
Qwen2.5-Math-7B-Instruct-Q3_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0204541c2d1792436f9481d6d5f7a2f7863eac244eef0a3d47be32c2c286535
|
| 3 |
+
size 3808391616
|
Qwen2.5-Math-7B-Instruct-Q3_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc952a0c0745817258f06b982e6df2b8715925bba35debcdb23381e68a64ca6c
|
| 3 |
+
size 3492368832
|
Qwen2.5-Math-7B-Instruct-Q4_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de46732127bf6b5c75a84f29959ecad80da2eef073e5ae0e09c71765de9e9375
|
| 3 |
+
size 4431391168
|
Qwen2.5-Math-7B-Instruct-Q4_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56c569c7dcb414e7ea839c7e7e0de03548a245e0c96c820a9e5c56c64b8bb3b7
|
| 3 |
+
size 4683073984
|
Qwen2.5-Math-7B-Instruct-Q4_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8d15017cbecf0709051a676612c2e4bb3f777577a72b77da6488967119ea06f
|
| 3 |
+
size 4457769408
|
Qwen2.5-Math-7B-Instruct-Q5_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf61f577f4a7698d42121787d82ea6035a372543e5fced8114a733fd467c9648
|
| 3 |
+
size 5315176896
|
Qwen2.5-Math-7B-Instruct-Q5_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7541f99414f9d2a21a604387910290376c4719d29791b4d4497aba27abcf9515
|
| 3 |
+
size 5444831680
|
Qwen2.5-Math-7B-Instruct-Q5_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:517fb358ed52740a3425ce73aa575c9915457662de38427ee59d96498ebf7bb7
|
| 3 |
+
size 5315176896
|
Qwen2.5-Math-7B-Instruct-Q6_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf1384fe3beb0e68153a56b7aa8a9d970de08b08a68b099a6da8b483d78f97dc
|
| 3 |
+
size 6254199232
|
Qwen2.5-Math-7B-Instruct-Q8_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95bd0084399f1975a634111fb4383084bea6fd77c0790c9f3ee2475a5d5d0a5a
|
| 3 |
+
size 8098525632
|
README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
|
| 6 |
-
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
-
- transformers
|
| 10 |
- TensorBlock
|
| 11 |
- GGUF
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
<div style="width: auto; margin-left: auto; margin-right: auto">
|
|
@@ -22,11 +23,11 @@ tags:
|
|
| 22 |
</div>
|
| 23 |
</div>
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
This repo contains GGUF format model files for [
|
| 28 |
|
| 29 |
-
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit
|
| 30 |
|
| 31 |
<div style="text-align: left; margin: 20px 0;">
|
| 32 |
<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;">
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen2.5-Math-7B-Instruct
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
pipeline_tag: text-generation
|
|
|
|
| 6 |
tags:
|
| 7 |
+
- chat
|
|
|
|
| 8 |
- TensorBlock
|
| 9 |
- GGUF
|
| 10 |
+
library_name: transformers
|
| 11 |
+
license: apache-2.0
|
| 12 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Math-7B-Instruct/blob/main/LICENSE
|
| 13 |
---
|
| 14 |
|
| 15 |
<div style="width: auto; margin-left: auto; margin-right: auto">
|
|
|
|
| 23 |
</div>
|
| 24 |
</div>
|
| 25 |
|
| 26 |
+
## Qwen/Qwen2.5-Math-7B-Instruct - GGUF
|
| 27 |
|
| 28 |
+
This repo contains GGUF format model files for [Qwen/Qwen2.5-Math-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Math-7B-Instruct).
|
| 29 |
|
| 30 |
+
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).
|
| 31 |
|
| 32 |
<div style="text-align: left; margin: 20px 0;">
|
| 33 |
<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;">
|