Downloads · 30 days
14
0% of all-time downloads
severo/autonlp-sentiment_detection-1781580
autonlp-sentiment_detection-1781580 is a text classification model from severo. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
14
0% of all-time downloads
All-time downloads
7.5K
Public
Parameters
109M
876 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
debug - I want to update this model
You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/severo/autonlp-sentiment_detection-1781580
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("severo/autonlp-sentiment_detection-1781580", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("severo/autonlp-sentiment_detection-1781580", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)