Implicit-Reasoning (DiscoLoop) checkpoints and code
ไธญๆๆ่ฆ๏ผๆฌไปๅบๆฏ DiscoLoop ้กน็ฎ๏ผGitHub ็งๆไปๅบ hengyuf/Implicit-Reasoning๏ผ็ๆจกๅ checkpoint ไธไปฃ็ ๅฝๆกฃใ
ๅ
ๅซ outputs/ ไธๅ
จ้จ 107 ไธช่ฎญ็ป็ฎๅฝ๏ผ73 ไธชๅฎๆด่ทๅฎใ25 ไธชไธญ้ๅๆญขๅชๆไธญ้ด checkpointใ7 ไธชๅชๆๆฅๅฟ/ๆๆ ๏ผ2 ไธช็ฉบ็ฎๅฝๆชไธไผ ๏ผ๏ผ
ไปปๅกไธบ็ฌฆๅท 2/3/4/5-hop ไธ่ช็ถ่ฏญ่จ 2-hop ๆจ็๏ผๅ
จ้จ็ฑ code/train_twin_hyper.py ่ฎญ็ป๏ผ2026-07-24 ่ณ 08-02๏ผrebuttal ้ถๆฎต๏ผใ
code/ ๆฏๆฌๅฐๅทฅไฝๅบไปฃ็ ๏ผmain abe53e8 + ๆชๆไบคไฟฎๆน๏ผ๏ผcode-release/ ๆฏๆด็่ฟ็่ฎบๆๅๅธๅๆฏ discoloop-release๏ผ794447c๏ผใ
ไธญ้ด checkpoint ็ไผๅๅจ็ถๆ๏ผoptimizer.pt๏ผไนๅทฒไธไผ ๏ผ2026-11-25 ่กฅไผ ๏ผ๏ผๅฏ็จไบ็ปญ่ฎญใไธๆน่กจๆ ผๅๅบๆฏไธช checkpoint ็ไปปๅกใ่ถ
ๅใๆฐๆฎไธๆ็ปๆๆ ๏ผๅนถ็ปๅบๅ ่ฝฝ/่ฏๆต/้่ฎญๆนๆณใ
ๆณจๆ๏ผ่ฟไบ checkpoint ไธ่ฎบๆไธญๅ
ทไฝๆฐๅญ็ๅฏนๅบๅ
ณ็ณปๆฒกๆ่ขซ็กฎ่ฎค๏ผ่ฏทๅฟ็ดๆฅๅฝไฝ่ฎบๆ็ปๆ็ๆฅๆบใ
What this is
DiscoLoop is a looped transformer for multi-hop (compositional) reasoning. A small GPT-2 block
stack f is applied K times ("loops"/"stages"). Between loops, DiscoLoop adds a discrete
embedding channel: the loop output is decoded through the tied LM head, re-encoded as the
probability-weighted sum of token embeddings, mixed with the input embeddings and normalized, and
added back to the continuous hidden state:
f_i = f(H_i) # 2 (or 8) GPT-2 blocks + final LayerNorm
phi_i = softmax(f_i W_E^T) W_E # tied embeddings W_E (lm_head = wte)
H_i+1 = f_i + RMSNorm(alpha * phi_i + beta * H_0) # discoloop, loops 1..K-1
logits_K = f(H_K) W_E^T # the last loop is always a plain (vanilla) loop
alpha, beta are either fixed constants (--gate-mode fixed --fixed-alpha A --fixed-beta B) or
learned token-wise sigmoid gates (--gate-mode learned, gate weights initialised to zero, i.e.
alpha = beta = 0.5 at init). The same trainer also implements the baselines that appear in the
tables below:
--loop-scheme |
update between loops |
|---|---|
discoloop |
H = f(H) + RMSNorm(alpha*phi + beta*H0) |
discoloop_nonorm |
same without the RMSNorm |
discoloop_notight |
discoloop with untied input/output embeddings |
vanillaloop |
H = f(H) (plain looped transformer; with K=1 it is a non-looped 2-layer model) |
ponderlm |
H = phi (PonderLM-style: only the soft embedding is fed back) |
ponderlm_input |
H = H + phi |
argmax |
H = W_E[argmax] (hard token feedback) |
Each run reports the answer accuracy after every loop (stage{k}_acc); the "final-loop" accuracy
is the accuracy after the last loop.
Provenance and caveats (please read)
- Trainer. Every checkpoint in
outputs/was written bytrain_twin_hyper.py(launched viatrain_twin_hyper.shand thetrain_twin_hyper_sweep_*.sh/train_twin_hyper_4gpu.shwrappers), between 2026-07-24 and 2026-08-02, i.e. during the rebuttal period of the paper. This includes the natural-language runs (two_graph_direct, trained with--tokenizer-name multi-hop/tokenizers/gpt2_names_relations). None of them was produced by the paper-era natural-language trainertrain_twin_hyper_real.py. - Code version. The trainer was edited in the working tree (uncommitted) throughout that
period, and the exact revision that wrote each run was not recorded.
code/holds the latest state of the working tree (last trainer edit 2026-08-02 15:39), which is the version used by the last runs (2026-08-02 15:51). Earlier runs were written by earlier revisions; visible differences include metric names (test_twohop_idin the oldest runs vstest_2hop_idlater) and the--lr-scheduler-typeoption (absent in early runs; their HFTrainingArgumentsrecordcosine). All 107 directories' weights were checked to load into thecode/model class withstrict=True(see Verification). - Relation to the paper. Which of these checkpoints (if any) produced specific numbers in the
DiscoLoop paper has not been established. Do not cite them as the source of a paper number
without checking. The paper's release code is in
code-release/(branchdiscoloop-release); its README maps paper sections to launch scripts, and those scripts are not guaranteed to reproduce these exact runs. - Seeds. The
seedcolumn is the trainer's--seed(model init, train/eval subsampling, curriculum order). The Hugging FaceTrainerseed (TrainingArguments.seed, data order) was left at its default of 42 in all runs. - Hyper-parameter sources (
cfgcolumn):pt= the exact argparse namespace saved insidehyper_model.pt;log= the full command line printed at the top of the run's launch log (outputs/sweep_*/gpu*.log);name= reconstructed from the run-directory name only, plus the HFtraining_args.bin(lr, schedule, warmup, weight decay, batch, epochs) and the weight shapes (base-model size, K, gate type). Fornameruns other settings (e.g. max length, train subset, data seed) are unknown. The2345hop ... from234hoprun was warm-started from a 2/3/4-hop run; the source checkpoint is unknown.
Repository layout
| Path | Contents |
|---|---|
README.md |
this file |
checkpoints_index.json |
machine-readable index: one entry per run with config (and its source), exact launch command if logged, HF TrainingArguments, weight-shape inference, checkpoints, status, final/last metrics |
examples/load_checkpoint.py |
load any run (final or intermediate checkpoint) on CPU/GPU and evaluate it |
outputs/<run>/stage2_hyper/ |
one directory per run (layout below) |
outputs/sweep_*/ |
stdout logs of the sweep launchers (first line = exact command of each run) |
outputs/loop_dynamics*/ |
small analysis outputs (loop_dynamics.py, loop_cycle_check.py, loop_flip_analysis.py) |
code/ |
the project working tree used for these runs (241 files, 159 MB): git-tracked files of main (abe53e8) in their working-tree state, plus the untracked sources the runs needed (sweep launchers, eval_checkpoint.py, analysis scripts, configs/ curricula, the 2/3/4/5/6-hop datasets) |
code-release/ |
git archive discoloop-release (794447c): the cleaned paper code release (49 files, 30 MB) |
Per-run directory outputs/<run>/stage2_hyper/:
| File | Meaning |
|---|---|
hyper_model.pt |
final model (only for runs that finished): {"state_dict", "hyper_config", "base_config", "args"} |
checkpoint-<step>/pytorch_model.bin |
HF Trainer checkpoints (last 3 kept, every 500 steps); model state_dict only |
checkpoint-<step>/{trainer_state.json, training_args.bin, scheduler.pt, rng_state*.pth} |
Trainer state (loss/lr/grad-norm history), arguments, scheduler and RNG state. optimizer.pt (Adam state) is included for every intermediate checkpoint, so training can be resumed (see How to retrain). |
final_metrics.json |
stage-wise accuracy and branch norms on every split at the end of training |
log_epochs.json |
the same metrics every --evaluate-epoch epochs (training curves) |
vocab.json, special_tokens_map.json |
symbolic-task small tokenizer (1056 tokens) |
tokenizer.json, vocab.json, merges.txt, added_tokens.json, ... |
natural-language runs: GPT-2 tokenizer + 275 added name tokens (50532 tokens) |
Model sizes: gpt2-big = 2 GPT-2 blocks, 16 heads, d=1280 (about 42M parameters with the
symbolic vocabulary, about 105M with the NL vocabulary, fp32); one early run uses gpt2 = 8
blocks, 12 heads, d=768. All models are trained from scratch.
Checkpoints
Column guide: K = number of loops (--num-stages); gate ฮฑ/ฮฒ = fixed values or learned (only used by the discoloop* schemes; the other schemes ignore them);
loss = answer (loss on the answer token only) or full (all tokens); epochs = training
epochs (global batch 2048 in every run that saved a checkpoint); tag = run-name suffix of the
sweep; status = final (has hyper_model.pt + final_metrics.json), partial (stopped early;
only the last 3 intermediate checkpoints), no ckpt; final-loop acc ID/OOD = test accuracy
after the last loop from final_metrics.json (for partial runs: the last evaluation in
log_epochs.json), per hop count, ID / OOD. For the symbolic 2-hop dataset ID is 2,000 held-out
in-distribution chains and OOD 2,000 chains of the second graph; for the mixed-hop and NL datasets
the trainer samples up to 2,000 ID/OOD examples per hop count (NL: all 1,000).
The # column links to the directory list further down.
Symbolic 2-hop (data/twin_twohop_truood_diff.500.50.10)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 27 | ponderlm_input | 2 | learned | ? | 0.0001 cosine | 3000 | 14 | gpt2 | partial, last step 1000 | n/a | name | |
| 28 | ponderlm_input | 2 | learned | ? | 0.0001 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | n/a | name | |
| 29 | ponderlm | 2 | learned | ? | 0.0001 cosine | 3000 | 14 | gpt2-big | partial, last step 1500 | n/a | name | |
| 30 | discoloop | 2 | 1/0 | ? | 0.0001 cosine | 3000 | 14 | gpt2-big | partial, last step 2500 | n/a | name | |
| 31 | discoloop | 2 | 0.5/0.5 | ? | 0.0001 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | n/a | name | |
| 32 | discoloop | 2 | 0.5/0.5 | ? | 0.0001 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 110) 2h 0.034/0.002 | name | |
| 33 | discoloop | 2 | 0.5/0.5 | ? | 0.001 cosine | 3000 | 14 | gpt2-big | partial, last step 1500 | (last eval, ep 170) 2h 0.981/0.488 | name | |
| 34 | ponderlm_input | 2 | 0.5/0.5 | ? | 0.001 cosine | 3000 | 14 | gpt2-big | partial, last step 1500 | (last eval, ep 150) 2h 0.995/0.967 | name | |
| 35 | discoloop | 2 | learned | ? | 0.001 cosine | 3000 | 14 | gpt2-big | partial, last step 1500 | (last eval, ep 150) 2h 0.628/0.036 | name | |
| 36 | discoloop | 2 | 0.5/0.5 | ? | 0.001 cosine | 3000 | 14 | gpt2-big | partial, last step 500 | (last eval, ep 50) 2h 0.544/0.027 | name | |
| 37 | discoloop | ? | 10/10 | ? | 0.001 ? | ? | 14 | ? | no ckpt (metrics only) | (last eval, ep 20) 2h 0.013/0.000 | name | |
| 38 | argmax | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.004/0.004 | pt | |
| 39 | discoloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.985/0.801 | pt | |
| 40 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.996/0.978 | pt | |
| 41 | discoloop_nonorm | 2 | 100/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.995/0.644 | pt | |
| 42 | discoloop_nonorm | 2 | 50/50 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.980/0.818 | pt | |
| 43 | ponderlm | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.095/0.003 | pt | |
| 44 | ponderlm_input | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.989/0.835 | pt | |
| 45 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.721/0.025 | pt | |
| 46 | argmax | 2 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.002/0.003 | pt | |
| 47 | discoloop | 2 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.735 | pt | |
| 48 | discoloop | 2 | 1/0 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.999/0.711 | pt | |
| 49 | discoloop_nonorm | 2 | 100/0 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.984 | pt | |
| 50 | discoloop_nonorm | 2 | 50/50 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.237/0.001 | pt | |
| 51 | ponderlm | 2 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.023/0.000 | pt | |
| 52 | ponderlm_input | 2 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.951 | pt | |
| 53 | vanillaloop | 2 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.949/0.008 | pt | |
| 54 | argmax | 2 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.000/0.005 | pt | |
| 55 | discoloop | 2 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.970 | pt | |
| 56 | discoloop | 2 | 1/0 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.022/0.004 | pt | |
| 57 | discoloop_nonorm | 2 | 100/0 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.013/0.001 | pt | |
| 58 | discoloop_nonorm | 2 | 50/50 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/1.000 | pt | |
| 59 | ponderlm | 2 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.015/0.003 | pt | |
| 60 | ponderlm_input | 2 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.988 | pt | |
| 61 | vanillaloop | 2 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.027/0.007 | pt | |
| 62 | discoloop_notight (untied) | 2 | 1/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.989/0.742 | pt | |
| 63 | vanillaloop | 1 | 1/1 | answer | 0.001 cosine | 100000 | 14 | gpt2-big | long_training | partial, last step 7000 | (last eval, ep 710) 2h 0.093/0.003 | log |
| 64 | vanillaloop | 2 | 1/1 | answer | 0.001 cosine | 100000 | 14 | gpt2-big | long_training | partial, last step 4500 | (last eval, ep 450) 2h 0.462/0.017 | log |
| 65 | discoloop | 2 | 1/1 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | randomseed | final, step 30000 | 2h 0.992/0.845 | pt |
| 66 | discoloop | 2 | 1/1 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | randomseed | final, step 30000 | 2h 0.987/0.719 | pt |
| 67 | vanillaloop | 1 | 1/1 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | randomseed | final, step 30000 | 2h 0.138/0.006 | pt |
| 68 | vanillaloop | 1 | 1/1 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | randomseed | final, step 30000 | 2h 0.134/0.009 | pt |
| 69 | vanillaloop | 2 | 1/1 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | randomseed | final, step 30000 | 2h 0.741/0.039 | pt |
| 70 | vanillaloop | 2 | 1/1 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | randomseed | final, step 30000 | 2h 0.731/0.035 | pt |
| 71 | vanillaloop | 1 | 1/1 | answer | 0.001 cosine | 3000 (max_steps 100000) | 14 | gpt2-big | long_training | final, step 100000 | 2h 0.198/0.009 | pt |
| 72 | vanillaloop | 2 | 1/1 | answer | 0.001 cosine | 3000 (max_steps 100000) | 14 | gpt2-big | long_training | final, step 100000 | 2h 0.825/0.025 | pt |
| 73 | ponderlm_input | 2 | 1/1 | answer | 0.0001 cosine | 3000 | 14 | gpt2-big | ponderLM_sweeplr | final, step 30000 | 2h 0.788/0.571 | pt |
| 74 | ponderlm_input | 2 | 1/1 | answer | 0.0003 cosine | 3000 | 14 | gpt2-big | ponderLM_sweeplr | final, step 30000 | 2h 0.995/0.945 | pt |
| 75 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | randomseed | partial, last step 500 | (last eval, ep 70) 2h 0.185/0.035 | log |
| 76 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | randomseed | partial, last step 500 | (last eval, ep 70) 2h 0.182/0.051 | log |
| 77 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | randomseed | final, step 30000 | 2h 0.997/0.972 | pt |
| 78 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | randomseed | final, step 30000 | 2h 0.997/0.971 | pt |
| 79 | ponderlm_input (untied) | 2 | 1/1 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | untied | final, step 30000 | 2h 0.988/0.801 | pt |
| 80 | ponderlm_input (untied) | 2 | 1/1 | answer | 0.0001 cosine | 3000 | 14 | gpt2-big | untied | final, step 30000 | 2h 0.792/0.557 | pt |
Symbolic 2+3-hop (data/twin_23hop_truood_diff.500.50.10)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 8 | discoloop | 3 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.011/0.001; 3h 0.013/0.001 | log | |
| 9 | discoloop | 3 | 1/0 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.002/0.000; 3h 0.004/0.000 | log | |
| 10 | discoloop | 3 | 0.5/0.5 | full | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.007/0.003; 3h 0.018/0.000 | log | |
| 11 | discoloop | 3 | 1/0 | full | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.000/0.000; 3h 0.000/0.000 | log | |
| 12 | ponderlm_input | 3 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.015/0.003; 3h 0.017/0.003 | log | |
| 13 | ponderlm_input | 3 | 0.5/0.5 | full | 0.01 cosine | 3000 | 14 | gpt2-big | partial, last step 1000 | (last eval, ep 100) 2h 0.009/0.017; 3h 0.017/0.005 | log | |
| 14 | discoloop | 3 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.858/0.661; 3h 0.059/0.008 | pt | |
| 15 | discoloop | 3 | 1/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 1.000/0.761; 3h 0.989/0.247 | pt | |
| 16 | discoloop | 3 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.286/0.041; 3h 0.049/0.001 | pt | |
| 17 | discoloop | 3 | 1/0 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.003/0.002; 3h 0.005/0.001 | pt | |
| 18 | ponderlm_input | 3 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.945/0.695; 3h 0.195/0.013 | pt | |
| 19 | ponderlm_input | 3 | 0.5/0.5 | full | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.586/0.627; 3h 0.997/0.438 | pt | |
| 20 | discoloop_notight (untied) | 2 | 1/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 30000 | 2h 0.824/0.436; 3h 0.058/0.003 | pt |
Symbolic 2+3-hop, 10k multi-hop train subset (data/twin_23hop_truood_diff.500.50.10.train10k)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | discoloop | 3 | 0.5/0.5 | answer | 0.001 constant | 3000 | 14 | gpt2-big | curriculum=curriculum_23hop.json | final, step 45000 | 2h 1.000/0.956; 3h 0.999/0.916 | pt |
| 21 | discoloop | 3 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 0.028/0.002; 3h 0.029/0.002 | pt | |
| 22 | discoloop | 3 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 1.000/0.949; 3h 0.955/0.382 | pt | |
| 23 | discoloop | 3 | 0.5/0.5 | answer | 0.0001 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 0.233/0.003; 3h 0.068/0.001 | pt | |
| 24 | ponderlm_input | 3 | 0.5/0.5 | answer | 0.01 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 0.998/0.979; 3h 0.828/0.245 | pt | |
| 25 | ponderlm_input | 3 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 1.000/0.970; 3h 0.999/0.043 | pt | |
| 26 | ponderlm_input | 3 | 0.5/0.5 | answer | 0.0001 cosine | 3000 | 14 | gpt2-big | final, step 45000 | 2h 1.000/0.959; 3h 0.857/0.128 | pt |
Symbolic 2+3+4-hop (data/twin_234hop_truood_diff.500.50.10)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3 | ? | ? | ? | ? | ? ? | ? | ? | ? | empty dir (not uploaded) | n/a | - | |
| 4 | ? | ? | ? | ? | ? ? | ? | ? | ? | empty dir (not uploaded) | n/a | - | |
| 5 | discoloop | 4 | 1/0 | answer | 0.001 cosine | 3000 | 14 | gpt2-big | partial, last step 41000 | (last eval, ep 2060) 2h 0.006/0.005; 3h 0.004/0.003; 4h 0.002/0.003 | name | |
| 6 | discoloop | 4 | 1/0 | answer | 0.001 constant | 3000 | 14 | gpt2-big | schedconstant.currcurriculum_234hop | partial, last step 13000 | (last eval, ep 660) 2h 0.006/0.005; 3h 0.004/0.004; 4h 0.002/0.004 | name |
| 7 | discoloop | 4 | 0.5/0.5 | answer | 0.001 constant | 3000 | 14 | gpt2-big | schedconstant.currcurriculum_234hop curriculum=curriculum_234hop.json | final, step 60000 | 2h 1.000/0.959; 3h 1.000/0.928; 4h 1.000/0.852 | pt |
Symbolic 2+3+4+5-hop (data/twin_2345hop_truood_diff.500.50.10)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | discoloop | 5 | 0.5/0.5 | answer | 0.001 constant | 1000 | 14 | gpt2-big | schedconstant.from234hop | partial, last step 9000 | (last eval, ep 360) 2h 1.000/0.883; 3h 0.999/0.763; 4h 0.999/0.584; 5h 1.000/0.377 | name |
| 107 | discoloop | 5 | 0.5/0.5 | answer | 0.001 constant | 4000 | 14 | gpt2-big | curriculum=curriculum_2345hop.json | final, step 100000 | 2h 1.000/0.987; 3h 1.000/0.929; 4h 1.000/0.667; 5h 1.000/0.480 | pt |
Natural-language 2-hop (multi-hop/data/custom/two_graph_direct)
| # | loop scheme | K | gate ฮฑ/ฮฒ | loss | lr, schedule | epochs | seed | base | tag | status | final-loop acc ID/OOD | cfg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 81 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | multiple_seed_real | partial, last step 6000 | (last eval, ep 2100) 2h 0.680/0.682 | log |
| 82 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | multiple_seed_real | partial, last step 6000 | (last eval, ep 2070) 2h 0.758/0.621 | log |
| 83 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.097/0.004 | pt |
| 84 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.081/0.007 | pt |
| 85 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 15 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.220/0.025 | pt |
| 86 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 16 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.161/0.015 | pt |
| 87 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 42 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.841/0.726 | pt |
| 88 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 3000 | 43 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.740/0.684 | pt |
| 89 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 42 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.094/0.001 | pt |
| 90 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 43 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.095/0.005 | pt |
| 91 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 42 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.202/0.026 | pt |
| 92 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 3000 | 43 | gpt2-big | multiple_seed_real | final, step 9000 | 2h 0.187/0.011 | pt |
| 93 | discoloop | 2 | learned | answer | 1e-3 cosine | 5000 | 42 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 60) 2h 0.051/0.010 | log |
| 94 | discoloop | 2 | learned | answer | 1e-3 cosine | 5000 | 43 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 60) 2h 0.047/0.014 | log |
| 95 | vanillaloop | 1 | 0.5/0.5 | answer | 1e-3 cosine | 5000 | 42 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 150) 2h 0.065/0.002 | log |
| 96 | vanillaloop | 1 | 0.5/0.5 | answer | 1e-3 cosine | 5000 | 43 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 150) 2h 0.068/0.002 | log |
| 97 | vanillaloop | 2 | 0.5/0.5 | answer | 1e-3 cosine | 5000 | 42 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 100) 2h 0.101/0.005 | log |
| 98 | vanillaloop | 2 | 0.5/0.5 | answer | 1e-3 cosine | 5000 | 43 | ? | multiple_seed_real | no ckpt (metrics only) | (last eval, ep 100) 2h 0.086/0.008 | log |
| 99 | discoloop | 2 | learned | answer | 0.001 cosine | 5000 | 42 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.529/0.234 | pt |
| 100 | discoloop | 2 | learned | answer | 0.001 cosine | 5000 | 43 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.683/0.352 | pt |
| 101 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 5000 | 42 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.095/0.002 | pt |
| 102 | vanillaloop | 1 | 0.5/0.5 | answer | 0.001 cosine | 5000 | 43 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.091/0.005 | pt |
| 103 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 5000 | 42 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.175/0.016 | pt |
| 104 | vanillaloop | 2 | 0.5/0.5 | answer | 0.001 cosine | 5000 | 43 | gpt2-big | multiple_seed_real | final, step 15000 | 2h 0.154/0.022 | pt |
| 105 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 5000 | 42 | gpt2-big | nl_cosine_ep5000 | final, step 15000 | 2h 0.953/0.837 | pt |
| 106 | discoloop | 2 | 1/0 | answer | 0.001 cosine | 5000 | 43 | gpt2-big | nl_cosine_ep5000 | final, step 15000 | 2h 0.957/0.861 | pt |
Directory names
| # | outputs/ directory |
|---|---|
| 1 | curr_23hop_m3 |
| 2 | hyper_run.twin_2345hop_truood_diff.500.50.10.20260725_203447.looping.discoloop.m5.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.schedconstant.from234hop |
| 3 | hyper_run.twin_234hop_truood_diff.500.50.10.20260725_145011.looping.discoloop.m4.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 4 | hyper_run.twin_234hop_truood_diff.500.50.10.20260725_145039.looping.discoloop.m4.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 5 | hyper_run.twin_234hop_truood_diff.500.50.10.20260725_145545.looping.discoloop.m4.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 6 | hyper_run.twin_234hop_truood_diff.500.50.10.20260725_165532.looping.discoloop.m4.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.schedconstant.currcurriculum_234hop |
| 7 | hyper_run.twin_234hop_truood_diff.500.50.10.20260725_172859.looping.discoloop.m4.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.schedconstant.currcurriculum_234hop |
| 8 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.discoloop.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 9 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.discoloop.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 10 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.discoloop.lossfull.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 11 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.discoloop.lossfull.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 12 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.ponderlm_input.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 13 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204022.looping.ponderlm_input.lossfull.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 14 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.discoloop.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 15 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.discoloop.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 16 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.discoloop.lossfull.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 17 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.discoloop.lossfull.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 18 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.ponderlm_input.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 19 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204625.looping.ponderlm_input.lossfull.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 20 | hyper_run.twin_23hop_truood_diff.500.50.10.20260724_204720.looping.discoloop_notight.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 21 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.discoloop.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 22 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.discoloop.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 23 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.discoloop.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14 |
| 24 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.ponderlm_input.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 25 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.ponderlm_input.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 26 | hyper_run.twin_23hop_truood_diff.500.50.10.train10k.20260724_215725.looping.ponderlm_input.m3.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14 |
| 27 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_173941.looping.ponderlm_input.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp9.0.warmup200.seed14 |
| 28 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_174721.looping.ponderlm_input.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp9.0.warmup200.seed14 |
| 29 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_175128.looping.ponderlm.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp9.0.warmup200.seed14 |
| 30 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_175703.looping.discoloop.fixed.alpha1_beta0..normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp9.0.warmup200.seed14 |
| 31 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_180507.looping.discoloop.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14 |
| 32 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_180928.looping.discoloop.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14 |
| 33 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_181249.looping.discoloop.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 34 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_181800.looping.ponderlm_input.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 35 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_182323.looping.discoloop.tt10000.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 36 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_182811.looping.discoloop.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 37 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_183104.looping.discoloop.tt10000.fixed.alpha10_beta10.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 38 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.argmax.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 39 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 40 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 41 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop_nonorm.lossanswer.tt10000.fixed.alpha100_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 42 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop_nonorm.lossanswer.tt10000.fixed.alpha50_beta50.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 43 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.ponderlm.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 44 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.ponderlm_input.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 45 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.vanillaloop.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 46 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.argmax.lossfull.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 47 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.discoloop.lossfull.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 48 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.discoloop.lossfull.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 49 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.discoloop_nonorm.lossfull.tt10000.fixed.alpha100_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 50 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.discoloop_nonorm.lossfull.tt10000.fixed.alpha50_beta50.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 51 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.ponderlm.lossfull.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 52 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.ponderlm_input.lossfull.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 53 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184659.looping.vanillaloop.lossfull.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 54 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.argmax.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 55 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.discoloop.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 56 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.discoloop.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 57 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.discoloop_nonorm.lossanswer.tt10000.fixed.alpha100_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 58 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.discoloop_nonorm.lossanswer.tt10000.fixed.alpha50_beta50.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 59 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.ponderlm.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 60 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.ponderlm_input.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 61 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_201331.looping.vanillaloop.lossanswer.tt10000.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-2.wd0.01.atomp0.0.warmup200.seed14 |
| 62 | hyper_run.twin_twohop_truood_diff.500.50.10.20260724_204720.looping.discoloop_notight.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14 |
| 63 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133255.looping.vanillaloop.m1.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.long_training |
| 64 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133255.looping.vanillaloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.long_training |
| 65 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.randomseed |
| 66 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.randomseed |
| 67 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.vanillaloop.m1.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.randomseed |
| 68 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.vanillaloop.m1.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.randomseed |
| 69 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.vanillaloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.randomseed |
| 70 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_133330.looping.vanillaloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.randomseed |
| 71 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_134249.looping.vanillaloop.m1.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.long_training |
| 72 | hyper_run.twin_twohop_truood_diff.500.50.10.20260725_134249.looping.vanillaloop.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.long_training |
| 73 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_125356.looping.ponderlm_input.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14.ponderLM_sweeplr |
| 74 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_125356.looping.ponderlm_input.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr3e-4.wd0.01.atomp0.0.warmup200.seed14.ponderLM_sweeplr |
| 75 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_133122.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.randomseed |
| 76 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_133122.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.randomseed |
| 77 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_133426.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.randomseed |
| 78 | hyper_run.twin_twohop_truood_diff.500.50.10.20260726_133426.looping.discoloop.m2.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.randomseed |
| 79 | hyper_run.twin_twohop_truood_diff.500.50.10.20260802_155120.looping.ponderlm_input.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14.untied |
| 80 | hyper_run.twin_twohop_truood_diff.500.50.10.20260802_155120.looping.ponderlm_input.m2.lossanswer.tt10000.fixed.alpha1_beta1.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-4.wd0.01.atomp0.0.warmup200.seed14.untied |
| 81 | hyper_run.two_graph_direct.20260725_161108.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.multiple_seed_real |
| 82 | hyper_run.two_graph_direct.20260725_161108.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.multiple_seed_real |
| 83 | hyper_run.two_graph_direct.20260725_161108.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.multiple_seed_real |
| 84 | hyper_run.two_graph_direct.20260725_161108.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.multiple_seed_real |
| 85 | hyper_run.two_graph_direct.20260725_161108.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed15.multiple_seed_real |
| 86 | hyper_run.two_graph_direct.20260725_161108.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed16.multiple_seed_real |
| 87 | hyper_run.two_graph_direct.20260725_185606.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 88 | hyper_run.two_graph_direct.20260725_185606.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 89 | hyper_run.two_graph_direct.20260725_185606.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 90 | hyper_run.two_graph_direct.20260725_185606.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 91 | hyper_run.two_graph_direct.20260725_185606.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 92 | hyper_run.two_graph_direct.20260725_185606.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 93 | hyper_run.two_graph_direct.20260726_133122.looping.discoloop.m2.lossanswer.tt-1.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 94 | hyper_run.two_graph_direct.20260726_133122.looping.discoloop.m2.lossanswer.tt-1.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 95 | hyper_run.two_graph_direct.20260726_133122.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 96 | hyper_run.two_graph_direct.20260726_133122.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 97 | hyper_run.two_graph_direct.20260726_133122.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 98 | hyper_run.two_graph_direct.20260726_133122.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 99 | hyper_run.two_graph_direct.20260726_133426.looping.discoloop.m2.lossanswer.tt-1.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 100 | hyper_run.two_graph_direct.20260726_133426.looping.discoloop.m2.lossanswer.tt-1.learned.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 101 | hyper_run.two_graph_direct.20260726_133426.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 102 | hyper_run.two_graph_direct.20260726_133426.looping.vanillaloop.m1.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 103 | hyper_run.two_graph_direct.20260726_133426.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.multiple_seed_real |
| 104 | hyper_run.two_graph_direct.20260726_133426.looping.vanillaloop.m2.lossanswer.tt-1.fixed.alpha0.5_beta0.5.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.multiple_seed_real |
| 105 | hyper_run.two_graph_direct.20260726_162909.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed42.nl_cosine_ep5000 |
| 106 | hyper_run.two_graph_direct.20260726_162909.looping.discoloop.m2.lossanswer.tt-1.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed43.nl_cosine_ep5000 |
| 107 | scratch_2345hop_m5 |
How to load and evaluate a checkpoint
pip install huggingface_hub
huggingface-cli download fhyfhy/Implicit-Reasoning-checkpoints --local-dir IR-ckpts \
--include "code/*" "examples/*" "checkpoints_index.json" \
"outputs/hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14/*"
cd IR-ckpts
pip install torch==2.9.1 transformers==4.57.3 # versions used by the project (see code/requirements.txt)
python examples/load_checkpoint.py --device cpu \
--run hyper_run.twin_twohop_truood_diff.500.50.10.20260724_184654.looping.discoloop.lossanswer.tt10000.fixed.alpha1_beta0.normrms.sgphi0.posemb1.initoh0.freezeemb0.lr1e-3.wd0.01.atomp0.0.warmup200.seed14
Output of this command on CPU (tested before upload):
loaded outputs/hyper_run.twin_twohop_...seed14/stage2_hyper/hyper_model.pt: discoloop K=2 gate=fixed alpha=1.0 beta=0.0 base=gpt2-big untied=False
split loop1 loop2 n
test_2hop_ood 0.0000 0.9735 2000
recorded final_metrics.json (final-loop acc): {"train_atom": 1.0, "train_twohop": 1.0, "test_twohop_id": 0.996, "test_twohop_ood": 0.9775}
(The script samples 2,000 OOD chains with its own seed, so it does not hit the exact subset the
trainer used; 0.9735 vs the recorded 0.9775. For the 2-hop dataset the ID split is the held-out
remainder of train.json and is not re-created by the script.) On the natural-language run
hyper_run.two_graph_direct.20260726_133426.looping.discoloop.m2...learned...seed42.multiple_seed_real
the script reproduces the recorded numbers exactly (ID 0.529, OOD 0.234; the full 1,000-example test sets).
Options: --which final|latest|checkpoint-<step> picks hyper_model.pt, the newest or a
specific intermediate checkpoint (partial runs only have intermediate ones); --limit -1 evaluates
complete test files. The symbolic tokenizer is rebuilt from code/data/<dataset>/vocab.json on top
of the gpt2 tokenizer from the Hub (downloaded once); the NL tokenizer is
code/multi-hop/tokenizers/gpt2_names_relations.
Minimal programmatic use:
import sys; sys.path.insert(0, "examples")
from load_checkpoint import load_model
model, tokenizer, entry, data_dir = load_model("<run directory name>", which="final", device="cpu")
enc = tokenizer(["<b_e_0>", "<r_14>", "<r_20>"], is_split_into_words=True, return_tensors="pt")
stage_logits = model.get_stage_logits(enc["input_ids"], enc["attention_mask"]) # one tensor per loop
pred = stage_logits[-1][0, -1].argmax().item() # answer token predicted after the last loop
print(tokenizer.decode([pred])) # -> <b_e_295>, the target of this OOD chain in test.json (tested)
code/eval_checkpoint.py (the project's own evaluation script) and code/interp_intervention.py
(logit lens / intervention analysis) also take a run directory (--run-dir outputs/<run>); run
them from inside code/ after placing or linking outputs/ there.
How to retrain
cd code
pip install torch==2.9.1 --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements.txt
export WANDB_MODE=disabled # or drop --wandb-project from the command
- Exact command of a run. For runs with
cfg = log,checkpoints_index.jsonholdslaunch_command(the fullpython3 train_twin_hyper.py ...line); run it fromcode/. Runs that were 4-GPU DDP (training_args_bin.n_processes_inferred_from_rng_files = 4, micro batch 512) were launched withtorchrun --nproc_per_node 4throughtrain_twin_hyper.sh --gpu 0,1,2,3(train_twin_hyper_4gpu.sh); the global batch is 2048 either way. Forcfg = ptruns the complete argument namespace is inconfig(and insidehyper_model.pt["args"]). - Sweeps as they were run (one GPU per run unless noted; each writes
outputs/sweep_<name>.<time>/):
| launcher | what it trains |
|---|---|
train_twin_hyper_sweep_answer.sh / _full.sh |
symbolic 2-hop, 8 loop schemes, answer / full loss |
train_twin_hyper_sweep_23hop.sh |
symbolic 2+3-hop, discoloop / ponderlm_input, both losses |
train_twin_hyper_sweep_lr.sh |
2+3-hop train10k, K=3, lr 1e-2/1e-3/1e-4 |
train_twin_hyper_sweep_notight.sh |
discoloop with untied embeddings on 2-hop and 2+3-hop |
train_twin_hyper_sweep_long.sh |
2-hop vanillaloop K=1/K=2, 100k steps, 4-GPU DDP each |
train_twin_hyper_sweep_seed.sh, _rebuttal_seeds.sh |
2-hop seed replicates (discoloop / vanillaloop) |
train_twin_hyper_sweep_real_seed.sh, _nl_cosine.sh |
natural-language 2-hop seeds (discoloop / vanillaloop K=1,2) |
train_twin_hyper_sweep_ponderlm_lr.sh, _ponderlm_untied.sh |
ponderlm_input lr sweep, tied / untied |
train_twin_hyper_4hop.sh |
2/3/4-hop discoloop K=4, 4-GPU DDP; with --curricular-training configs/curriculum_*.json for the curriculum runs |
- Resume an interrupted or partial run. Every
checkpoint-<step>/contains the model,optimizer.pt,scheduler.pt,rng_state*.pthandtrainer_state.json, i.e. a complete HF Trainer checkpoint. Fromcode/, withoutputs/<run>present (download or symlink it), re-run the run's original command (launch_command/configincheckpoints_index.json) with the same--output-dir outputs/<run>and the same number of processes, adding--resume-from-checkpoint auto(newest checkpoint) or--resume-from-checkpoint outputs/<run>/stage2_hyper/checkpoint-<step>. Use--init-from-checkpointinstead to start a new run (fresh optimizer and schedule) from a checkpoint's weights. Resuming is only exact if the trainer code matches the version that wrote the run (see the provenance caveats). - Paper-style launchers.
code-release/scripts/{symbolic_2hop,symbolic_3hop,nl_2hop}.share the cleaned launchers of the paper release; seecode-release/README.md.
What was not uploaded
wandb/run directories,.venv,__pycache__, the paper PDF, reviewer reviews and rebuttal drafts (reviews/,rebuttal_*.md), and two empty run directories (no files).
License / provenance
- Code license: the source repository has no LICENSE file; no license has been chosen yet (all rights reserved by the authors until one is added).
- Data: all datasets are synthetic and generated by the code in this repository
(
data_preparation.py,generate_multihop_from_atoms.py,multi-hop/generate_data.py,multi-hop/export_two_graph_dataset.py;code-release/prepare_data.shregenerates the paper datasets). The natural-language entity names come from a hand-written first-name list inmulti-hop/utils/data/name_space.py; its original source is unknown. - Tokenizers: the symbolic tokenizer is a 1056-token word-level vocabulary (GPT-2's special
token + the dataset's
vocab.json); the NL tokenizer is the OpenAI GPT-2 tokenizer (gpt2on the Hub, MIT license) with 275 added name tokens (multi-hop/build_graph_tokenizer.py). - Models: GPT-2 architecture (Hugging Face
transformers), randomly initialised and trained from scratch; no pretrained weights are included.
Verification
- Strict load: every weight file was loaded into the
code/model class withstrict=Trueviaexamples/load_checkpoint.py(CPU, torch 2.9.1, transformers 4.57.3): 171 loads (73 finalhyper_model.pt+ the newest intermediate checkpoint of all 98 runs with checkpoints), 0 failures. - Evaluation: see the two tested examples in How to load.
- Upload integrity: after the upload the Hub file list was compared with the local staging tree: 2,420 files / 79,542,420,954 bytes on both sides (outputs/ 2,128 files, 79,353,495,311 bytes; code/ 240; code-release/ 49; plus README, index, loader), no missing, extra or size-mismatched files. The sha256 of 3 large weight files (one NL
hyper_model.pt, twopytorch_model.bin) matches the Hub LFS oids. The 278optimizer.ptfiles were added on 2026-11-25 (124,155,394,294 bytes); the Hub copy matches locally in count and bytes, and 3 sampled files match by sha256. Repository total after that: 2,698 files +.gitattributes, 203.7 GB.