Spaces:
Running
Running
Commit History
-
experiment: add classical TF-IDF baseline script
Stage 12: "Do not assume an LLM is automatically superior." Fits TF-IDF (20K features, 1-2 grams, min_df=2, fit on train text ONLY) + One-vs-Rest balanced Logistic Regression on the real 356-contract train split, scores against the real 77-contract test split using the identical BaselineEvaluator.compute_f1() protocol the local-LLM baseline uses -- same (contract, category) presence granularity, same zero-support exclusion, no protocol changes between the two comparisons. Actually run against real data this session -- see docs/PHASE2_BASELINE.md for the measured numbers (data/processed/classical_baseline_results.json is gitignored like the rest of data/processed/, so the real result is recorded in the committed doc, not only in the local, regenerable artifact).68f2a2d