How harrishpanicker/analyzing-the-relationship-between-english-words-and-emotions-evoked-in-readers works
This repository presents a Streamlit emotion-classification dashboard backed by preserved RoBERTa artifacts. The user enters text, the app loads a model bundle and predicts labels, then displays results and comparisons; it also offers scheme and results visualizations. The README additionally describes the research workflow—clustering GoEmotions labels, fine-tuning models, and analyzing errors—but its implementation is not available in the sampled source. The app excerpt confirms model loading, prediction, and visualization helpers; some UI wiring is not shown.
Main entry points: app.py Streamlit dashboard · IMPLEMENTATION CODE.ipynb Model fine-tuning · config.json RoBERTa config · custom_labels.json Custom labels
Components 13
Research workflow
- Label clustering
IMPLEMENTATION CODE.ipynb - Model fine-tuning
IMPLEMENTATION CODE.ipynb - Error analysis
IMPLEMENTATION CODE.ipynb
Prediction runtime
- Model loading
GoEmotions_Artifacts/app.py - Text prediction
GoEmotions_Artifacts/app.py - Token highlighting
GoEmotions_Artifacts/app.py - RoBERTa config
GoEmotions_Artifacts/models/custom/roberta/config.json
Dashboard and analysis
- Streamlit dashboard
GoEmotions_Artifacts/app.py - Result visualizations
GoEmotions_Artifacts/app.py - Scheme comparison
GoEmotions_Artifacts/app.py - Custom labels
GoEmotions_Artifacts/custom_labels.json - Ekman labels
GoEmotions_Artifacts/ekman_labels.json
Other components
- User
Connections 12
- User → Streamlit dashboard: enters text
README.md - Streamlit dashboard → Model loading: requests bundle
GoEmotions_Artifacts/app.py - Model loading → Text prediction: provides bundle
GoEmotions_Artifacts/app.py - Text prediction → Model loading: uses bundle
GoEmotions_Artifacts/app.py - Streamlit dashboard → Token highlighting: requests highlights
GoEmotions_Artifacts/app.py - Streamlit dashboard → Result visualizations: shows results
GoEmotions_Artifacts/app.py - Streamlit dashboard → Scheme comparison: shows schemes
GoEmotions_Artifacts/app.py - Label clustering → Model fine-tuning: defines labels
README.md - Model fine-tuning → Error analysis: evaluates errors
README.md - Streamlit dashboard → Custom labels: loads labels
- Streamlit dashboard → Ekman labels: loads labels
- Model loading → RoBERTa config: reads config