Downloads · 30 days
12
11% of all-time downloads
zainalq7/autotrain-NLU_crypto_sentiment_analysis-754123133
autotrain-NLU_crypto_sentiment_analysis-754123133 is a text classification model from zainalq7. Use it when you need a label for a piece of text. It is set up for transformers.
- Problem type: Multi-class Classification - Model ID: 754123133 - CO2 Emissions (in grams): 0.005300030853867218
Downloads · 30 days
12
11% of all-time downloads
All-time downloads
107
Public
Repo size
657 MB
Likes
3
Public
Click a slice to open those files.
.bin329 MB · 99%
From the Hugging Face model README
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 AutoTrain"}' https://api-inference.huggingface.co/models/zainalq7/autotrain-NLU_crypto_sentiment_analysis-754123133
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("zainalq7/autotrain-NLU_crypto_sentiment_analysis-754123133", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("zainalq7/autotrain-NLU_crypto_sentiment_analysis-754123133", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)