End of training
Browse files- README.md +93 -0
- config.json +33 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- special_tokens_map.json +23 -0
- spiece.model +3 -0
- tokenizer_config.json +39 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/mt5-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: mt5-rouge-durga-q1-clean
|
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-rouge-durga-q1-clean
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.7819
|
22 |
+
- Rouge1: 0.3074
|
23 |
+
- Rouge2: 0.0953
|
24 |
+
- Rougel: 0.3026
|
25 |
+
- Rougelsum: 0.3008
|
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.0003
|
45 |
+
- train_batch_size: 20
|
46 |
+
- eval_batch_size: 20
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 30
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
56 |
+
| 15.8442 | 1.0 | 3 | 11.1246 | 0.0148 | 0.0015 | 0.0152 | 0.0151 |
|
57 |
+
| 13.0661 | 2.0 | 6 | 9.3553 | 0.0226 | 0.0052 | 0.0219 | 0.0217 |
|
58 |
+
| 11.7048 | 3.0 | 9 | 8.0317 | 0.0198 | 0.0029 | 0.0177 | 0.0190 |
|
59 |
+
| 8.87 | 4.0 | 12 | 7.1382 | 0.0461 | 0.0105 | 0.0423 | 0.0406 |
|
60 |
+
| 11.0893 | 5.0 | 15 | 6.7905 | 0.0611 | 0.0106 | 0.0512 | 0.0503 |
|
61 |
+
| 9.8787 | 6.0 | 18 | 6.5255 | 0.0900 | 0.0224 | 0.0800 | 0.0782 |
|
62 |
+
| 9.8189 | 7.0 | 21 | 6.7007 | 0.0944 | 0.0231 | 0.0876 | 0.0861 |
|
63 |
+
| 8.2022 | 8.0 | 24 | 6.2109 | 0.0953 | 0.0227 | 0.0899 | 0.0910 |
|
64 |
+
| 8.5899 | 9.0 | 27 | 5.9520 | 0.0965 | 0.0171 | 0.0897 | 0.0914 |
|
65 |
+
| 7.5305 | 10.0 | 30 | 5.5748 | 0.0855 | 0.0157 | 0.0841 | 0.0821 |
|
66 |
+
| 7.0381 | 11.0 | 33 | 5.2219 | 0.0622 | 0.0095 | 0.0592 | 0.0585 |
|
67 |
+
| 6.675 | 12.0 | 36 | 4.8006 | 0.0529 | 0.0048 | 0.0499 | 0.0489 |
|
68 |
+
| 7.4134 | 13.0 | 39 | 4.3795 | 0.0693 | 0.0079 | 0.0635 | 0.0610 |
|
69 |
+
| 5.8722 | 14.0 | 42 | 3.9322 | 0.1060 | 0.0128 | 0.1003 | 0.1009 |
|
70 |
+
| 4.5875 | 15.0 | 45 | 3.5017 | 0.1012 | 0.0069 | 0.0968 | 0.0968 |
|
71 |
+
| 5.3675 | 16.0 | 48 | 3.1927 | 0.0944 | 0.0020 | 0.0915 | 0.0913 |
|
72 |
+
| 4.2999 | 17.0 | 51 | 2.8956 | 0.0890 | 0.0091 | 0.0831 | 0.0849 |
|
73 |
+
| 4.3349 | 18.0 | 54 | 2.7138 | 0.1164 | 0.0074 | 0.1114 | 0.1128 |
|
74 |
+
| 3.9688 | 19.0 | 57 | 2.5350 | 0.1122 | 0.0 | 0.1122 | 0.1121 |
|
75 |
+
| 4.2931 | 20.0 | 60 | 2.4138 | 0.1122 | 0.0 | 0.1122 | 0.1121 |
|
76 |
+
| 3.8427 | 21.0 | 63 | 2.3127 | 0.1122 | 0.0 | 0.1122 | 0.1121 |
|
77 |
+
| 3.2991 | 22.0 | 66 | 2.2054 | 0.1122 | 0.0 | 0.1122 | 0.1121 |
|
78 |
+
| 3.1351 | 23.0 | 69 | 2.1069 | 0.1122 | 0.0 | 0.1122 | 0.1121 |
|
79 |
+
| 3.023 | 24.0 | 72 | 2.0208 | 0.1142 | 0.0 | 0.1140 | 0.1139 |
|
80 |
+
| 3.4366 | 25.0 | 75 | 1.9500 | 0.1793 | 0.0352 | 0.1713 | 0.1711 |
|
81 |
+
| 2.7941 | 26.0 | 78 | 1.9068 | 0.3104 | 0.0909 | 0.3016 | 0.3005 |
|
82 |
+
| 2.9454 | 27.0 | 81 | 1.8419 | 0.3086 | 0.0940 | 0.3009 | 0.2984 |
|
83 |
+
| 2.6117 | 28.0 | 84 | 1.8775 | 0.3135 | 0.0955 | 0.3086 | 0.3067 |
|
84 |
+
| 2.6785 | 29.0 | 87 | 1.7772 | 0.3020 | 0.0946 | 0.2987 | 0.2968 |
|
85 |
+
| 2.7523 | 30.0 | 90 | 1.7819 | 0.3074 | 0.0953 | 0.3026 | 0.3008 |
|
86 |
+
|
87 |
+
|
88 |
+
### Framework versions
|
89 |
+
|
90 |
+
- Transformers 4.46.1
|
91 |
+
- Pytorch 2.5.0+cu121
|
92 |
+
- Datasets 3.0.2
|
93 |
+
- Tokenizers 0.20.1
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "t5",
|
20 |
+
"num_decoder_layers": 12,
|
21 |
+
"num_heads": 12,
|
22 |
+
"num_layers": 12,
|
23 |
+
"output_past": true,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"relative_attention_max_distance": 128,
|
26 |
+
"relative_attention_num_buckets": 32,
|
27 |
+
"tie_word_embeddings": false,
|
28 |
+
"tokenizer_class": "T5Tokenizer",
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.46.1",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 250112
|
33 |
+
}
|
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.46.1"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f6e678257cc2f60414fc4faa9851151847b17cbeff751cafe890aff7843067e
|
3 |
+
size 2329638768
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<pad>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
|
3 |
+
size 4309802
|
tokenizer_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<pad>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "<unk>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [],
|
30 |
+
"clean_up_tokenization_spaces": false,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"extra_ids": 0,
|
33 |
+
"legacy": true,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "<pad>",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"tokenizer_class": "T5Tokenizer",
|
38 |
+
"unk_token": "<unk>"
|
39 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d97947ffeb33081f5bd894a0bcda6d6fc4a153288013295243933ccb2bd5ab95
|
3 |
+
size 5432
|