Run this model with HF Jobs
Run PrincetonPLI/Goedel-Prover-V3-FP8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/PrincetonPLI/Goedel-Prover-V3-FP8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PrincetonPLI/Goedel-Prover-V3-FP8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/PrincetonPLI/Goedel-Prover-V3-FP8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use PrincetonPLI/Goedel-Prover-V3-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PrincetonPLI/Goedel-Prover-V3-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PrincetonPLI/Goedel-Prover-V3-FP8") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("PrincetonPLI/Goedel-Prover-V3-FP8") model = AutoModelForMultimodalLM.from_pretrained("PrincetonPLI/Goedel-Prover-V3-FP8", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use PrincetonPLI/Goedel-Prover-V3-FP8 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PrincetonPLI/Goedel-Prover-V3-FP8" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PrincetonPLI/Goedel-Prover-V3-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/PrincetonPLI/Goedel-Prover-V3-FP8
- SGLang
How to use PrincetonPLI/Goedel-Prover-V3-FP8 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "PrincetonPLI/Goedel-Prover-V3-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PrincetonPLI/Goedel-Prover-V3-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "PrincetonPLI/Goedel-Prover-V3-FP8" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PrincetonPLI/Goedel-Prover-V3-FP8", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use PrincetonPLI/Goedel-Prover-V3-FP8 with Docker Model Runner:
docker model run hf.co/PrincetonPLI/Goedel-Prover-V3-FP8
Goedel-Prover-V3-FP8
Website · Code · bf16 model · Training data
The FP8 version of Goedel-Prover-V3, a 27B Lean 4 theorem-proving agent fine-tuned from Qwen3.8-27B. Its weights take about 28 GiB, half of the bf16 model, so it can be served on a single 80 GB GPU for local proof development. See the bf16 model card for the model, its training, the agent interface it expects and the bf16 results.
Quantization
Data-free, block-wise FP8 (e4m3) in the format of Qwen's own FP8 releases, which vLLM loads with
its fp8 method (quantization_config in config.json):
- Quantized: the language model's linear projections (full-attention
q/k/v/o_proj, Gated DeltaNetin_proj_qkv,in_proj_zandout_proj, MLPgate/up/down_proj), with one float32 scale per 128×128 weight block (weight_scale_inv). - Kept in bf16: embeddings,
lm_head, norms, the Gated DeltaNetconv1d,A_log,dt_bias,in_proj_aandin_proj_b, and the vision encoder (modules_to_not_convert), the same modules Qwen's FP8 release keeps unquantized. - Activations are quantized dynamically by the server, per token and 128-channel group.
- The tokenizer, chat template and generation config are those of the bf16 model.
Usage
The code repository runs the model in its
agent harness; point MODEL_PATH at a download of this repository and set TP_SIZE to the
number of GPUs per server.
.venv/bin/hf download PrincetonPLI/Goedel-Prover-V3-FP8 --local-dir models/Goedel-Prover-V3-FP8
MODEL_PATH=models/Goedel-Prover-V3-FP8 TP_SIZE=1 MANIFEST=<manifest.json> bash scripts/run_local.sh
Serving on one GPU with vLLM (tested with vLLM 0.19.0 on H100):
vllm serve PrincetonPLI/Goedel-Prover-V3-FP8 \
--served-model-name Goedel-Prover-V3 \
--tensor-parallel-size 1 \
--max-model-len 262144 \
--gpu-memory-utilization 0.93 \
--enable-prefix-caching \
--gdn-prefill-backend triton \
--enable-auto-tool-choice --tool-call-parser qwen3_coder \
--reasoning-parser qwen3
Sampling: temperature 0.7 and 32,768 tokens per reply (top-p 0.95 and top-k 20 from
generation_config.json); one bash tool; send the reasoning field back with each assistant
turn.
License
Apache License 2.0.
Citation
@misc{park2026GoedelProverV3,
title = {Goedel-Prover-V3: A Frontier Lean Agent for Research-level Mathematics on a Single GPU},
author = {Simon Park and Tomas Ortega and Rodrigo Porto and Jui-Hui Chung and Yoonsang Lee and Yikai Wu and Qishuo Yin and Ayush Khaitan and Alex Kontorovich and Sanjeev Arora and Danqi Chen and Liam Fowl},
year = {2026},
url = {https://princeton-pli.github.io/Goedel-Prover-V3},
}
@article{ortega2026miniLeanagent,
title = {Do Theorem Provers Need Theorem-Proving Agents? mini-Lean-agent: A Coding-Agent Baseline for Lean},
author = {Tomas Ortega and Simon Park and Ayush Khaitan and Liam Fowl and Alex Kontorovich and Sanjeev Arora},
journal = {arXiv preprint arXiv:2610.17331},
url = {https://arxiv.org/abs/2610.17331},
}
- Downloads last month
- 7