MathForm-8B
MathForm-8B is OpenBMB’s language-to-code model for translating natural-language mathematical statements into Lean 4. It fine-tunes Qwen3-8B on FormalVerse with supervised learning followed by reinforcement learning using compilation and semantic-consistency feedback. The research framework retrieves Mathlib definitions and revises generated formalizations using diagnostics, supporting more faithful mathematical translation. Apache-licensed weights, approximately 367K verified examples, and evaluation code accompany the August 14 paper. This is a named mathematical language specialization; the model is distinct from the surrounding retrieval and verification pipeline. Successful compilation alone does not establish that a formal statement preserves the intended proposition.
Specifications
- Parameters
- 8B
- Architecture
- Decoder-only Transformer
- License
- Apache-2.0
- Type
- text
- Modalities
- text
Benchmark Scores
Advanced Specifications
- Model Family
- MathForm
- Finetuned From
- Qwen3-8B
- API Access
- Not Available
- Chat Interface
- Not Available
Capabilities & Limitations
- Capabilities
- mathematical autoformalizationLean code generationformal reasoning
- Known Limitations
- Lean syntax success does not guarantee semantic equivalenceDepends on compatible Mathlib knowledge and compiler toolingSpecialized formalization behavior may not generalize to broad dialogue
- Notable Use Cases
- mathematical formalization researchLean statement translationverification-guided code generation