Instructions to use ali-khoshtinat/mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ali-khoshtinat/mlm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ali-khoshtinat/mlm")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ali-khoshtinat/mlm") model = AutoModelForMaskedLM.from_pretrained("ali-khoshtinat/mlm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
mlm
This model is a fine-tuned version of on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 4.5771
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: 0.0001
- train_batch_size: 64
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 200
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 6.0866 | 10.87 | 500 | 5.8241 |
| 5.1736 | 21.74 | 1000 | 5.3014 |
| 4.5378 | 32.61 | 1500 | 4.9272 |
| 4.019 | 43.48 | 2000 | 4.8975 |
| 3.595 | 54.35 | 2500 | 4.4323 |
| 3.2182 | 65.22 | 3000 | 4.5295 |
| 2.887 | 76.09 | 3500 | 4.6930 |
| 2.596 | 86.96 | 4000 | 4.5771 |
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0
- Downloads last month
- 6