Downloads · 30 days
7
18% of all-time downloads
vincentoh/kimina-prover-rrma-sft
kimina-prover-rrma-sft is a machine learning model from vincentoh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter fine-tuned on 336 successful Lean 4 proof search traces from the RRMA multi-agent harness.
Downloads · 30 days
7
18% of all-time downloads
All-time downloads
40
Public
Repo size
173 MB
Likes
0
Public
Click a slice to open those files.
.safetensors162 MB · 91%
From the Hugging Face model README
LoRA adapter fine-tuned on 336 successful Lean 4 proof search traces from the RRMA multi-agent harness.
AI-MO/Kimina-Prover-Preview-Distill-7B
The edit→compile→diagnose→fix loop for Lean 4 proof search on Erdős #741(ii) and #125, all traces verified by hard Lean compiler reward (0/1).
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
import torch
bnb = BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_compute_dtype=torch.bfloat16)
base = AutoModelForCausalLM.from_pretrained(
"AI-MO/Kimina-Prover-Preview-Distill-7B",
quantization_config=bnb, device_map="auto"
)
model = PeftModel.from_pretrained(base, "vincentoh/kimina-prover-rrma-sft")
tokenizer = AutoTokenizer.from_pretrained("vincentoh/kimina-prover-rrma-sft")