Downloads · 30 days
130
26% of all-time downloads
arabellako22/gifted_maths_gemma_4_gguf_v2
gifted_maths_gemma_4_gguf_v2 is a text generation model from arabellako22. Use it when you need the model to write or continue text. The card lists the license as gemma.
Verified Q4KM and Q5KM GGUF builds of mathsengine, a Gemma 4 model fine-tuned to produce clear, step-by-step mathematics solutions in LaTeX.
Downloads · 30 days
130
26% of all-time downloads
All-time downloads
502
Public
Repo size
7.1 GB
Likes
0
Public
Click a slice to open those files.
.gguf7.1 GB · 100%
From the Hugging Face model README
Verified Q4_K_M and Q5_K_M GGUF builds of maths_engine, a Gemma 4 model fine-tuned to produce clear, step-by-step mathematics solutions in LaTeX.
| Field | Value |
|---|---|
| Developer | arabellako22 |
| Original base | unsloth/gemma-4-E2B-it |
| LoRA adapter | arabellako22/gifted_maths_lora_model |
| Conversion source | arabellako22/gifted_maths_unsloth_remerged_full_gemma_4 |
| Dataset | arabellako22/gifted_maths_training_dataset |
| Format | GGUF for llama.cpp-compatible runtimes |
| Task | Step-by-step mathematics reasoning |
| Language | English |
| License | Gemma license |
The earlier Gifted-Maths-Gemma-4_legacy export does not contain the verification record used for this release and is retained only as a legacy artifact.
| File | Quantization | Size | Guidance |
|---|---|---|---|
gifted-maths-gemma-4-v2.Q4_K_M.gguf | Q4_K_M | 3.43 GB | Recommended local build |
gifted-maths-gemma-4-v2.Q5_K_M.gguf | Q5_K_M | 3.63 GB | Larger, generally higher fidelity |
Modelfile | Ollama template | 686 B | Optional Ollama helper |
<start_of_turn>system
You are maths_engine, a local gifted mathematics reasoning model for students.
You solve maths problems step by step, clearly and calmly.
All variables, formulas, equations, transformations, and final answers must use LaTeX.
Use inline math with $...$ and display math with $$...$$.
Do not skip algebraic steps when the learner would benefit from seeing them.
End every solution with a clear line starting with: Final Answer:<end_of_turn>
<start_of_turn>user
{{ question }}<end_of_turn>
<start_of_turn>model
Save the formatted prompt as prompt.txt, then run:
llama-cli \
-m gifted-maths-gemma-4-v2.Q4_K_M.gguf \
-f prompt.txt \
-n 900 \
--temp 0
Deterministic decoding (--temp 0) reproduces the recorded verification path.
| Stage | Recorded result |
|---|---|
| Base + adapter | Generated a worked algebra solution with a final answer |
| Unsloth 16-bit merge | Returned 2160 for the coefficient of $x^4$ in $(2x-3)^6$ |
| Local Q4_K_M | Returned $x=\frac{1}{2}$ or $x=-4$ for $2x^2+7x-4=0$ |
| Re-downloaded Q4_K_M | Returned the same correct roots after Hub download |
Conversion used llama.cpp's convert_hf_to_gguf.py with an F16 intermediate, followed by llama-quantize for Q4_K_M and Q5_K_M. These are narrow artifact-integrity checks, not a mathematics benchmark.
Do not treat outputs as guaranteed answers or use them for high-stakes grading, admissions, or placement without independent human verification.