Instructions to use beenakurian/autotrain-sentiment-analyzer-reddit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use beenakurian/autotrain-sentiment-analyzer-reddit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="beenakurian/autotrain-sentiment-analyzer-reddit")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("beenakurian/autotrain-sentiment-analyzer-reddit") model = AutoModelForSequenceClassification.from_pretrained("beenakurian/autotrain-sentiment-analyzer-reddit", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model Trained Using AutoTrain
- Problem type: Text Classification
Validation Metrics
loss: 0.4894636273384094
f1_macro: 0.7895193987806856
f1_micro: 0.8096960926193921
f1_weighted: 0.8045465713974906
precision_macro: 0.814875613105015
precision_micro: 0.8096960926193922
precision_weighted: 0.8193628961020867
recall_macro: 0.7801134533159866
recall_micro: 0.8096960926193922
recall_weighted: 0.8096960926193922
accuracy: 0.8096960926193922
- Downloads last month
- 136