How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="spacesedan/sentiment-analysis-longformer")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("spacesedan/sentiment-analysis-longformer")
model = AutoModelForSequenceClassification.from_pretrained("spacesedan/sentiment-analysis-longformer")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 1.0463045835494995

f1_macro: 0.509019730829119

f1_micro: 0.5233333333333333

f1_weighted: 0.516464791683911

precision_macro: 0.5322711463107999

precision_micro: 0.5233333333333333

precision_weighted: 0.5447555045714482

recall_macro: 0.5207324546507

recall_micro: 0.5233333333333333

recall_weighted: 0.5233333333333333

accuracy: 0.5233333333333333

Downloads last month
2
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for spacesedan/sentiment-analysis-longformer

Finetuned
(135)
this model

Dataset used to train spacesedan/sentiment-analysis-longformer