stepfun-ai / StepFun-Prover-Preview-7B

huggingface.co
Total runs: 126
24-hour runs: 0
7-day runs: 0
30-day runs: 63
Model's Last Updated: August 13 2025
text-generation

Introduction of StepFun-Prover-Preview-7B

Model Details of StepFun-Prover-Preview-7B

StepFun-Prover-Preview-7B

StepFun-Prover-Preview-7B is a theorem proving model developed by StepFun Team. It can iteratively refine the proof sketch via interacting with Lean4, and achieve 66.0% accuracy with Pass@1 on MiniF2F-test. Advanced usage examples can be seen in github .

Quick Start with vLLM

from vllm import LLM, SamplingParams
from transformers import AutoTokenizer

model_name = "Stepfun/Stepfun-Prover-Preview-7B"
model = LLM(
    model=model_name,
    tensor_parallel_size=4,
    )
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)

formal_problem = """
import Mathlib

theorem test_theorem (x y z : ℝ) (hx : 0 < x) (hy : 0 < y) (hz : 0 < z) :
    (x^2 - z^2) / (y + z) + (y^2 - x^2) / (z + x) + (z^2 - y^2) / (x + y) ≥ 0 := by
""".strip()

system_prompt = "You will be given an unsolved Lean 4 problem. Think carefully and work towards a solution. At any point, you may use the Lean 4 REPL to check your progress by enclosing your partial solution between <sketch> and </sketch>. The REPL feedback will be provided between <REPL> and </REPL>. Continue this process as needed until you arrive at a complete and correct solution."

user_prompt = f"```lean4\n{formal_problem}\n```"

dialog = [
  {"role": "system", "content": system_prompt},
  {"role": "user", "content": user_prompt}
] 

prompt = tokenizer.apply_chat_template(dialog, tokenize=False, add_generation_prompt=True)

sampling_params = SamplingParams(
    temperature=0.999,
    top_p=0.95,
    top_k=-1,
    max_tokens=16384,
    stop_token_ids=[151643, 151666], # <|end▁of▁sentence|>, </sketch>
    include_stop_str_in_output=True,
)

output = model.generate(prompt, sampling_params=sampling_params)
output_text = output[0].outputs[0].text
print(output_text)

Runs of stepfun-ai StepFun-Prover-Preview-7B on huggingface.co

126
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
63
30-day runs

More Information About StepFun-Prover-Preview-7B huggingface.co Model

More StepFun-Prover-Preview-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

StepFun-Prover-Preview-7B huggingface.co

StepFun-Prover-Preview-7B huggingface.co is an AI model on huggingface.co that provides StepFun-Prover-Preview-7B's model effect (), which can be used instantly with this stepfun-ai StepFun-Prover-Preview-7B model. huggingface.co supports a free trial of the StepFun-Prover-Preview-7B model, and also provides paid use of the StepFun-Prover-Preview-7B. Support call StepFun-Prover-Preview-7B model through api, including Node.js, Python, http.

StepFun-Prover-Preview-7B huggingface.co Url

https://huggingface.co/stepfun-ai/StepFun-Prover-Preview-7B

stepfun-ai StepFun-Prover-Preview-7B online free

StepFun-Prover-Preview-7B huggingface.co is an online trial and call api platform, which integrates StepFun-Prover-Preview-7B's modeling effects, including api services, and provides a free online trial of StepFun-Prover-Preview-7B, you can try StepFun-Prover-Preview-7B online for free by clicking the link below.

stepfun-ai StepFun-Prover-Preview-7B online free url in huggingface.co:

https://huggingface.co/stepfun-ai/StepFun-Prover-Preview-7B

StepFun-Prover-Preview-7B install

StepFun-Prover-Preview-7B is an open source model from GitHub that offers a free installation service, and any user can find StepFun-Prover-Preview-7B on GitHub to install. At the same time, huggingface.co provides the effect of StepFun-Prover-Preview-7B install, users can directly use StepFun-Prover-Preview-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

StepFun-Prover-Preview-7B install url in huggingface.co:

https://huggingface.co/stepfun-ai/StepFun-Prover-Preview-7B

Url of StepFun-Prover-Preview-7B

StepFun-Prover-Preview-7B huggingface.co Url

Provider of StepFun-Prover-Preview-7B huggingface.co

stepfun-ai
ORGANIZATIONS

Other API from stepfun-ai

huggingface.co

Total runs: 648.2K
Run Growth: -31.3K
Growth Rate: -4.83%
Updated:February 04 2025
huggingface.co

Total runs: 41.7K
Run Growth: 0
Growth Rate: 0.00%
Updated:January 29 2026
huggingface.co

Total runs: 4.2K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 02 2025
huggingface.co

Total runs: 83
Run Growth: -209
Growth Rate: -251.81%
Updated:January 14 2026