How to use from
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
Quick Links

Math Solution App: on-device models

Model files downloaded by the Math Solution App (Android). Everything runs offline on the phone. models.json lists every pack, file, size and SHA-256 checksum.

Pack Files Size Runtime Licence
Formula Detector pix2text-mfd/ (model downloaded from the original repo, pinned) 80 MB ONNX Runtime MIT
Question Reader unimernet-small-int8/ 209 MB ONNX Runtime Apache-2.0
AI Solver deepseek-r1-distill-qwen-1.5b-q4_k_m.gguf 1117 MB llama.cpp MIT

Sources and changes

  • UniMERNet-small by OpenDataLab (GitHub, Apache-2.0). Converted from PyTorch to ONNX (encoder + KV-cached decoder) and INT8 weight-quantised. Output was verified to match the original model.
  • Pix2Text MFD 1.5 by breezedeus (Hugging Face, MIT). Not re-hosted: the app downloads it from the original repo at a pinned commit and checks its SHA-256.
  • DeepSeek-R1-Distill-Qwen-1.5B by DeepSeek (MIT), GGUF Q4_K_M quantisation, unmodified.

Full licence texts are in licenses/.

Downloads last month
69
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support