Downloads · 30 days
0
YatishW79/bilstm-goemotions
bilstm-goemotions is a text classification model from YatishW79. Use it when you need a label for a piece of text. The card lists the license as mit.
Bidirectional LSTM with additive attention for multi-label emotion classification on GoEmotions (28 labels).
Downloads · 30 days
0
Access
Public
Updated Apr 23, 2026
Repo size
14.7 MB
Likes
0
Public
Click a slice to open those files.
.pt14.5 MB · 99%
From the Hugging Face model README
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()