Downloads · 30 days
11
20% of all-time downloads
Nn-n/emotion-classifier-meld
emotion-classifier-meld is a text classification model from Nn-n. Use it when you need a label for a piece of text.
This model classifies text input into emotional categories, trained on MELD.
Downloads · 30 days
11
20% of all-time downloads
All-time downloads
55
Public
Parameters
125M
997 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 input into emotional categories, trained on MELD.
import requests
API_URL = "https://api-inference.huggingface.co/models/Nn-n/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)
{"inputs": "Your text here"}