ByteDance-Seed / BFS-Prover-V2-32B

huggingface.co
Total runs: 143
24-hour runs: 2
7-day runs: 19
30-day runs: 61
Model's Last Updated: Tháng Mười 10 2025
text-generation

Introduction of BFS-Prover-V2-32B

Model Details of BFS-Prover-V2-32B

🚀 BFS-Prover-V2: Scaling up Multi-Turn Off-Policy RL and Multi-Agent Tree Search for LLM Step-Provers

State-of-the-art tactic generation model in Lean4
This repository contains the latest tactic generator model checkpoint from BFS-Prover-V2, a state-of-the-art step-level theorem proving system in Lean4. While the full BFS-Prover-V2 system integrates multiple components for scalable theorem proving, we are releasing the core tactic generation model here. Given a proof state in Lean4, the model generates a tactic that transforms the current proof state into a new state, progressively working towards completing the proof.

📄 Paper: Scaling up Multi-Turn Off-Policy RL and Multi-Agent Tree Search for LLM Step-Provers

✨ Model Details
  • Base Model: Qwen2.5-32B
  • Training Approach: Multi-stage expert iteration with best-first tree search
  • Training Data Sources:
    • Mathlib (via LeanDojo)
    • Lean-Github repositories
    • Autoformalized NuminaMath datasets
📈 Performance

BFS-Prover-V2 achieves 95.08% and 41.4% on miniF2F and ProofNet test sets respectively, when integrated with the full inference system.

⚙️ Usage
  • The model expects Lean4 tactic states in the format "{state}:::"
  • ::: serves as a special indicator to signal the model to generate a tactic for the given state.
  • The model will echo back the input state followed by the generated tactic.
# Example code for loading and using the tactic generator model
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("ByteDance-Seed/BFS-Prover-V2-32B")
tokenizer = AutoTokenizer.from_pretrained("ByteDance-Seed/BFS-Prover-V2-32B")
state = "h : x = y + 2 ⊢ x - 1 = y + 1" 
sep = ":::"
prompt = state + sep  # Creates "h : x = y + 2 ⊢ x - 1 = y + 1:::"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs)
tactic = tokenizer.decode(outputs[0], skip_special_tokens=True).split(sep)[1]
print(tactic)
# Complete example:
# Input state:  "h : x = y + 2 ⊢ x - 1 = y + 1"
# Full prompt:  "h : x = y + 2 ⊢ x - 1 = y + 1:::"
# Model output: "h : x = y + 2 ⊢ x - 1 = y + 1:::simp [h]"
# Final tactic: "calc x - 1 = (y + 2) - 1 := by rw [h]
#                             _ = y + 1 := by ring"
📚 Citation

If you use this model in your research, please cite our paper:

@article{xin2025bfsproverv2,
  title={Scaling up Multi-Turn Off-Policy RL and Multi-Agent Tree Search for LLM Step-Provers},
  author={Xin, Ran and Zheng, Zeyu and Nie, Yanchen and Yuan, Kun and Xiao, Xia},
  journal={arXiv preprint arXiv:2509.06493},
  year={2025}
}
📄 License

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

📧 Contact

For questions and feedback about the tactic generator model, please contact:

Runs of ByteDance-Seed BFS-Prover-V2-32B on huggingface.co

143
Total runs
2
24-hour runs
6
3-day runs
19
7-day runs
61
30-day runs

More Information About BFS-Prover-V2-32B huggingface.co Model

More BFS-Prover-V2-32B license Visit here:

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

BFS-Prover-V2-32B huggingface.co

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

ByteDance-Seed BFS-Prover-V2-32B online free

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

ByteDance-Seed BFS-Prover-V2-32B online free url in huggingface.co:

https://huggingface.co/ByteDance-Seed/BFS-Prover-V2-32B

BFS-Prover-V2-32B install

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

BFS-Prover-V2-32B install url in huggingface.co:

https://huggingface.co/ByteDance-Seed/BFS-Prover-V2-32B

Url of BFS-Prover-V2-32B

Provider of BFS-Prover-V2-32B huggingface.co

ByteDance-Seed
ORGANIZATIONS

Other API from ByteDance-Seed

huggingface.co

Total runs: 97
Run Growth: -162
Growth Rate: -167.01%
Updated:Tháng bảy 02 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:Tháng bảy 03 2026