Text Classification
Transformers
PyTorch
English
roberta
Trained with AutoTrain
text-embeddings-inference
Instructions to use aujer/not_interested_v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aujer/not_interested_v0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aujer/not_interested_v0")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aujer/not_interested_v0") model = AutoModelForSequenceClassification.from_pretrained("aujer/not_interested_v0") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 1235146886
- CO2 Emissions (in grams): 2.3077
Validation Metrics
- Loss: 0.802
- Accuracy: 0.788
- Macro F1: 0.743
- Micro F1: 0.788
- Weighted F1: 0.782
- Macro Precision: 0.818
- Micro Precision: 0.788
- Weighted Precision: 0.796
- Macro Recall: 0.722
- Micro Recall: 0.788
- Weighted Recall: 0.788
Usage
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/aujer/autotrain-not_interested_3-1235146886
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("aujer/autotrain-not_interested_3-1235146886", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("aujer/autotrain-not_interested_3-1235146886", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 9