stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 465
How to use muhtasham/small-mlm-tweet-target-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="muhtasham/small-mlm-tweet-target-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("muhtasham/small-mlm-tweet-target-imdb")
model = AutoModelForSequenceClassification.from_pretrained("muhtasham/small-mlm-tweet-target-imdb", device_map="auto")This model is a fine-tuned version of muhtasham/small-mlm-tweet 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 | F1 |
|---|---|---|---|---|---|
| 0.3515 | 0.64 | 500 | 0.1494 | 0.9388 | 0.9684 |
| 0.2452 | 1.28 | 1000 | 0.1439 | 0.9450 | 0.9717 |
| 0.1956 | 1.92 | 1500 | 0.2199 | 0.9156 | 0.9559 |
| 0.1398 | 2.56 | 2000 | 0.4328 | 0.876 | 0.9339 |
| 0.1102 | 3.2 | 2500 | 0.4422 | 0.8878 | 0.9406 |