stanfordnlp/imdb
Viewer • Updated • 100k • 196k • 960
How to use knguyennguyen/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="knguyennguyen/my_awesome_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("knguyennguyen/my_awesome_model")
model = AutoModelForSequenceClassification.from_pretrained("knguyennguyen/my_awesome_model", device_map="auto")This model is a fine-tuned version of allenai/longformer-base-4096 on the imdb 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 |
|---|---|---|---|---|
| 0.3358 | 0.32 | 1000 | 0.2286 | 0.9349 |
| 0.2658 | 0.64 | 2000 | 0.2036 | 0.9447 |
| 0.2392 | 0.96 | 3000 | 0.2294 | 0.9504 |
| 0.1648 | 1.28 | 4000 | 0.2288 | 0.9518 |
| 0.1477 | 1.6 | 5000 | 0.2190 | 0.9532 |
| 0.1404 | 1.92 | 6000 | 0.2141 | 0.9553 |
Base model
allenai/longformer-base-4096