A small language model that files an airline incident under one tag, and a reviewer who can change that tag before it is stored.
Baggage notes, refund cases, cabin complaints, and safety reports land in the same free-text pile. The expensive mistake is sending a safety report to the service queue. This project fine-tunes Qwen2.5-1.5B-Instruct to answer with exactly one of SAFETY_RISK, BAGGAGE_CLAIM, FINANCIAL_DISPUTE, or SERVICE_FEEDBACK. The model does not draft a reply.
q_proj and v_proj, rank 8, alpha 16, trained with TRL SFTTrainer for 3 epochstrain.jsonl with the human label as the target, and are marked exported so a second click does not duplicate themevaluate.py prints base versus LoRA on the first five test rows. There is no pytest suiteThe sidebar tracks incidents audited, the human correction rate, and whether a prediction is still waiting for approval. Corrections are the next training set. Agreed tags are not exported. The training text is synthetic, built from templates rather than a live customer-care extract.
The full write-up covers the data files, the training settings, the audit table, and what a single Streamlit process does and does not cover at desk volume.