CoolFace
Modelpublic

tinyopsec/Pythagoras-Prover-4B-GGUF

sourceHugging Faceapache-2.0updated 13d agoView on Hugging Face
1likes2.3kdownloads
Model Card

Pythagoras-Prover-4B GGUF

GGUF quantizations of Pythagoras-LM/Pythagoras-Prover-4B — a 4B model specialized in mathematical reasoning and formal theorem proving.

Quantized by tinyopsec.


Quantization Table

FileBitsSizeUse Case
model_f16.gguf16~8.8 GBFull precision, reference
model_q8_0.gguf8~4.7 GBMax quality, fits in 6GB VRAM
model_q6_k.gguf6~3.6 GBNear-lossless, recommended
model_q5_k_m.gguf5~3.1 GBBalanced quality/size
model_q5_k_s.gguf5~3.0 GBSlightly smaller than K_M
model_q4_k_m.gguf4~2.5 GBGood quality, popular choice
model_q4_k_s.gguf4~2.4 GBSmaller footprint
model_q3_k_l.gguf3~2.1 GBLow VRAM, acceptable quality
model_q3_k_m.gguf3~2.0 GBLow VRAM
model_q3_k_s.gguf3~1.9 GBMinimum recommended
model_q2_k.gguf2~1.5 GBExtreme compression, lossy

VRAM Requirements

QuantMin VRAMRecommended
F1610 GB12 GB+
Q8_06 GB8 GB
Q6_K5 GB6 GB
Q5KM / Q5KS4 GB5 GB
Q4KM / Q4KS4 GB4 GB
Q3K*3 GB4 GB
Q2_K3 GB3 GB

Usage

llama.cpp

bash
./llama-cli \
  -m model_q4_k_m.gguf \
  -p "Prove that there are infinitely many prime numbers." \
  -n 512 \
  --temp 0.7

llama-cpp-python

python
from llama_cpp import Llama

llm = Llama(
    model_path="model_q4_k_m.gguf",
    n_ctx=4096,
    n_gpu_layers=-1,
)

response = llm(
    "Prove that sqrt(2) is irrational.",
    max_tokens=512,
    temperature=0.7,
)
print(response["choices"][0]["text"])

LM Studio

  1. 1.Download any .gguf file from this repo
  2. 2.Open LM Studio → Load Model → select the file
  3. 3.Start chatting

Ollama

bash
ollama run hf.co/tinyopsec/Pythagoras-Prover-4B-GGUF:Q4_K_M

Recommended Quant

Q4_K_M — best balance of quality and size for most hardware. Q6_K — if you have 6GB+ VRAM and want near-lossless math reasoning.


Original Model