Instructions to use tensorblock/Qwen2-Math-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Qwen2-Math-7B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2-Math-7B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Qwen2-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-Math-7B-GGUF", filename="Qwen2-Math-7B-Q2_K.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 tensorblock/Qwen2-Math-7B-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-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2-Math-7B-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-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/Qwen2-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-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2-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-Math-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2-Math-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2-Math-7B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Qwen2-Math-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2-Math-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Qwen2-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-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-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-Math-7B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/Qwen2-Math-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2-Math-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2-Math-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2-Math-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2-Math-7B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Qwen2-Math-7B-Q3_K_L.gguf +0 -3
- Qwen2-Math-7B-Q3_K_M.gguf +0 -3
- Qwen2-Math-7B-Q3_K_S.gguf +0 -3
- Qwen2-Math-7B-Q4_0.gguf +0 -3
- Qwen2-Math-7B-Q4_K_M.gguf +0 -3
- Qwen2-Math-7B-Q4_K_S.gguf +0 -3
- Qwen2-Math-7B-Q5_0.gguf +0 -3
- Qwen2-Math-7B-Q5_K_M.gguf +0 -3
- Qwen2-Math-7B-Q5_K_S.gguf +0 -3
- Qwen2-Math-7B-Q6_K.gguf +0 -3
- Qwen2-Math-7B-Q8_0.gguf +0 -3
Qwen2-Math-7B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a788b3f87100cb60517b1abd33e440aa6661f0466b5be29c4409c2f8f8b0b0f6
|
| 3 |
-
size 4088456896
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bae34bc3c4354d697da884066488434764fda8d0a23a6ff0606a35c878bc4808
|
| 3 |
-
size 3808388800
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c056fd8170251ea0dcad7cd58c3bbe2e06dce76d07f639e364a5f6f5a1c950d4
|
| 3 |
-
size 3492366016
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:db3e202ae5579f3cf58613c98294ee2c3909b974433f7a96ff4d6bd7d8dbfd1f
|
| 3 |
-
size 4431388352
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f0be0a4ee0b24c4f0cceed238f7b4c3a69c7d1a8993a0d4cc85358f5169800e5
|
| 3 |
-
size 4683071168
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9cc094af7e4b73cce36583d493dab4ac79b2f3d7e3dadea62af18894a53d6351
|
| 3 |
-
size 4457766592
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:631e8790b41bbec970fe94d950e237c30e38b2d0f153b456fb3fe141cf3b383b
|
| 3 |
-
size 5315174080
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ee154c081e1121ea9fcea41a89e47263db5fec7c8097728f8bb9aa924c06e058
|
| 3 |
-
size 5444828864
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:533528fcf131a8e10b6c473594d35300231cf509fc55da6cfa62b0675db0df9e
|
| 3 |
-
size 5315174080
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:863907bd1fbde5f88429df81e06aad64e8e562d5856e821f6e3a47eb9f5d1d03
|
| 3 |
-
size 6254196416
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2-Math-7B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e6283482387e8a81c395629ba18662697dfee374d1407dc400b6cacb27219ca1
|
| 3 |
-
size 8098522816
|
|
|
|
|
|
|
|
|
|
|
|