Instructions to use second-state/Qwen2-Math-7B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/Qwen2-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 second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_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 second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_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 second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/Qwen2-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 "second-state/Qwen2-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": "second-state/Qwen2-Math-7B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
- Ollama
How to use second-state/Qwen2-Math-7B-Instruct-GGUF with Ollama:
ollama run hf.co/second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use second-state/Qwen2-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 second-state/Qwen2-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 second-state/Qwen2-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 second-state/Qwen2-Math-7B-Instruct-GGUF to start chatting
- Docker Model Runner
How to use second-state/Qwen2-Math-7B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use second-state/Qwen2-Math-7B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/Qwen2-Math-7B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2-Math-7B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- .gitattributes +13 -0
- Qwen2-Math-7B-Instruct-Q2_K.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_0.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_0.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q6_K.gguf +3 -0
- Qwen2-Math-7B-Instruct-Q8_0.gguf +3 -0
- Qwen2-Math-7B-Instruct-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Qwen2-Math-7B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen2-Math-7B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen2-Math-7B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen2-Math-7B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen2-Math-7B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen2-Math-7B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2-Math-7B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2-Math-7B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2-Math-7B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen2-Math-7B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen2-Math-7B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen2-Math-7B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen2-Math-7B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen2-Math-7B-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc2028c3fd6b8acd5a428f1d6b24aadbd2d0773e400f25c8fbc2238b8886cde6
|
| 3 |
+
size 3015937888
|
Qwen2-Math-7B-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6df5736dfd4bad4114de9bc8ef1da4302c6e411b405ae611e7ee1dfa2bd5532b
|
| 3 |
+
size 4088457056
|
Qwen2-Math-7B-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ed038751c48ce30679e40c954631c4e201e8f3b01c6dee27cbeadb7f5f38bec
|
| 3 |
+
size 3808388960
|
Qwen2-Math-7B-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5b3ac9b0555d3f8b551ddcf17e54276f4b233105df167d782430aaa423cdf61
|
| 3 |
+
size 3492366176
|
Qwen2-Math-7B-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b73c0f520afc495a52b370b054416d53069f11f2f15cd1b978d193ea8cdb484
|
| 3 |
+
size 4431388512
|
Qwen2-Math-7B-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9983c7ad2e539de50312fa1a0b13ef2c9df7e05987a91cb713b50ef65e1c7e0c
|
| 3 |
+
size 4683071328
|
Qwen2-Math-7B-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71559f5599336950d64e3b8191c556d57384088808390d3e603cfb1ad4f16463
|
| 3 |
+
size 4457766752
|
Qwen2-Math-7B-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:984e78273ddf210e41d7c1bd590e71fed43eea8aa476385948d3c2851d526ace
|
| 3 |
+
size 5315174240
|
Qwen2-Math-7B-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d35061006726f0310b2150a6d3a772509176b2ab2eb33c2e25b693e2602a7141
|
| 3 |
+
size 5444829024
|
Qwen2-Math-7B-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f4c6c3133dce9c3df5b31a76e7bef76993309d82cd1170218ff1d7bc40d6354
|
| 3 |
+
size 5315174240
|
Qwen2-Math-7B-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d151ba364cdb1b30407ac20b8913e19073ca6702b08dd619112eae62894be801
|
| 3 |
+
size 6254196576
|
Qwen2-Math-7B-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e2c57f295acb27911467160baa0ab460468849834d048963c779b0662ac8762
|
| 3 |
+
size 8098522976
|
Qwen2-Math-7B-Instruct-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ca606c4c005f1e75d70648b5e7ddb19e38a3b4efd9fb5de59feaaf5051f31a9
|
| 3 |
+
size 15237850976
|