YoussefAnwar commited on
Commit
81079ab
·
verified ·
1 Parent(s): 3bfc939

End of training

Browse files
Files changed (2) hide show
  1. README.md +72 -0
  2. generation_config.json +10 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/mt5-small
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - rouge
9
+ model-index:
10
+ - name: mt5-summarize-ar-en
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mt5-summarize-ar-en
18
+
19
+ This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.9127
22
+ - Rouge1: 0.4091
23
+ - Rouge2: 0.2216
24
+ - Rougel: 0.3747
25
+ - Rougelsum: 0.3744
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.0005
45
+ - train_batch_size: 4
46
+ - eval_batch_size: 2
47
+ - seed: 42
48
+ - gradient_accumulation_steps: 8
49
+ - total_train_batch_size: 32
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 90
53
+ - num_epochs: 1
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
59
+ | 4.731 | 0.16 | 100 | 3.7741 | 0.3274 | 0.1592 | 0.2979 | 0.2977 |
60
+ | 3.9076 | 0.32 | 200 | 3.3310 | 0.3424 | 0.1696 | 0.3120 | 0.3125 |
61
+ | 3.7287 | 0.48 | 300 | 3.0822 | 0.3820 | 0.1995 | 0.3503 | 0.3501 |
62
+ | 3.6632 | 0.64 | 400 | 3.0226 | 0.3977 | 0.2148 | 0.3621 | 0.3621 |
63
+ | 3.3942 | 0.8 | 500 | 2.9377 | 0.4041 | 0.2151 | 0.3675 | 0.3672 |
64
+ | 3.4731 | 0.96 | 600 | 2.9127 | 0.4091 | 0.2216 | 0.3747 | 0.3744 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.45.1
70
+ - Pytorch 2.4.0
71
+ - Datasets 3.0.1
72
+ - Tokenizers 0.20.0
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "eos_token_id": 1,
4
+ "length_penalty": 0.6,
5
+ "max_length": 128,
6
+ "no_repeat_ngram_size": 2,
7
+ "num_beams": 15,
8
+ "pad_token_id": 0,
9
+ "transformers_version": "4.45.1"
10
+ }