Views
No views yet
roberta-base, binary cross‑entropy loss (optionally focal loss), and grid‑search threshold tuning on the validation set.roberta-basepip install -r requirements.txtpython -m emoclass.train --config configs/base.yamlpython -m emoclass.inference --model_dir outputs/goemotions_roberta --text "I love this!" "This is awful."simplified variant.textlabelsroberta-base.roberta-baseresults.txt for an example run’s timing & throughput logs.simplified test.results.txt for the full log and any updates.)roberta-base) fine‑tuned with a sigmoid multi‑label head and BCE (or focal) loss.transformers, datasets, accelerate, evaluate, scikit-learn, optional peft.1@inproceedings{demszky2020goemotions,
2 title={GoEmotions: A Dataset of Fine-Grained Emotions},
3 author={Demszky, Dorottya and Movshovitz-Attias, Dana and Ko, Jeongwoo and Cowen, Alan and Nemade, Gaurav and Ravi, Sujith},
4 booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
5 year={2020}
6}configs/base.yaml documents tweakable knobs (loss type, LoRA, precision, etc.).outputs/ by default.