Views
No views yet
| Metric | Score |
|---|---|
| Micro-F1 | 0.5371 |
| Macro-F1 | 0.4428 |
| Subset Accuracy | 0.3230 |
| Hamming Accuracy | 0.9543 |
cnn_lstm_model.pt — model weights + config (load with torch.load)vocab.pkl — vocabulary dictionarythresholds_cnn_lstm.pkl — per-class decision thresholds (numpy array, shape 28)1import torch, pickle
2from lstm_model import CNNLSTMClassifier # from the Space repo
3
4ckpt = torch.load("cnn_lstm_model.pt", map_location="cpu")
5cfg = ckpt["config"]
6model = CNNLSTMClassifier(**cfg)
7model.load_state_dict(ckpt["state_dict"])
8model.eval()