Downloads · 30 days
12
28% of all-time downloads
Nn-n/test-proto-2
test-proto-2 is a text classification model from Nn-n. Use it when you need a label for a piece of text. The card lists the license as mit.
This model classifies text into emotional categories based on the MELD (Multimodal EmotionLines Dataset) dataset. It can detect 7 emotions: anger, disgust, fear, joy, neutral, sadness, and surprise.
Downloads · 30 days
12
28% of all-time downloads
All-time downloads
43
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model classifies text into emotional categories based on the MELD (Multimodal EmotionLines Dataset) dataset. It can detect 7 emotions: anger, disgust, fear, joy, neutral, sadness, and surprise.
This model is designed to classify text into emotional categories. It can be used for:
import requests
API_URL = "https://api-inference.huggingface.co/models/YourUsername/emotion-classifier-meld"
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
output = query({"inputs": "I'm feeling excited!"})
print(output)
This model should be used responsibly. Consider the following ethical guidelines:
If you use this model, please cite the MELD dataset:
@inproceedings{poria-etal-2019-meld,
title = "{MELD}: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversations",
author = "Poria, Soujanya and
Hazarika, Devamanyu and
Majumder, Navonil and
Naik, Gautam and
Cambria, Erik and
Mihalcea, Rada",
booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics",
year = "2019",
publisher = "Association for Computational Linguistics",
pages = "527--536"
}