cornell-movie-review-data/rotten_tomatoes
Viewer • Updated • 10.7k • 55.8k • 127
How to use vinay0261999/my_distilbert_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="vinay0261999/my_distilbert_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vinay0261999/my_distilbert_model")
model = AutoModelForSequenceClassification.from_pretrained("vinay0261999/my_distilbert_model", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the rotten_tomatoes dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.4173 | 1.0 | 534 | 0.3898 | 0.8433 | 0.8433 | 0.8433 | 0.8433 |
| 0.2526 | 2.0 | 1068 | 0.4618 | 0.8396 | 0.8395 | 0.8402 | 0.8396 |
| 0.1541 | 3.0 | 1602 | 0.5525 | 0.8405 | 0.8405 | 0.8405 | 0.8405 |