Downloads · 30 days
12
16% of all-time downloads
imbue2025/RWKV-7-Prover-1.5b
RWKV-7-Prover-1.5b is a machine learning model from imbue2025. 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 rwkv. The card lists the license as openrail.
RWKV-7 Prover 1.5B is a model fine-tuned on Lean 4 formal mathematical statement data using State Tuning, based on the RWKV-7-World-1.5B base model. This model is designed to enhance the understanding of Lean 4 syntax…
Downloads · 30 days
12
16% of all-time downloads
All-time downloads
73
Public
Repo size
3.1 GB
Likes
4
Public
Click a slice to open those files.
.pth3.1 GB · 100%
From the Hugging Face model README
RWKV-7 Prover 1.5B is a model fine-tuned on Lean 4 formal mathematical statement data using State Tuning, based on the RWKV-7-World-1.5B base model. This model is designed to enhance the understanding of Lean 4 syntax, specifically for the generation and completion of mathematical proposition statements.

The model was trained on a specially curated Lean dataset. Partial data synthesis was performed using Gemini-3-flash as the teacher model.
RWKVTokenizer and converted into binary .bin and .idx formats for efficient training.from rwkv.model import RWKV
from rwkv.utils import PIPELINE, PIPELINE_ARGS
# Load the model
model = RWKV(model='/path/to/rwkv7-prover-1.5b-merged.pth', strategy='cuda bf16')
pipeline = PIPELINE(model, "rwkv_vocab_v20230424")
instruction = "Translate the following mathematical statement into Lean 4:"
input_content = "There are infinitely many primes."
ctx = f"Instruction: {instruction}\n\nInput: {input_content}\n\nResponse:"
def my_print(s):
print(s, end='', flush=True)
# Generate response
pipeline.generate(ctx, token_count=200, args=PIPELINE_ARGS(
top_k=50, top_p=0.7, temperature=1.0, stop_token_ids=[0]), callback=my_print)