Instructions to use YassineBenlaria/m2m100_418M_tq_fr_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YassineBenlaria/m2m100_418M_tq_fr_1 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("YassineBenlaria/m2m100_418M_tq_fr_1") model = AutoModelForSeq2SeqLM.from_pretrained("YassineBenlaria/m2m100_418M_tq_fr_1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
m2m100_418M_tq_fr_1
This model is a fine-tuned version of heisenberg1337/m2m100_418M_tq_fr on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.8665
- Bleu: 5.8216
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: 5e-06
- train_batch_size: 12
- eval_batch_size: 12
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 96
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 30
Training results
| Training Loss | Epoch | Step | Validation Loss | Bleu |
|---|---|---|---|---|
| 0.8405 | 0.97 | 100 | 0.8682 | 5.4390 |
| 0.8303 | 1.94 | 200 | 0.8661 | 5.3736 |
| 0.8245 | 2.91 | 300 | 0.8616 | 5.5394 |
| 0.807 | 3.87 | 400 | 0.8632 | 5.4620 |
| 0.7954 | 4.84 | 500 | 0.8637 | 5.6718 |
| 0.7827 | 5.81 | 600 | 0.8665 | 5.8216 |
Framework versions
- Transformers 4.32.0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.13.3
- Downloads last month
- 11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support