Instructions to use muhtasham/tiny-mlm-imdb-from-scratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use muhtasham/tiny-mlm-imdb-from-scratch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="muhtasham/tiny-mlm-imdb-from-scratch")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("muhtasham/tiny-mlm-imdb-from-scratch") model = AutoModelForMaskedLM.from_pretrained("muhtasham/tiny-mlm-imdb-from-scratch") - Notebooks
- Google Colab
- Kaggle
File size: 1,696 Bytes
11333f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | ---
tags:
- generated_from_trainer
model-index:
- name: tiny-mlm-imdb-from-scratch
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# tiny-mlm-imdb-from-scratch
This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 7.0618
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 3e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: constant
- training_steps: 5000
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 9.2404 | 0.4 | 500 | 8.3748 |
| 7.7894 | 0.8 | 1000 | 7.4371 |
| 7.2197 | 1.2 | 1500 | 7.2251 |
| 7.1023 | 1.6 | 2000 | 7.1803 |
| 7.0728 | 2.0 | 2500 | 7.1613 |
| 7.0421 | 2.4 | 3000 | 7.1337 |
| 7.0211 | 2.8 | 3500 | 7.1215 |
| 6.9948 | 3.2 | 4000 | 7.0884 |
| 6.9785 | 3.6 | 4500 | 7.0775 |
| 6.9552 | 4.0 | 5000 | 7.0618 |
### Framework versions
- Transformers 4.26.0.dev0
- Pytorch 1.13.1+cu116
- Datasets 2.8.1.dev0
- Tokenizers 0.13.2
|