Agriculture QA (fine-tuned google/flan-t5-base)
Generative question answering for farmer-style agriculture questions. Final model: E4 base lr=3e-4, all data, 5ep.
Includes gate.joblib, an out-of-domain gate (TF-IDF similarity / model confidence) used by the demo app.
Intended use: research and teaching demo, answering short agriculture questions. Not for: real pesticide or dosage decisions. Advice may be wrong or region-specific (Assam/India style data, local units such as bigha). Training data: see the GitHub README for source, preprocessing and limitations.
Test results (clean test set, n=699)
| experiment | rouge1 | rouge2 | rougeL | rougeL_95CI | dose_num_F1 | bertscore_f1 |
|---|---|---|---|---|---|---|
| Random train answer | 0.112 | 0.023 | 0.104 | [0.096, 0.112] | 0.106 | -0.038 |
| TF-IDF retrieval (baseline) | 0.336 | 0.182 | 0.311 | [0.293, 0.329] | 0.310 | 0.253 |
| FINAL E4 base lr=3e-4, all data, 5ep | 0.397 | 0.225 | 0.370 | [0.353, 0.387] | 0.330 | 0.326 |