kazandaev commited on
Commit
5879dc8
1 Parent(s): 41d356e

Training complete

Browse files
Files changed (2) hide show
  1. README.md +79 -0
  2. generation_config.json +10 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: facebook/m2m100_1.2B
4
+ tags:
5
+ - translation
6
+ - generated_from_trainer
7
+ datasets:
8
+ - wmt16
9
+ metrics:
10
+ - bleu
11
+ model-index:
12
+ - name: m2m100_1.2B
13
+ results:
14
+ - task:
15
+ name: Sequence-to-sequence Language Modeling
16
+ type: text2text-generation
17
+ dataset:
18
+ name: wmt16
19
+ type: wmt16
20
+ config: ru-en
21
+ split: validation
22
+ args: ru-en
23
+ metrics:
24
+ - name: Bleu
25
+ type: bleu
26
+ value: 33.3632
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # m2m100_1.2B
33
+
34
+ This model is a fine-tuned version of [facebook/m2m100_1.2B](https://huggingface.co/facebook/m2m100_1.2B) on the wmt16 dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.8189
37
+ - Bleu: 33.3632
38
+ - Gen Len: 36.176
39
+
40
+ ## Model description
41
+
42
+ More information needed
43
+
44
+ ## Intended uses & limitations
45
+
46
+ More information needed
47
+
48
+ ## Training and evaluation data
49
+
50
+ More information needed
51
+
52
+ ## Training procedure
53
+
54
+ ### Training hyperparameters
55
+
56
+ The following hyperparameters were used during training:
57
+ - learning_rate: 2e-05
58
+ - train_batch_size: 4
59
+ - eval_batch_size: 1
60
+ - seed: 42
61
+ - gradient_accumulation_steps: 10
62
+ - total_train_batch_size: 40
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: linear
65
+ - num_epochs: 1
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
70
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|
71
+ | 0.7163 | 1.0 | 47790 | 0.8189 | 33.3632 | 36.176 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.34.0
77
+ - Pytorch 2.0.1
78
+ - Datasets 2.14.5
79
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "max_length": 200,
7
+ "num_beams": 5,
8
+ "pad_token_id": 1,
9
+ "transformers_version": "4.34.0"
10
+ }