cornell-movie-review-data/rotten_tomatoes
Viewer • Updated • 10.7k • 73.6k • 112
How to use Lepolesa/my_distilbert_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Lepolesa/my_distilbert_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Lepolesa/my_distilbert_model")
model = AutoModelForSequenceClassification.from_pretrained("Lepolesa/my_distilbert_model")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.4179 | 1.0 | 534 | 0.3769 | 0.8415 | 0.8413 | 0.8428 | 0.8415 |
| 0.2395 | 2.0 | 1068 | 0.4314 | 0.8490 | 0.8490 | 0.8490 | 0.8490 |
| 0.1638 | 3.0 | 1602 | 0.5344 | 0.8499 | 0.8499 | 0.8499 | 0.8499 |
Base model
distilbert/distilbert-base-uncased