Instructions to use 56m/MathQwen_2 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 56m/MathQwen_2 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 56m/MathQwen_2 # Run inference directly in the terminal: llama cli -hf 56m/MathQwen_2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf 56m/MathQwen_2 # Run inference directly in the terminal: llama cli -hf 56m/MathQwen_2
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf 56m/MathQwen_2 # Run inference directly in the terminal: ./build/bin/llama cli -hf 56m/MathQwen_2
Use Docker
docker model run hf.co/56m/MathQwen_2
- Llama new
- LM Studio
- Jan
- Ollama
How to use 56m/MathQwen_2 with Ollama:
ollama run hf.co/56m/MathQwen_2
- Unsloth Desktop
- Docker Model Runner
How to use 56m/MathQwen_2 with Docker Model Runner:
docker model run hf.co/56m/MathQwen_2
- Lemonade
How to use 56m/MathQwen_2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull 56m/MathQwen_2
Run and chat with the model
lemonade run user.MathQwen_2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download preprocessor_config.json from 56m/MathQwen_2: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/56m/MathQwen_2/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://56m/MathQwen_2/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/56m/MathQwen_2/resolve/main/preprocessor_config.json
390 Bytes
| { | |
| "size": { | |
| "longest_edge": 16777216, | |
| "shortest_edge": 65536 | |
| }, | |
| "patch_size": 16, | |
| "temporal_patch_size": 2, | |
| "merge_size": 2, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "processor_class": "Qwen3VLProcessor", | |
| "image_processor_type": "Qwen2VLImageProcessorFast" | |
| } |