edwinlaw commited on
Commit
e58a01d
1 Parent(s): 70a0742

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Helsinki-NLP/opus-mt-en-zh
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - bleu
8
+ model-index:
9
+ - name: opus-mt-cantonese-v2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # opus-mt-cantonese-v2
17
+
18
+ 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.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.8948
21
+ - Bleu: 4.1931
22
+ - Gen Len: 12.2403
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 20
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
53
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
54
+ | No log | 1.0 | 376 | 2.2222 | 1.4485 | 11.5939 |
55
+ | 2.5401 | 2.0 | 752 | 1.9855 | 1.9434 | 11.6465 |
56
+ | 1.7798 | 3.0 | 1128 | 1.8805 | 1.1681 | 11.9527 |
57
+ | 1.4633 | 4.0 | 1504 | 1.8257 | 4.4967 | 12.6944 |
58
+ | 1.4633 | 5.0 | 1880 | 1.7930 | 4.3143 | 12.4161 |
59
+ | 1.1973 | 6.0 | 2256 | 1.8002 | 4.3407 | 12.0053 |
60
+ | 1.0388 | 7.0 | 2632 | 1.7965 | 5.4944 | 12.4075 |
61
+ | 0.9027 | 8.0 | 3008 | 1.7912 | 4.1324 | 12.486 |
62
+ | 0.9027 | 9.0 | 3384 | 1.8020 | 4.5473 | 12.2044 |
63
+ | 0.7774 | 10.0 | 3760 | 1.8120 | 4.3802 | 12.2237 |
64
+ | 0.6928 | 11.0 | 4136 | 1.8218 | 5.683 | 12.484 |
65
+ | 0.6229 | 12.0 | 4512 | 1.8346 | 4.8839 | 12.229 |
66
+ | 0.6229 | 13.0 | 4888 | 1.8521 | 5.6593 | 12.2157 |
67
+ | 0.5645 | 14.0 | 5264 | 1.8634 | 4.2758 | 12.1684 |
68
+ | 0.5114 | 15.0 | 5640 | 1.8679 | 4.3432 | 12.2463 |
69
+ | 0.4809 | 16.0 | 6016 | 1.8734 | 4.7905 | 12.2224 |
70
+ | 0.4809 | 17.0 | 6392 | 1.8869 | 5.4113 | 12.2184 |
71
+ | 0.447 | 18.0 | 6768 | 1.8902 | 5.4278 | 12.2543 |
72
+ | 0.4278 | 19.0 | 7144 | 1.8943 | 4.2225 | 12.4095 |
73
+ | 0.4179 | 20.0 | 7520 | 1.8948 | 4.1931 | 12.2403 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.39.2
79
+ - Pytorch 2.2.1+cu121
80
+ - Datasets 2.18.0
81
+ - Tokenizers 0.15.2
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 65000
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 65000,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 65000,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.39.2"
16
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5ed811073c37d3188044f6f7ad22be1bf02a0099417733ce26f8d118ea3632d9
3
  size 309965092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130be9c02acc458e1ac86fff1b78d04251c02a9312b81fd90849f4fdaa48b69a
3
  size 309965092
runs/Apr02_02-11-01_ccdbbf4c8090/events.out.tfevents.1712023910.ccdbbf4c8090.423.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6610c1fc4fafecd94bd9cf21509e6ebad47800f4332f5827fcf84b589e2a32ee
3
- size 15808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e9a3220b404649419958d7c92b6c26adef7bfef7679c3ea1f48fc3b3cfe3c9a
3
+ size 16532