Instructions to use prototypeguru/math-solution-models 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 prototypeguru/math-solution-models 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 prototypeguru/math-solution-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf prototypeguru/math-solution-models:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prototypeguru/math-solution-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf prototypeguru/math-solution-models:Q4_K_M
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 prototypeguru/math-solution-models:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf prototypeguru/math-solution-models:Q4_K_M
Use Docker
docker model run hf.co/prototypeguru/math-solution-models:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use prototypeguru/math-solution-models with Ollama:
ollama run hf.co/prototypeguru/math-solution-models:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use prototypeguru/math-solution-models with Docker Model Runner:
docker model run hf.co/prototypeguru/math-solution-models:Q4_K_M
- Lemonade
How to use prototypeguru/math-solution-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prototypeguru/math-solution-models:Q4_K_M
Run and chat with the model
lemonade run user.math-solution-models-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Add Question Reader (UniMERNet-small INT8 ONNX) and AI Solver (DeepSeek-R1-Distill-Qwen-1.5B Q4_K_M) v1.0.0
f9c763a verified Download unimernet-small-int8/preprocess.json from prototypeguru/math-solution-models: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/prototypeguru/math-solution-models/resolve/main/unimernet-small-int8/preprocess.json
- Command line
-
hf download hf://prototypeguru/math-solution-models/unimernet-small-int8/preprocess.json
-
curl -L -o preprocess.json https://huggingface.co/prototypeguru/math-solution-models/resolve/main/unimernet-small-int8/preprocess.json
537 Bytes
| { | |
| "input": [ | |
| 1, | |
| 1, | |
| 192, | |
| 672 | |
| ], | |
| "grayscale": true, | |
| "crop_margin": true, | |
| "resize_short_side_to": 192, | |
| "fit_within_wh": [ | |
| 672, | |
| 192 | |
| ], | |
| "pad": "center, black (0)", | |
| "normalize": { | |
| "mean": 0.7931, | |
| "std": 0.1738, | |
| "pixel_scale": "1/255" | |
| }, | |
| "bos_token_id": 0, | |
| "eos_token_id": 2, | |
| "max_new_tokens": 1536, | |
| "layers": 8, | |
| "heads": 16, | |
| "dk": 24, | |
| "dv": 48, | |
| "encoder_seq": 126, | |
| "cache_layout": "[layers, batch, heads, seq, head_dim]; first step seq=0" | |
| } |