Instructions to use tensorblock/Qwen2.5-Math-7B-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-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2.5-Math-7B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Qwen2.5-Math-7B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Qwen2.5-Math-7B-GGUF", filename="Qwen2.5-Math-7B-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Qwen2.5-Math-7B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Math-7B-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-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2.5-Math-7B-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-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Qwen2.5-Math-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Qwen2.5-Math-7B-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-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-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-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Qwen2.5-Math-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2.5-Math-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2.5-Math-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2.5-Math-7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Qwen2.5-Math-7B-Q3_K_L.gguf +0 -3
- Qwen2.5-Math-7B-Q3_K_M.gguf +0 -3
- Qwen2.5-Math-7B-Q3_K_S.gguf +0 -3
- Qwen2.5-Math-7B-Q4_0.gguf +0 -3
- Qwen2.5-Math-7B-Q4_K_M.gguf +0 -3
- Qwen2.5-Math-7B-Q4_K_S.gguf +0 -3
- Qwen2.5-Math-7B-Q5_0.gguf +0 -3
- Qwen2.5-Math-7B-Q5_K_M.gguf +0 -3
- Qwen2.5-Math-7B-Q5_K_S.gguf +0 -3
- Qwen2.5-Math-7B-Q6_K.gguf +0 -3
- Qwen2.5-Math-7B-Q8_0.gguf +0 -3
Qwen2.5-Math-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1992f29d8330664326e1917990810502434e9fc5c4292a270a5771bae6522dde
|
| 3 |
-
size 4088457024
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:547c105bc0a1083cd6758bcc8166e10e3226c4192c783d805efb69e4e0488e2f
|
| 3 |
-
size 3808388928
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7d7f1525e6957097869e8da0f5cbb7ae320afc8c2d0e8d33eedbd257730a2d63
|
| 3 |
-
size 3492366144
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1cbe56304375c70d81721b60cd6b3dbd30de2fd9c64e643ebcddb7cf47f5472b
|
| 3 |
-
size 4431388480
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ce2124a5c41ebad405be44acb89002f9b3d4b03e40e36646729cd56a629a0161
|
| 3 |
-
size 4683071296
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:07755ffe6fc8ec07c33f80f71f160a021f99a6e1478ceaa34561607de0339b52
|
| 3 |
-
size 4457766720
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:528ee49323dd5f11cb098a865135348fb91f18b5325f750d8c349ab5d87cfd85
|
| 3 |
-
size 5315174208
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:58e6c275ca7ca3e7be1bb152cb92bda53c051bc6129faf55f91e1d50828c1558
|
| 3 |
-
size 5444828992
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ebed1ac0a09133c8b8e102e9c41f87957c0f2698c54e17599513230c67faebc
|
| 3 |
-
size 5315174208
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27fade42d46bc1ea677007af88b38d0570dd91607411b9e53332fd1cc076d700
|
| 3 |
-
size 6254196544
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Math-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bd680cef5288e18ba469d22e749ad387734315fa60a8ebabba8b8e98c7aa7782
|
| 3 |
-
size 8098522944
|
|
|
|
|
|
|
|
|
|
|
|