Instructions to use second-state/Qwen2-Math-1.5B-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-1.5B-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-1.5B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Qwen2-Math-1.5B-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-1.5B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/Qwen2-Math-1.5B-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-1.5B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/Qwen2-Math-1.5B-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-1.5B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/Qwen2-Math-1.5B-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-1.5B-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-1.5B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
- Ollama
How to use second-state/Qwen2-Math-1.5B-Instruct-GGUF with Ollama:
ollama run hf.co/second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use second-state/Qwen2-Math-1.5B-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-1.5B-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-1.5B-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-1.5B-Instruct-GGUF to start chatting
- Docker Model Runner
How to use second-state/Qwen2-Math-1.5B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use second-state/Qwen2-Math-1.5B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/Qwen2-Math-1.5B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2-Math-1.5B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- .gitattributes +13 -0
- Qwen2-Math-1.5B-Instruct-Q2_K.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q4_0.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q5_0.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q6_K.gguf +3 -0
- Qwen2-Math-1.5B-Instruct-Q8_0.gguf +3 -0
- Qwen2-Math-1.5B-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-1.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen2-Math-1.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen2-Math-1.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen2-Math-1.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen2-Math-1.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen2-Math-1.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2-Math-1.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2-Math-1.5B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2-Math-1.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen2-Math-1.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen2-Math-1.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen2-Math-1.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Qwen2-Math-1.5B-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen2-Math-1.5B-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba6a2da015babe7243c120dcefc508c59f0f9990801b427cd243e2ec1790ea68
|
| 3 |
+
size 676302272
|
Qwen2-Math-1.5B-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39df0ad18560cfc386999870107953f7e6d6225b77579bd4d673d6b5d11c6bb9
|
| 3 |
+
size 880160192
|
Qwen2-Math-1.5B-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ecb466bda1e8a605939aaf7ba2b5d2bbdc9e9354ae1a517cb33317740136d4e
|
| 3 |
+
size 824176064
|
Qwen2-Math-1.5B-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a544a14a9c5ec0ee03e1e5afaa6a4ed903834c720aae89fe3259d78cad96b9d
|
| 3 |
+
size 760942016
|
Qwen2-Math-1.5B-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b943581a84298b90a5d660f997c10ebe31e68e976f8803a322983c8fbe5ffe6
|
| 3 |
+
size 934952384
|
Qwen2-Math-1.5B-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d92cac9a0d94e7f4f67b96891e5d9739e752f5342ccd40fb218efcb489b84af5
|
| 3 |
+
size 986045888
|
Qwen2-Math-1.5B-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5c6d0bc123868e649cd0af1a6754ef5ea892b900656576ef94794c852864a61
|
| 3 |
+
size 940309952
|
Qwen2-Math-1.5B-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8296eaec20764cb2701514127d465fd69a2ea43df5050efe987a74d0e4f52627
|
| 3 |
+
size 1098726848
|
Qwen2-Math-1.5B-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:000dc5c82efc2188895824325673ad387a954f7815476e39ed69a7104b8f37ec
|
| 3 |
+
size 1125047744
|
Qwen2-Math-1.5B-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:499abe4f011175a72043d172ca5357128de2852568419c15f9d7ec36a621a9a5
|
| 3 |
+
size 1098726848
|
Qwen2-Math-1.5B-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90e427084ad633f55039b59bf7cfddaa6f6d5f29f98f3284908f0e8b7c53e713
|
| 3 |
+
size 1272737216
|
Qwen2-Math-1.5B-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a7976a9f511af9dc5717f2eda9b2257391e8e4b166e89ce0dcbe7557aad4119
|
| 3 |
+
size 1646570432
|
Qwen2-Math-1.5B-Instruct-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:774ffb823daee1a63db402ee3d2fff05fae92efbd111d9c44824059e2b7aa653
|
| 3 |
+
size 3093666752
|