stanfordnlp/imdb
Viewer • Updated • 100k • 184k • 389
How to use spolivin/minilm-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="spolivin/minilm-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("spolivin/minilm-imdb")
model = AutoModelForSequenceClassification.from_pretrained("spolivin/minilm-imdb")This model is a fine-tuned version of microsoft/MiniLM-L12-H384-uncased on 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.1511 | 1.0 | 293 | 0.2212 | 0.9234 | 0.9229 |
| 0.1047 | 2.0 | 586 | 0.2211 | 0.9230 | 0.9217 |
| 0.1008 | 3.0 | 879 | 0.2403 | 0.9229 | 0.9228 |
Base model
microsoft/MiniLM-L12-H384-uncased