google-research-datasets/go_emotions
Viewer β’ Updated β’ 265k β’ 22.3k β’ 262
Bidirectional LSTM with additive attention for multi-label emotion classification on GoEmotions (28 labels).
CS6120 NLP Project β Northeastern University
| Metric | Score |
|---|---|
| Micro-F1 | 0.5415 |
| Macro-F1 | 0.4548 |
| Subset Accuracy | 0.3055 |
| Hamming Accuracy | 0.9531 |
lstm_model.pt β model weights + config (load with torch.load)vocab.pkl β vocabulary dictionarythresholds_lstm.pkl β per-class decision thresholds (numpy array, shape 28)import torch, pickle
from lstm_model import BiLSTMClassifier # from the Space repo
ckpt = torch.load("lstm_model.pt", map_location="cpu")
cfg = ckpt["config"]
model = BiLSTMClassifier(**cfg)
model.load_state_dict(ckpt["state_dict"])
model.eval()