File size: 2,077 Bytes
be46b6e |
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 66 67 68 69 70 71 72 |
---
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: []
---
<!-- 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. -->
# medical_en_zh_8_29
This model is a fine-tuned version of [Helsinki-NLP/opus-mt-en-zh](https://huggingface.co/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
|