/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
7,6 млрд
Размер весов
16,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Goedel-Prover-V2-8B
Библиотека
transformers
Опубликована
27 окт 2026

Goedel-Prover-V2-8B-EI-campaign1-r2

Генерация текстаТекст → текст3 профессии
694скачиваний за 30 дней0лайковвеса обновлены4 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Экспериментальная модель на базе Goedel-Prover-V2-8B для генерации формальных доказательств на Lean 4, опубликованная как отрицательный результат без измеримого улучшения относительно базы.

Goedel-Prover-V2-8B-EI-campaign1-r2 — экспериментальная версия языковой модели Qwen3, опубликованная как второй раунд экспертной итерации на базе Goedel-Prover-V2-8B. Она генерирует целые формальные доказательства на Lean 4 и предназначена для исследований экспертной итерации и самодистилляции, а также для сравнения с базовой моделью. Модель содержит около 7,6 млрд параметров по метаданным и поддерживает контекст до 40 960 токенов; веса представлены в формате safetensors.

В оценке miniF2F-valid модель решила 187 из 226 задач при восьми попытках против 188 у базовой модели; авторы не обнаружили измеримого улучшения и не рекомендуют этот чекпойнт как замену базе. Модель дообучена с LoRA, а затем опубликована с полными bf16-весами. Она рассчитана на Lean 4 и закреплённые версии Lean и Mathlib: доказательства для других версий могут перестать компилироваться. Результат требует проверки ядром Lean. Лицензия — Apache-2.0.

Сценарии применения

  • генерация формальных доказательств на Lean 4
  • эксперименты с экспертной итерацией для автоматического доказательства теорем
  • сравнение чекпойнтов генерации доказательств с базовой Goedel-Prover-V2-8B

Ограничения

Не показала измеримого улучшения относительно базовой модели; оценка ограничена одним запуском и miniF2F-valid, без ряда других бенчмарков. Выводы нужно повторно проверять ядром Lean, а совместимость доказательств зависит от версий Lean и Mathlib.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Goedel-Prover-V2-8B-EI-campaign1-r2

Round 2 of a 3-round expert-iteration campaign on Goedel-Prover-V2-8B. Verdict: no measurable change from the base model (miniF2F-valid solved@8 is 187/226 for this model and 188/226 for the base; exact McNemar p = 1.0). The campaign's stop rule picked round 1, not this round. This repo is published as a documented negative result, not as a recommended checkpoint. If you want the prover, use Goedel-LM/Goedel-Prover-V2-8B.

Every number on this card comes from a local run artefact. evidence.json (kept next to this card in the publishing workspace) maps each number to its file and field. Where something was never measured, the card says not measured.


1. TL;DR product sheet

What it isAn 8.19B-parameter Lean 4 whole-proof generator (Qwen3 architecture). Full bf16 weights; no adapter needed at inference.
BaseGoedel-LM/Goedel-Prover-V2-8B @ dfd02e6271a58375dfbf3ece0175277cf6b6a89a (Apache-2.0)
Input model for this roundThe campaign round-1 model (campaign-r1, published as viai957/Goedel-Prover-V2-8B-EI-campaign1-r1)
MethodExpert iteration, round 2: sample 8 proofs for each of 300 statements, check them with the Lean 4 kernel, keep up to 4 of the shortest verified proofs per statement, run LoRA SFT (r=64, α=128, 2 epochs), merge the adapter into bf16 weights, then average the weights with the original base (fine-tuned weight 0.7).
Training data374 self-generated, kernel-verified proofs of 120 statements. 1,377,760 completion tokens plus 97,007 prompt tokens. The statements come from 5 open datasets.
Compute4× NVIDIA L4 (24 GB, sm_89), one node. Round wall-clock: 10.8 h in total (generation + verification 6.07 h, SFT 0.55 h, export + average 0.10 h, eval 4.07 h).
Headline resultminiF2F-valid, n=8, cap 30k: pass@1 71.1% [95% CI 66.0, 76.2], pass@8 82.7% (187/226). Untrained base under the same protocol: 71.8% / 83.2% (188/226).
StatusNot chosen by the stop rule (best round = 1; the campaign stopped after round 3 on regression). No held-out test number exists.

2. Model details and mechanism

fieldvalue
ArchitectureQwen3ForCausalLM: 36 layers, hidden size 4096, intermediate size 12288, 32 query heads / 8 KV heads (GQA), head_dim 128, RoPE θ = 1e6, max positions 40,960, vocabulary 151,936, untied embeddings
Parameters8,190,735,360 (stored as bf16, 17 safetensors shards, 16.38 GB)
Trainable during SFTLoRA on q/k/v/o/gate/up/down projections in all 36 blocks (252 matrices). 174.6M parameters (4 ranks × 43.65M shard-local elements), about 2.1% of the model
Tokenizer / chat templateUnchanged from the base
Output formatNatural-language proof plan, then a ```lean4 block containing the complete theorem and proof

2.1 How this checkpoint was produced (one expert-iteration round)

flowchart LR
    P[("Decontaminated pool<br/>5,940 Lean statements")] --> S["select_by_band<br/>in-band (0,0.75] then unmeasured<br/>→ 300 statements"]
    M1["round-1 model (campaign-r1)"] --> G
    S --> G["vLLM sampling<br/>n=8, T=1.0, top-p 0.95<br/>cap 16,384 tok → 2,400 proofs"]
    G --> V{"Lean 4 kernel<br/>v4.9.0-rc1 + Mathlib d1d1e4b7<br/>180 s, axiom whitelist"}
    V -->|852 accepted| F["filter<br/>drop 8/8 statements (45), unfaithful (2)<br/>keep ≤4 shortest / statement"]
    F --> D[("SFT set<br/>374 rows · 120 statements")]
    D --> T["LoRA SFT on round-1 model<br/>r=64 α=128, lr 2e-5, 2 epochs<br/>24 optimizer steps"]
    T --> X["merge adapter → bf16 export<br/>(88.7% of delta elements round to 0)"]
    X --> A["weight average<br/>θ = 0.3·θ_base + 0.7·θ_export"]
    B0["θ_base (original Goedel-8B)"] --> A
    A --> R2["THIS MODEL (round 2)"]
    R2 --> E["eval: miniF2F-valid<br/>n=8, cap 30k"]
    E --> SR{"stop rule<br/>min_gain 2, patience 2,<br/>max_regress 3"}
    SR -->|continue| N["round 3"]

3. Training data

3.1 Statement sources and licences

The training targets are proofs the model wrote itself and the Lean kernel accepted. No upstream proof text was trained on. Upstream datasets supply only the theorem statements (and their informal problem text in the prompt docstring). The statements were streamed through the mirror viai957/lean-prover-data.

sourcehub id @ revisionlicencestatements selected (of 300)SFT rows (of 374)
Goedel-Pset-v1Goedel-LM/Goedel-Pset-v1 @ 79fc4fbeMIT132251
NuminaMath-LEAN-Soliiis-lean/NuminaMath-LEAN-Sol @ d2052841Apache-2.05854
Nemotron-Math-Proofs-v1nvidia/Nemotron-Math-Proofs-v1 @ 97229c59CC-BY-SA-4.04830
FormalMATH-AllSphereLab/FormalMATH-All @ 8eea2550MIT3214
RL-Goedel-Pset-Level-4-5HangHor/RL-Goedel-Pset-Level-4-5 @ 0c588300MIT3025

Share-alike notice: some training statements come from nvidia/Nemotron-Math-Proofs-v1 by NVIDIA, licensed CC-BY-SA-4.0. Any dataset released from these rows must carry CC-BY-SA-4.0.

3.2 Filtering funnel (round 2)

Round-2 data funnel, per-statement success and source mix Figure 1. Left: the round-2 data funnel (log scale): pool 5,940, selected 300, generations 2,400, kernel-accepted 852, after filters (8/8 statements and unfaithful samples removed) 490, SFT rows 374. Middle: number of verified proofs out of 8 samples per selected statement, from the round-1 model at a 16,384-token cap. 135 statements had 0/8 and 45 had 8/8 (the 8/8 statements were excluded as "too easy"). Right: SFT rows by statement source. Sources: round_02/round_manifest.json, round_02/gen/ver_r0.jsonl, round_02/sft_data/manifest.json.

stagecountnote
Pool5,940From 6,000 streamed rows: 57 dropped for informal-text overlap with protected sets, 3 duplicates
Selected300107 in-band (0 < p̂ ≤ 0.75) + 193 not yet measured. 0 never-solved statements were selected: 542 never-solved statements were eligible; the max_zero cap kept 60 and dropped 482 (unsolved_over_cap), and those 60 were then pushed out by the 300 cap, because in-band (107) and unmeasured (193) statements fill all 300 slots first (round_01/pass_rates.json, round_02/select/selection.json)
Generations2,400300 × 8 samples
Kernel-accepted852 (35.5%)Rejections: compile_error 1,156, no_code 250, timeout 107, memory 23, banned 12
Candidates after filters490Minus 360 samples from the 45 statements solved 8/8, minus 2 flagged statement_not_faithful
SFT rows374Up to 4 shortest per statement. 116 not selected (over the cap, or duplicates). 120 statements have rows

Per-row completion length: mean 3,684 tokens, median 3,160, min 487, max 16,037 (Figure 2).

SFT target lengths Figure 2. Completion length of the 374 SFT targets. The SFT selection keys (round_02/sft_data/selection.jsonl) are joined with trajectory.completion_tokens in round_02/gen/gen_r0.jsonl. The lengths sum to 1,377,760 tokens, which equals the manifest's train_completion_tokens.

3.3 Decontamination

  • Pool stage (scripts/p2/stream_pool.py): rows are dropped if their statement_sha matches a protected set, or if their informal text overlaps one (any shared 13-gram, or ≥ 3 distinct shared 8-grams). Protected sets: miniF2F-test (244), MOBench (135) and miniF2F-valid (226). Result: 0 exact-statement hits and 57 informal-overlap drops.
  • SFT stage (scripts/p2/build_sft_data.py): the build raises if any training statement's sha appears in miniF2F-valid, miniF2F-test or MOBench.
  • Selection: test splits are refused (allow_test_selection = false).
  • Caveat: miniF2F-valid is excluded from training data, but it is also the stop-rule development set. It is therefore not held out from model selection (Section 7).

4. Training procedure

4.1 Expert-iteration loop

Let $\theta_0$ be the original base, $\pi_{k}$ the round-$k$ model ($\pi_0=\theta_0$), and $V(s,y)\in{0,1}$ the Lean 4 kernel verdict for statement $s$ and proof $y$. Round $k$ does the following:

  1. Select $S_k \subset \mathcal{P}$, with $|S_k| \le 300$, ordered as in-band $0<\hat p(s)\le 0.75$, then unmeasured, then $\hat p=0$ (at most 60). $\hat p$ is the empirical pass rate measured in earlier rounds.
  2. Sample $y^{(j)} \sim \pi_{k-1}(\cdot\mid s)$ for $j=1..8$ ($T=1.0$, top-$p$ 0.95, at most 16,384 new tokens), then verify each sample with $V$.
  3. Build data $D_k=\bigcup_{s:,0<c(s)<8}\operatorname{shortest}_4{y^{(j)}:V(s,y^{(j)})=1}$, where $c(s)$ is the number of verified samples out of 8.
  4. SFT a LoRA adapter $\Delta_k=\tfrac{\alpha}{r}B_kA_k$ on $\pi_{k-1}$, then merge: $\hat\theta_k=\operatorname{bf16}(\theta_{\pi_{k-1}}+\Delta_k)$.
  5. Average with the original base: $\theta_{\pi_k}=\operatorname{bf16}\big((1-w),\theta_0+w,\hat\theta_k\big)$ with $w=0.7$. The arithmetic runs in fp64 and is rounded once.
  6. Evaluate on miniF2F-valid (solved@8 at cap 30k) and apply the stop rule: min_gain = 2 problems, patience = 2 rounds, max_regress = 3 problems.

Unrolled for this round: $\theta_{\pi_2}=0.3,\theta_0+0.7,\operatorname{bf16}(\theta_{\pi_1}+\Delta_2)$ with $\theta_{\pi_1}=0.3,\theta_0+0.7,\operatorname{bf16}(\theta_0+\Delta_1)$, ignoring the outer bf16 roundings. The nominal round-1 and round-2 deltas therefore enter with weights 0.49 and 0.7.

4.2 SFT objective

The loss is token-level cross-entropy over completion tokens only. Prompt and padding tokens are masked with labels = −100. The loss is normalised by the global count of target tokens across the 2-micro-batch accumulation window and the 4 ranks (loss_normalization = "global_token_mean"):

$$ \mathcal{L}(A,B)= -\frac{1}{\sum_{i\in\mathcal{B}}\sum_t m_{i,t}}\sum_{i\in\mathcal{B}}\sum_{t} m_{i,t},\log \pi_{\theta+\frac{\alpha}{r}BA}!\left(y_{i,t}\mid x_i, y_{i,<t}\right), \qquad m_{i,t}=\mathbb{1}[t\in\text{completion}] $$

No KL term, no reward model and no RL objective is used. "Reward" here means only the binary kernel filter applied before SFT (rejection sampling).

4.3 Hyperparameters

groupsettingvalue
LoRArank / alpha / dropout64 / 128 / 0.0
target modulesq_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
Optimisertypein-repo block-wise 8-bit AdamW (block 2048, stochastic rounding)
lr / betas / weight decay2e-5 / (0.9, 0.95) / 0.0
schedulewarmup fraction 0.1, then cosine decay to ~0 (logged: peak 2.0e-5, last 1.02e-7)
grad clip (max norm)1.0 (never reached: logged pre-clip norms were 0.017–0.029)
Batchmicro-batch1 × 18,432-token budget, length-grouped packing
grad accumulation × ranks2 × 4 = 8 micro-batches per optimizer step
epochs / steps2 / 48 micro-steps = 24 optimizer steps (data_exhausted)
Precision / parallelismbf16 params, fp32 gradient reduce, FSDP2 (36 per-block units), activation checkpointing, SDPA flash attention
Data genn / cap / T / top-p / seed8 / 16,384 / 1.0 / 0.95 / 2000 (vLLM, TP=4)
Selectionband / max problems / max zero / max per problem / rank(0, 0.75] / 300 / 60 / 4 / shortest
Averaginganchor / fine-tuned weightoriginal base / 0.7 (399 tensors)
Seed0

4.4 Compute

stagewall-clock (s)hardware
gen + verify (2,400 samples)21,868.34× L4 (vLLM TP=4) + CPU Lean workers (8)
SFT1,977.24× L4 (torchrun, 4 ranks)
export (merge + vLLM load check)172.0
weight average196.7CPU
eval (1,808 samples)14,645.44× L4 + CPU Lean
select / sft_data / report0.1 / 10.0 / 4.0CPU
total38,873.7 (10.8 h)≈ 43 L4-hours of node occupancy

The job ran on 2026-10-24 under a kernel-enforced cgroup cap (hostguard, 40 cores). Code: viai957/align @ de5543454e51e1def90a78609c4799d3b8771db8.


5. Training curves

The per-rank history.jsonl files were deleted with the round's SFT checkpoint (37 GB) once the round finished. The curves below come from the read-only W&B sidecar mirror of those files (runs/campaign1/wandb/.../run-0ca1a6eafc40.wandb, rows with sft/round == 2). There are 4 rows per micro-step. The 4 rows' n_tokens sum to 2,703,422, about 2 × 1,377,760 completion tokens (2 epochs), which is consistent with all 4 data-parallel ranks logging to one file. Lines show the mean of the 4 rows; dots show the individual rows.

SFT loss, round 2 Figure 3. Round-2 SFT training loss (masked CE). Mean over epoch 1: 0.1379; over epoch 2: 0.1369. First micro-step 0.1472, last 0.1543. The loss is flat: the model already assigns high likelihood to its own verified proofs, so 24 steps at lr ≤ 2e-5 barely move it. Source: W&B sidecar, sft/loss.

LR and grad norm Figure 4. Logged learning rate (warmup, then cosine decay) and pre-clip gradient norm, logged once per optimizer step by each of the 4 ranks; the line shows the first row at each step, and the 0.017-0.029 range covers all 96 rows. The norm stays between 0.017 and 0.029, far below the 1.0 clip. Source: W&B sidecar, sft/lr and sft/grad_norm.

SFT loss, all rounds Figure 5. SFT loss for each campaign round (rounds 1/2/3: 56/48/54 micro-steps). The level falls from round to round (epoch-1 means 0.174 → 0.138 → 0.119) because each round trains on proofs sampled from the previous model, which fit that model better. Nothing in any round shows a downward trend. Source: W&B sidecar, sft/loss by sft/round.

Reward, KL, value loss and advantage curves do not exist: not applicable (no RL stage). Generation-time acceptance for the data round is in Figure 1 (middle) and Section 3.2.


6. Evaluation

6.1 Protocol

miniF2F valid split (226 problems, Lean 4). 8 samples per problem, temperature 1.0, top-p 0.95, at most 30,000 new tokens, vLLM TP=4, seed 0, byte-identical prompt token ids for all four models (all 226 problems compared across the base, r1, r2 and r3 gen_n8_c30000.jsonl files). Verification uses Lean v4.9.0-rc1, Mathlib d1d1e4b72c6e009edd97cabe1d661b021fe8eeae and REPL 7df77c0a, with a 180 s budget per proof, strict statement matching, no helper definitions, and an axiom whitelist of {Classical.choice, Quot.sound, propext}. TIMEOUT and verifier infrastructure outcomes (memory/crash) count as unsolved. pass@k uses the unbiased estimator $1-\binom{n-c}{k}/\binom{n}{k}$, averaged over problems. The 95% CIs come from a problem-level bootstrap (2,000 resamples, seed 0). Pins+config hash: 5436607061c6.

6.2 Results

modelpass@1 [95% CI]pass@2pass@4pass@8 [95% CI]solved@8solved 8/8samples
Goedel-Prover-V2-8B (base)71.8 [66.9, 76.8]77.680.783.2 [77.9, 88.1]1881181,808
EI round 171.9 [67.0, 76.9]78.281.683.2 [77.9, 87.6]1881141,808
EI round 2 (this model)71.1 [66.0, 76.2]77.280.582.7 [77.4, 87.6]1871121,808
EI round 372.0 [67.0, 77.0]77.980.581.9 [76.5, 86.7]1851121,808

All values are percentages except the counts. Sources: align/runs/campaign1/ei/round_0{1,2,3}/eval/ver_n8_c30000.jsonl and ProofForge/runs/p5_eval/base/ver_n8_c30000.jsonl, re-scored by _work/analyze.py. The round-2 numbers match round_02/round_manifest.json (mean_pass_at_1 0.71128, solved_at_n 187).

Paired tests (solved@8, exact two-sided McNemar):

comparisononly Aonly Bp
round 2 vs base231.000
round 2 vs round 1231.000
round 3 vs round 2350.727

The paired bootstrap deltas from the campaign's own report (round_02/report/report.md, round 2 − round 1) are: pass@1 −0.8 pp [−2.4, +0.9], pass@8 −0.4 pp [−2.2, +1.3]. None of the differences is statistically detectable.

Benchmarks not measured for this model: miniF2F-test, MOBench, ProofNet, PutnamBench, and any pass@k with k > 8. The campaign's pre-registered primary endpoint (miniF2F solved@8 at cap 16,384) could not be computed from these runs, as report.md itself flags.

6.3 Hill-climbing across rounds

Hill-climb Figure 6. miniF2F-valid pass@8 (left, solved@8 annotated) and mean pass@1 (right) with 95% bootstrap CIs, by expert-iteration round. Solved@8 goes 188 → 188 → 187 → 185. Every interval overlaps every other. Sources: the four ver_n8_c30000.jsonl files above.

pass@k Figure 7. pass@k for k = 1..8. The curves lie on top of each other. Round 3 gains slightly at k=1 and loses at k=8, the usual pass@1-for-diversity trade, but the shifts are within noise.

6.4 Where round 2 differs from the base

Paired matrix Figure 8. Per-problem number of correct samples (of 8), base (rows) vs round 2 (columns). Mass sits on the diagonal, and only 5 problems change solved/unsolved status (cells in row 0 or column 0 off the diagonal). Source: the two ver_n8_c30000.jsonl files.

Outcomes Figure 9. Verifier outcome per sample. Base → round 2: accepted 1,299 → 1,286, compile_error 406 → 375, timeout 67 → 68, no_code 32 → 76, memory 3 → 3, crash 1 → 0.

Lengths Figure 10. Eval completion length (log count). Mean 4,153 tokens for the base and 4,323 for round 2 (medians 2,133 and 2,032). Samples that hit the 30k cap: 32 for the base, 76 for round 2. In both runs this count equals the no_code count: these samples never closed a Lean block. Across rounds the count grows 32 → 61 → 76 → 90 (base → r1 → r2 → r3).


7. Discussion, negative results and lessons

  1. No gain, measured. Round 2 is indistinguishable from both the base and round 1 on miniF2F-valid at n=8 (Sections 6.2–6.3). The campaign's stop rule correctly ended the run after round 3 (regression, best round 1). We claim no benefit of this training.
  2. Most of the update was lost during the bf16 merge (measured). The export check compares the merged bf16 weights with the intended $\theta+\Delta$. For this round, over the 252 adapted matrices, cosine(exported delta, intended delta) = 0.475, relative error 0.892, and 88.7% of the non-zero delta elements rounded to zero. Mean relative weight change per matrix was 3.0e-4 (max 6.5e-4). Rounds 1 and 3 show the same pattern (Figure 11). A likely mechanism (inferred, not separately tested): bf16 keeps 8 significant bits, so an element moves only if its update exceeds about half a unit in the last place (≥ 2⁻⁹ ≈ 2e-3 relative). The measured per-matrix relative change (Frobenius norm) is about 3e-4, well below bf16's roughly 2e-3 half-ulp relative resolution, so most per-element updates are likely to round back to the original value (inferred; per-element magnitudes were not logged). The 0.7 average with the base then scales whatever survived by 0.7. The adapter-vs-merged check still passed its thresholds (argmax agreement 1.0, mean KL 4.3e-5 and 1.8e-4 on two 64-token probes), because the adapter itself also changed the policy very little. Lesson: at this LR and step count, a LoRA merged into bf16 weights is mostly a no-op. Merge in fp32 and keep the fp32 delta, serve the adapter unmerged, or train long enough that the delta exceeds the bf16 resolution. Check delta retention as a gate, not as a warning.
  3. The data did not target the frontier. No never-solved statement entered training (0 of 542 eligible). The max_zero cap kept 60 of them and dropped 482, and in-band (107) plus unmeasured (193) statements then filled all 300 slots ahead of those 60. 120 statements, mostly ones the model already half-solves, give 374 rows. The project's own prior for band rejection-sampling SFT on a strong post-trained base was 0 to +2.5 pp (align/docs/SOTA_PLAN.md, lever L3); this round landed at the bottom of that range.
  4. Flat SFT loss is diagnostic. The loss on self-generated verified proofs starts low (~0.14 nats/token) and does not fall within the round (Figure 3). Self-distillation on the model's own accepted samples carries little new signal for an already post-trained prover.
  5. A side effect to watch. Length-capped / no_code samples on eval rise round over round (32 → 61 → 76 → 90). It does not change solved@8, but it suggests the training slowly lengthens outputs (the SFT targets average 3,684 tokens).
  6. Evaluation caveats. miniF2F-valid was both the eval set and the stop-rule dev set, so it is not held out from model selection. Every run is a single seed (seed 0). The verifier recorded infra outcomes (memory/crash) on 3/1,808 samples for round 2 and 4/1,808 for the base, all counted as unsolved; ProofForge's strict rule would mark both runs INVALID(infra).

Merge retention Figure 11. Share of the LoRA delta that survived the bf16 merge, per round: cosine with the intended delta, and the fraction of non-zero delta elements rounded to zero. Source: round_0{1,2,3}/logs/export.log, merge_delta_retention.


8. Intended use, limitations and risks

  • Intended use: research on expert iteration and self-distillation for formal theorem proving, as a documented point in a negative-result ablation, or as a comparison checkpoint against Goedel-Prover-V2-8B.
  • Not intended for: use as a better prover than the base (it is not one), or for any claim of SOTA. The model emits Lean 4 for Lean v4.9.0-rc1 / the Mathlib pinned above. Newer Lean/Mathlib versions can break proofs.
  • Limitations: single seed. Valid-split-only evaluation. No test-split, MOBench, ProofNet or PutnamBench numbers. Outputs average about 4.3k tokens, and 4.2% of eval samples hit the 30k cap. Any proof is only as trustworthy as the Lean kernel run that checks it: always re-verify.
  • Risks: low. Possible misuse is limited to presenting unverified output as a proof. Informal text in generations can be confidently wrong even when the Lean proof is valid, or the reverse.

9. Reproducibility

9.1 Code and pins

itemvalue
Training codehttps://github.com/viai957/align @ de5543454e51e1def90a78609c4799d3b8771db8 (last commit before the round-2 train stage started, 2026-10-24)
Driverscripts/p2/campaign.sh → scripts/p2/expert_iteration.py
SFT configconfigs/p2_sft.toml
Base snapshotGoedel-LM/Goedel-Prover-V2-8B @ dfd02e6271a58375dfbf3ece0175277cf6b6a89a
VerifierLean leanprover/lean4:v4.9.0-rc1, Mathlib d1d1e4b72c6e009edd97cabe1d661b021fe8eeae, REPL 7df77c0a1c9188ab58c76d4138a06ae5e0c32282. Pins+config sha256 5436607061c6902afe00d3721d0a675ed63ba66242ff79719d7817d712e7dee8
SFT shardsft-train-0000, 374 rows, 1,474,767 tokens, content hash 54e93e9163cc605550785f45a1675ba8
Weight-average fingerprinta949b0b49103abc5cf9f0a03343009a5355fd761ef645f8b2e5b70915dfc2798
Card build_work/analyze.py (figures + stats), _work/extract_wandb.py (W&B → JSONL)

9.2 Commands

# campaign (rounds 1..3; round 2 = this model)
scripts/p2/expert_iteration.py \
  --run-dir runs/campaign1/ei --name campaign --pool runs/campaign1/pool.jsonl \
  --seed-ver .tmp/p2/r1/pool/ver_r0.jsonl \
  --eval-problems .tmp/p2/problems/minif2f_valid.jsonl \
  --protected-problems .tmp/p2/problems/minif2f.jsonl .tmp/p2/problems/mobench.jsonl \
  --base-model <Goedel-Prover-V2-8B snapshot> \
  --rounds 8 --n 8 --gen-cap 16384 --max-problems 300 --include-zero --max-zero 60 \
  --tp 4 --workers 8 --nproc 4 --avg-weight 0.7 --avg-anchor original --prune-export \
  --eval-n 8 --eval-cap 30000 --min-gain 2 --patience 2 --max-regress 3

# round-2 SFT stage, as logged
torchrun --standalone --nproc_per_node=4 scripts/sft.py configs/p2_sft.toml \
  --data.shard_dir=runs/campaign1/ei/round_02/sft_data/shards \
  --data.manifest_path=runs/campaign1/ei/round_02/sft_data/manifest.json \
  --paths.checkpoint_dir=runs/campaign1/ei/round_02/sft \
  --paths.model_snapshot=runs/campaign1/ei/round_01/avg

# weight average, as logged
python -m align.model.weight_average --base <base snapshot> \
  --ft runs/campaign1/ei/round_02/export --ft-weight 0.7 --out runs/campaign1/ei/round_02/avg

Inference (same prompt as training and eval):

from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "viai957/Goedel-Prover-V2-8B-EI-campaign1-r2"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="bfloat16", device_map="auto")
stmt = "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\ntheorem t (y : ℂ) : 7 * (3 * y + 2) = 21 * y + 14 := by sorry"
prompt = (f"Complete the following Lean 4 code:\n\n```lean4\n{stmt}```\n\n"
          "Before producing the Lean 4 code to formally prove the given theorem, provide a detailed proof plan "
          "outlining the main proof steps and strategies.\nThe plan should highlight key ideas, intermediate lemmas, "
          "and proof structures that will guide the construction of the final formal proof.")
ids = tok.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=30000, do_sample=True, temperature=1.0, top_p=0.95)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))  # verify the ```lean4 block with Lean before trusting it

9.3 Files

17 bf16 safetensors shards (model-000NN-of-00017.safetensors, 16.38 GB in total) plus the index, config, generation config and the unchanged Qwen3 tokenizer files. The previous auto-generated card on this repo listed per-file sha256 values. They are unchanged by this card.


10. Related work, licence and citation

Sibling repositories (same campaign / same base):

Licence. Apache-2.0, the same as the base model. The statement sources carry MIT, Apache-2.0 and CC-BY-SA-4.0 licences (Section 3.1). The training targets are model-generated proofs.

Citation

@misc{viai957_goedel8b_ei_campaign1_r2_2026,
  title        = {Goedel-Prover-V2-8B-EI-campaign1-r2: a negative result for expert iteration with bf16-merged LoRA on a post-trained Lean prover},
  author       = {viai957},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/viai957/Goedel-Prover-V2-8B-EI-campaign1-r2}},
  note         = {align commit de5543454e51e1def90a78609c4799d3b8771db8}
}

@article{lin2025goedelproverv2,
  title   = {Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction},
  author  = {Lin, Yong and Tang, Shange and Lyu, Bohan and Yang, Ziran and Chung, Jui-Hui and Zhao, Haoyu and Jiang, Lai and Geng, Yihan and Ge, Jiawei and Sun, Jingruo and others},
  journal = {arXiv preprint arXiv:2508.03613},
  year    = {2025}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
7720d61

0 моделей