File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,19 @@ align-premises:
116116
117117# Full retrain from provisioned corpora. Honours ECHIDNA_MAX_PROOF_STATES
118118# (0 = unlimited), ECHIDNA_NUM_EPOCHS, ECHIDNA_NUM_NEGATIVES.
119- retrain :
119+ #
120+ # Depends on align-premises: without that step the dataloader joins
121+ # premise.proof_id against proof_state.id and fails at ~0% match because
122+ # merge_corpus.jl rewrites proof_state ids to fresh sequential counters
123+ # while the premise files keep the original per-extractor ids. Running
124+ # align-premises is idempotent and cheap (seconds on a 2M premise set).
125+ retrain : align-premises
126+ julia --project=src/ julia src/ julia/ run_training.jl
127+
128+ # Retrain without the align-premises prerequisite — use only when you
129+ # know premises_COMPLETE.jsonl is already aligned (e.g. you just ran
130+ # just align-premises manually and want to iterate on model code).
131+ retrain-skip-align :
120132 julia --project=src/ julia src/ julia/ run_training.jl
121133
122134# End-to-end pipeline: provision → extract → merge → align → retrain.
Original file line number Diff line number Diff line change @@ -11,7 +11,3 @@ repository = "https://github.com/hyperpolymath/echidna"
1111
1212[dependencies ]
1313anyhow = " 1"
14- async-trait = " 0.1"
15- tokio = { version = " 1" , features = [" full" ] }
16- serde = { version = " 1" , features = [" derive" ] }
17- serde_json = " 1"
You can’t perform that action at this time.
0 commit comments