AI-MO / Kimina-Autoformalizer-7B

huggingface.co
Total runs: 620
24-hour runs: 1
7-day runs: 12
30-day runs: 60
Model's Last Updated: April 16 2025
text-generation

Introduction of Kimina-Autoformalizer-7B

Model Details of Kimina-Autoformalizer-7B

Kimina-Autoformalizer-7B

image/png

Kimina-Autoformalizer-7B is a autoformalizer model developed by Project Numina, focusing on translating natural language descriptions of competition style problems to Lean 4 code ending with by sorry .

Quick Start with vLLM

You can easily do inference using vLLM:

from vllm import LLM, SamplingParams
from transformers import AutoTokenizer

model_name = "AI-MO/Kimina-Autoformalizer-7B"
model = LLM(model_name)

tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)

problem = "The volume of a cone is given by the formula $V = \frac{1}{3}Bh$, where $B$ is the area of the base and $h$ is the height. The area of the base of a cone is 30 square units, and its height is 6.5 units. What is the number of cubic units in its volume? The answer is 65."

prompt = "Please autoformalize the following problem in Lean 4 with a header. Use the following theorem names: my_favorite_theorem.\n\n"
prompt += problem

messages = [
    {"role": "system", "content": "You are an expert in mathematics and Lean 4."},
    {"role": "user", "content": prompt}
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

sampling_params = SamplingParams(temperature=0.6, top_p=0.95, max_tokens=2048)
output = model.generate(text, sampling_params=sampling_params)
output_text = output[0].outputs[0].text
print(output_text)

Citation

If you find our work helpful, you can cite our paper: https://github.com/MoonshotAI/Kimina-Prover-Preview

Runs of AI-MO Kimina-Autoformalizer-7B on huggingface.co

620
Total runs
1
24-hour runs
-3
3-day runs
12
7-day runs
60
30-day runs

More Information About Kimina-Autoformalizer-7B huggingface.co Model

More Kimina-Autoformalizer-7B license Visit here:

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

Kimina-Autoformalizer-7B huggingface.co

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

Kimina-Autoformalizer-7B huggingface.co Url

https://huggingface.co/AI-MO/Kimina-Autoformalizer-7B

AI-MO Kimina-Autoformalizer-7B online free

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

AI-MO Kimina-Autoformalizer-7B online free url in huggingface.co:

https://huggingface.co/AI-MO/Kimina-Autoformalizer-7B

Kimina-Autoformalizer-7B install

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

Kimina-Autoformalizer-7B install url in huggingface.co:

https://huggingface.co/AI-MO/Kimina-Autoformalizer-7B

Url of Kimina-Autoformalizer-7B

Kimina-Autoformalizer-7B huggingface.co Url

Provider of Kimina-Autoformalizer-7B huggingface.co

AI-MO
ORGANIZATIONS

Other API from AI-MO