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
Browse files- README.md +2 -0
- models.json +26 -3
- pix2text-mfd/mfd.json +11 -0
README.md
CHANGED
|
@@ -17,6 +17,7 @@ Model files downloaded by the **Math Solution App** (Android). Everything runs o
|
|
| 17 |
|
| 18 |
| Pack | Files | Size | Runtime | Licence |
|
| 19 |
|---|---|---|---|---|
|
|
|
|
| 20 |
| Question Reader | `unimernet-small-int8/` | 209 MB | ONNX Runtime | Apache-2.0 |
|
| 21 |
| AI Solver | `deepseek-r1-distill-qwen-1.5b-q4_k_m.gguf` | 1117 MB | llama.cpp | MIT |
|
| 22 |
|
|
@@ -24,6 +25,7 @@ Model files downloaded by the **Math Solution App** (Android). Everything runs o
|
|
| 24 |
- **UniMERNet-small** by OpenDataLab ([GitHub](https://github.com/opendatalab/unimernet), Apache-2.0).
|
| 25 |
Converted from PyTorch to ONNX (encoder + KV-cached decoder) and INT8 weight-quantised.
|
| 26 |
Output was verified to match the original model.
|
|
|
|
| 27 |
- **DeepSeek-R1-Distill-Qwen-1.5B** by DeepSeek (MIT), GGUF Q4_K_M quantisation, unmodified.
|
| 28 |
|
| 29 |
Full licence texts are in `licenses/`.
|
|
|
|
| 17 |
|
| 18 |
| Pack | Files | Size | Runtime | Licence |
|
| 19 |
|---|---|---|---|---|
|
| 20 |
+
| Formula Detector | `pix2text-mfd/` (model downloaded from the original repo, pinned) | 80 MB | ONNX Runtime | MIT |
|
| 21 |
| Question Reader | `unimernet-small-int8/` | 209 MB | ONNX Runtime | Apache-2.0 |
|
| 22 |
| AI Solver | `deepseek-r1-distill-qwen-1.5b-q4_k_m.gguf` | 1117 MB | llama.cpp | MIT |
|
| 23 |
|
|
|
|
| 25 |
- **UniMERNet-small** by OpenDataLab ([GitHub](https://github.com/opendatalab/unimernet), Apache-2.0).
|
| 26 |
Converted from PyTorch to ONNX (encoder + KV-cached decoder) and INT8 weight-quantised.
|
| 27 |
Output was verified to match the original model.
|
| 28 |
+
- **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.
|
| 29 |
- **DeepSeek-R1-Distill-Qwen-1.5B** by DeepSeek (MIT), GGUF Q4_K_M quantisation, unmodified.
|
| 30 |
|
| 31 |
Full licence texts are in `licenses/`.
|
models.json
CHANGED
|
@@ -1,12 +1,35 @@
|
|
| 1 |
{
|
| 2 |
"schema": 1,
|
| 3 |
-
"updated": "2026-11-
|
| 4 |
"packs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
{
|
| 6 |
"id": "reader",
|
| 7 |
"name": "Question Reader",
|
| 8 |
"version": "1.0.0",
|
| 9 |
-
"order":
|
| 10 |
"required": true,
|
| 11 |
"description": "Reads math formulas from your photo",
|
| 12 |
"engine": "onnxruntime",
|
|
@@ -38,7 +61,7 @@
|
|
| 38 |
"id": "solver",
|
| 39 |
"name": "AI Solver",
|
| 40 |
"version": "1.0.0",
|
| 41 |
-
"order":
|
| 42 |
"required": true,
|
| 43 |
"description": "Solves and explains questions step by step",
|
| 44 |
"engine": "llama.cpp",
|
|
|
|
| 1 |
{
|
| 2 |
"schema": 1,
|
| 3 |
+
"updated": "2026-11-20",
|
| 4 |
"packs": [
|
| 5 |
+
{
|
| 6 |
+
"id": "detector",
|
| 7 |
+
"name": "Formula Detector",
|
| 8 |
+
"version": "1.0.0",
|
| 9 |
+
"order": 1,
|
| 10 |
+
"required": true,
|
| 11 |
+
"description": "Finds the formulas in your photo",
|
| 12 |
+
"engine": "onnxruntime",
|
| 13 |
+
"license": "MIT",
|
| 14 |
+
"files": [
|
| 15 |
+
{
|
| 16 |
+
"path": "pix2text-mfd/pix2text-mfd-1.5.onnx",
|
| 17 |
+
"size": 80311115,
|
| 18 |
+
"sha256": "40d4fc852d99bcbf25a9478897d2f49fbbb8f7fdd6569c088cd1c31386293bd7",
|
| 19 |
+
"url": "https://huggingface.co/breezedeus/pix2text-mfd-1.5/resolve/f470a885e0fca1d3d2bfa2a54991db7ae01f1861/pix2text-mfd-1.5.onnx"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"path": "pix2text-mfd/mfd.json",
|
| 23 |
+
"size": 215,
|
| 24 |
+
"sha256": "409812f892f26123f723d7afdc63ea5d9dfa34ee01a817736e5f19f5468ddde8"
|
| 25 |
+
}
|
| 26 |
+
]
|
| 27 |
+
},
|
| 28 |
{
|
| 29 |
"id": "reader",
|
| 30 |
"name": "Question Reader",
|
| 31 |
"version": "1.0.0",
|
| 32 |
+
"order": 2,
|
| 33 |
"required": true,
|
| 34 |
"description": "Reads math formulas from your photo",
|
| 35 |
"engine": "onnxruntime",
|
|
|
|
| 61 |
"id": "solver",
|
| 62 |
"name": "AI Solver",
|
| 63 |
"version": "1.0.0",
|
| 64 |
+
"order": 3,
|
| 65 |
"required": true,
|
| 66 |
"description": "Solves and explains questions step by step",
|
| 67 |
"engine": "llama.cpp",
|
pix2text-mfd/mfd.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"imgsz": 768,
|
| 3 |
+
"conf": 0.25,
|
| 4 |
+
"iou": 0.45,
|
| 5 |
+
"classes": [
|
| 6 |
+
"embedding",
|
| 7 |
+
"isolated"
|
| 8 |
+
],
|
| 9 |
+
"source": "breezedeus/pix2text-mfd-1.5@f470a885e0fca1d3d2bfa2a54991db7ae01f1861",
|
| 10 |
+
"license": "MIT"
|
| 11 |
+
}
|