metadata
license: apache-2.0
base_model: Helsinki-NLP/opus-mt-en-zh
tags:
- generated_from_trainer
metrics:
- bleu
model-index:
- name: medical_en_zh_8_29
results: []
medical_en_zh_8_29
This model is a fine-tuned version of Helsinki-NLP/opus-mt-en-zh on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.8832
- Bleu: 37.4827
- Gen Len: 126.8591
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: 8e-05
- train_batch_size: 8
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
Training results
Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
---|---|---|---|---|---|
1.5517 | 1.02 | 3000 | 1.3893 | 30.6374 | 128.9001 |
1.2621 | 2.04 | 6000 | 1.2044 | 31.9025 | 128.2471 |
1.116 | 3.06 | 9000 | 1.1085 | 34.723 | 125.0336 |
1.0159 | 4.08 | 12000 | 1.0374 | 35.3902 | 126.2187 |
0.9338 | 5.1 | 15000 | 0.9952 | 36.0916 | 125.306 |
0.8658 | 6.12 | 18000 | 0.9503 | 36.7602 | 126.7424 |
0.8146 | 7.14 | 21000 | 0.9213 | 36.7016 | 126.5226 |
0.7804 | 8.16 | 24000 | 0.8997 | 37.0674 | 127.4143 |
0.759 | 9.19 | 27000 | 0.8832 | 37.4827 | 126.8591 |
Framework versions
- Transformers 4.33.0.dev0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.13.3