cornell-movie-review-data/rotten_tomatoes
Viewer โข Updated โข 10.7k โข 124k โข 131
Run PranavY2k/my_distilbert_model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/PranavY2k/my_distilbert_model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/PranavY2k/my_distilbert_model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use PranavY2k/my_distilbert_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="PranavY2k/my_distilbert_model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("PranavY2k/my_distilbert_model")
model = AutoModelForSequenceClassification.from_pretrained("PranavY2k/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.4222 | 1.0 | 534 | 0.3821 | 0.8424 | 0.8421 | 0.8450 | 0.8424 |
| 0.2558 | 2.0 | 1068 | 0.4620 | 0.8433 | 0.8432 | 0.8445 | 0.8433 |
| 0.1609 | 3.0 | 1602 | 0.5593 | 0.8433 | 0.8433 | 0.8438 | 0.8433 |
Base model
distilbert/distilbert-base-uncased