yassine benlaria commited on
Commit
90e3e43
1 Parent(s): 9760bb2

Model save

Browse files
Files changed (3) hide show
  1. README.md +66 -0
  2. generation_config.json +10 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: heisenberg1337/m2m100_418M_tq_fr
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - bleu
7
+ model-index:
8
+ - name: m2m100_418M_tq_fr_1
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # m2m100_418M_tq_fr_1
16
+
17
+ This model is a fine-tuned version of [heisenberg1337/m2m100_418M_tq_fr](https://huggingface.co/heisenberg1337/m2m100_418M_tq_fr) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.8665
20
+ - Bleu: 5.8216
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 5e-06
40
+ - train_batch_size: 12
41
+ - eval_batch_size: 12
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 8
44
+ - total_train_batch_size: 96
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 30
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Bleu |
52
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
53
+ | 0.8405 | 0.97 | 100 | 0.8682 | 5.4390 |
54
+ | 0.8303 | 1.94 | 200 | 0.8661 | 5.3736 |
55
+ | 0.8245 | 2.91 | 300 | 0.8616 | 5.5394 |
56
+ | 0.807 | 3.87 | 400 | 0.8632 | 5.4620 |
57
+ | 0.7954 | 4.84 | 500 | 0.8637 | 5.6718 |
58
+ | 0.7827 | 5.81 | 600 | 0.8665 | 5.8216 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.32.0
64
+ - Pytorch 2.0.0
65
+ - Datasets 2.1.0
66
+ - Tokenizers 0.13.3
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.32.0"
10
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:966a3b453c5fde34ef78bf1dc86a9d8cf9ac8c29a04a9050b56a5ccd19918678
3
  size 1935967745
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1400c9b73d4db2032e4a68abe0f7a8789112b1937547c79fda3c4767a049ac30
3
  size 1935967745