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 Formula Detector pack (Pix2Text MFD 1.5, pinned original download) - models.json
67286f3 verified |
Download README.md from prototypeguru/math-solution-models: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/prototypeguru/math-solution-models/resolve/main/README.md
- Command line
-
hf download hf://prototypeguru/math-solution-models/README.md
-
curl -L -o README.md https://huggingface.co/prototypeguru/math-solution-models/resolve/main/README.md
1.43 kB
| license: other | |
| license_name: mixed-mit-apache-2.0 | |
| license_link: https://huggingface.co/prototypeguru/math-solution-models/tree/main/licenses | |
| tags: | |
| - onnx | |
| - gguf | |
| - math | |
| - formula-recognition | |
| - on-device | |
| # 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](https://github.com/opendatalab/unimernet), 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](https://huggingface.co/breezedeus/pix2text-mfd-1.5), 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/`. | |