Trains Spectre's local classifier artifact from a JSON dataset.
Dataset rows must contain "text" and either "label" or "intent".
Usage
mix spectre.classifier.train training/dataset.json artifacts/spectreOptions
--model- embedding model id.--accept-threshold- minimum top score for normal acceptance.--margin-threshold- minimum gap between first and second score.--high-confidence-threshold- score that accepts regardless of margin.