Instructions to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF", filename="Qwen2-Math-72B-Instruct.IQ1_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf MaziyarPanahi/Qwen2-Math-72B-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 MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf MaziyarPanahi/Qwen2-Math-72B-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 MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/Qwen2-Math-72B-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": "MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
- Ollama
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with Ollama:
ollama run hf.co/MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
- Unsloth Studio new
How to use MaziyarPanahi/Qwen2-Math-72B-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 MaziyarPanahi/Qwen2-Math-72B-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 MaziyarPanahi/Qwen2-Math-72B-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 MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF to start chatting
- Docker Model Runner
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MaziyarPanahi/Qwen2-Math-72B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen2-Math-72B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
[WIP] Upload folder using huggingface_hub (multi-commit bc36f5a6d5458294643f413a4b91e8bf73536948f42d55815c720b5140732c4d) (#5)
Browse files- 80c8088b1bfcc88d7602b16868837b6665720a9d365d5884109da42336ac143f (d86ee1396c6bea1f1dd286b45cbdbc45806a7b6e)
- 342c6eec3203143aa21d835eb3fa5ce6ffbd1770ec7d9fca0b3c3d799b94f29c (46ab46cde657f4714324543602147c9500bbde70)
- 55dc1329de2d8be12873d6712fa4fdd0395c26d82988d7ccf73c0dcb5e62099e (34186bd33de6e7d1250c7ff76d0944358f5d4bcc)
- 9ec3160e934f24b4e45a441c33652ca55f50525c6ee9c20a3eb4ab5b17f651ff (b14e5e7e603c0f364d2260bf54f0856b7e2ce28d)
- 653b6eda782139c0abedaceb082a99d9b01e16beabef7a88d325698be517574d (4388046160a173028844d4de5f14cac226073b65)
- bd7e60a1b6ff54cbc9b5aa3d8374074d257444bc914b9fc1f35ee27c935b6df8 (442fcfb450bfaa6e3c1f1acd6c2553718c4ed9d1)
- f84e39a07944205bb9322647bfb7e8d8ddeace8bec1a1e9d6dde57565a4f50c5 (9caad4fd15601d1edab1f622d77e0d916f7d2c55)
- f6f300e397d11910cc827c528fc0c55fe69e9753a6ccb2bf77238c2d8c86e7ff (d8b7adede0bbbfb170349368fe636a08676c3d20)
- b831a2923b2735650a8a131721e118a6f36baf1e6e7bc1d74f3e44981c973cce (6dd034987379464a11d080a6cac108123134d20a)
|
@@ -39,3 +39,6 @@ Qwen2-Math-72B-Instruct.IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 39 |
Qwen2-Math-72B-Instruct.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
Qwen2-Math-72B-Instruct.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
Qwen2-Math-72B-Instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
Qwen2-Math-72B-Instruct.IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
Qwen2-Math-72B-Instruct.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
Qwen2-Math-72B-Instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2-Math-72B-Instruct.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2-Math-72B-Instruct.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2-Math-72B-Instruct.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6e8112dcf99a31aab1de054b8c97eaf19f48fd73330db024e8394dfe43da293
|
| 3 |
+
size 39505222848
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b32b95b89b2c914e9a672fe440b4664403fa97f9e36a375db3fde23667373c2
|
| 3 |
+
size 37698723008
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3210e05753e279e16ee62a43e8883221694d36ce7aea8b47a6d03a85761bb0de
|
| 3 |
+
size 34487786688
|