Skip to content

CRF ablations and learning curve - #46

Merged
professor3333 merged 1 commit into
mainfrom
experiments/crf-ablations
Nov 7, 2026
Merged

professor3333 merged 1 commit into
mainfrom
experiments/crf-ablations

Conversation

@professor3333

Copy link
Copy Markdown
Owner

Adds CRF context/part-of-speech ablations and a training-size learning curve, run from configs/experiments/crf-ablations.toml via scripts/experiments/crf_ablations.sh.

  • Code: CrfExtractor.train(use_context=, max_train_documents=), train --no-context --max-train-documents, and experiment runs family = "crf" configs (unknown settings rejected; bundles reused on resume). Old bundles load with context on.
  • Results (agreement with 172 model-drafted dev records, not accuracy): no clear difference from removing context (−0.006 typed F1 [−0.027, +0.020]) or POS (+0.002 [−0.025, +0.032]). Typed agreement 0.054 → 0.094 → 0.143 → 0.140 → 0.145 at 30/60/120/180/239 documents.
  • Reproducibility: the full-data run reproduces all 272 released crf-batches-01-02 predictions.
  • Test split untouched; nothing fitted on dev.

The CRF gains use_context and max_train_documents options, and the experiment runner now
runs CRF configs (family = "crf"). configs/experiments/crf-ablations.toml and
scripts/experiments/crf_ablations.sh measure, as agreement with the 172 model-drafted dev
records, that neither feature group makes a clear difference and that typed agreement stops
rising at about 120 training documents. The full-data run reproduces the released
crf-batches-01-02 predictions exactly.
@professor3333
professor3333 merged commit ac0966a into main Nov 7, 2026
2 checks passed
@professor3333
professor3333 deleted the experiments/crf-ablations branch November 7, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant