Downloads · 30 days
7
2% of all-time downloads
tradero/distilbert-user-intent
distilbert-user-intent is a text classification model from tradero. 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: 49241119078 - CO2 Emissions (in grams): 0.4690
Downloads · 30 days
7
2% of all-time downloads
All-time downloads
448
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin557 MB · 99%
From the Hugging Face model README
Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("tradero/distilbert-user-intent", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("tradero/distilbert-user-intent", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)