luo commited on
Commit
867bf73
1 Parent(s): d5922e0

Training complete

Browse files
Files changed (2) hide show
  1. README.md +82 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/mt5-base
4
+ tags:
5
+ - summarization
6
+ - generated_from_trainer
7
+ datasets:
8
+ - xlsum
9
+ metrics:
10
+ - rouge
11
+ model-index:
12
+ - name: mt5-base-xlsum
13
+ results:
14
+ - task:
15
+ name: Sequence-to-sequence Language Modeling
16
+ type: text2text-generation
17
+ dataset:
18
+ name: xlsum
19
+ type: xlsum
20
+ config: ukrainian
21
+ split: train
22
+ args: ukrainian
23
+ metrics:
24
+ - name: Rouge1
25
+ type: rouge
26
+ value: 2.98
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
+ # mt5-base-xlsum
33
+
34
+ This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the xlsum dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 2.0396
37
+ - Rouge1: 2.98
38
+ - Rouge2: 0.1333
39
+ - Rougel: 3.0267
40
+ - Rougelsum: 2.9933
41
+
42
+ ## Model description
43
+
44
+ More information needed
45
+
46
+ ## Intended uses & limitations
47
+
48
+ More information needed
49
+
50
+ ## Training and evaluation data
51
+
52
+ More information needed
53
+
54
+ ## Training procedure
55
+
56
+ ### Training hyperparameters
57
+
58
+ The following hyperparameters were used during training:
59
+ - learning_rate: 5.6e-05
60
+ - train_batch_size: 2
61
+ - eval_batch_size: 2
62
+ - seed: 42
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: linear
65
+ - num_epochs: 4
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
70
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
71
+ | 5.3745 | 1.0 | 500 | 2.5041 | 1.0696 | 0.13 | 1.062 | 1.0629 |
72
+ | 3.413 | 2.0 | 1000 | 2.2178 | 1.8333 | 0.1333 | 1.84 | 1.8633 |
73
+ | 3.1052 | 3.0 | 1500 | 2.0844 | 3.14 | 0.2667 | 3.18 | 3.1733 |
74
+ | 2.9673 | 4.0 | 2000 | 2.0396 | 2.98 | 0.1333 | 3.0267 | 2.9933 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.34.0
80
+ - Pytorch 2.0.1+cu118
81
+ - Datasets 2.14.5
82
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 0,
3
+ "eos_token_id": 1,
4
+ "pad_token_id": 0,
5
+ "transformers_version": "4.34.0"
6
+ }