stanfordnlp/imdb
Viewer • Updated • 100k • 183k • 465
How to use rasyosef/bert-tiny-domain-adapted-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="rasyosef/bert-tiny-domain-adapted-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("rasyosef/bert-tiny-domain-adapted-imdb")
model = AutoModelForMaskedLM.from_pretrained("rasyosef/bert-tiny-domain-adapted-imdb", device_map="auto")This model is a fine-tuned version of prajjwal1/bert-tiny on the imdb dataset. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.1563 | 1.0 | 782 | 3.7462 |
| 4.0555 | 2.0 | 1564 | 3.6977 |
| 4.0285 | 3.0 | 2346 | 3.6963 |
Base model
prajjwal1/bert-tiny