File size: 2,066 Bytes
be46b6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3ed4fd
 
 
be46b6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3ed4fd
be46b6e
 
 
 
 
 
 
 
 
 
 
d3ed4fd
 
 
 
 
 
 
 
 
 
 
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.6159
- Bleu: 41.4839
- Gen Len: 77.4048

## 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.0004
- 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.5915        | 1.02  | 3000  | 1.4640          | 30.8193 | 76.572  |
| 1.2908        | 2.04  | 6000  | 1.2734          | 32.3053 | 76.897  |
| 1.0814        | 3.06  | 9000  | 1.1348          | 34.3605 | 77.2082 |
| 0.9083        | 4.08  | 12000 | 1.0246          | 34.9139 | 76.7213 |
| 0.7507        | 5.1   | 15000 | 0.9336          | 36.2245 | 76.6036 |
| 0.6046        | 6.12  | 18000 | 0.8291          | 37.987  | 77.326  |
| 0.4838        | 7.14  | 21000 | 0.7496          | 38.7572 | 77.2366 |
| 0.3861        | 8.16  | 24000 | 0.6730          | 40.3566 | 77.49   |
| 0.3203        | 9.19  | 27000 | 0.6159          | 41.4839 | 77.4048 |


### Framework versions

- Transformers 4.33.0.dev0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.13.3