End of training
Browse files- .gitattributes +1 -0
- README.md +110 -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.json +3 -0
- tokenizer_config.json +38 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: cs_mT5-large2_0.01_50_v0.1
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# cs_mT5-large2_0.01_50_v0.1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/mt5-large](https://huggingface.co/google/mt5-large) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 7.9807
|
21 |
+
- Bleu: 0.6899
|
22 |
+
- Gen Len: 19.0
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 0.01
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 50
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|
|
53 |
+
| 2.6703 | 1.0 | 6 | 8.3163 | 0.0 | 19.0 |
|
54 |
+
| 3.3427 | 2.0 | 12 | 6.5085 | 0.5004 | 19.0 |
|
55 |
+
| 2.8652 | 3.0 | 18 | 7.0200 | 0.6899 | 19.0 |
|
56 |
+
| 2.9454 | 4.0 | 24 | 7.3333 | 0.2191 | 19.0 |
|
57 |
+
| 2.7918 | 5.0 | 30 | 7.5745 | 0.4671 | 12.0 |
|
58 |
+
| 3.5645 | 6.0 | 36 | 6.3676 | 0.0 | 19.0 |
|
59 |
+
| 3.0885 | 7.0 | 42 | 7.0359 | 0.6908 | 19.0 |
|
60 |
+
| 3.5374 | 8.0 | 48 | 6.8709 | 0.1154 | 12.3333 |
|
61 |
+
| 3.3746 | 9.0 | 54 | 6.4090 | 0.0 | 19.0 |
|
62 |
+
| 2.5927 | 10.0 | 60 | 6.7357 | 0.6381 | 19.0 |
|
63 |
+
| 2.581 | 11.0 | 66 | 6.5953 | 0.2635 | 19.0 |
|
64 |
+
| 4.1786 | 12.0 | 72 | 7.8617 | 0.2068 | 19.0 |
|
65 |
+
| 2.8545 | 13.0 | 78 | 6.2553 | 0.1628 | 19.0 |
|
66 |
+
| 2.8925 | 14.0 | 84 | 6.6297 | 0.612 | 19.0 |
|
67 |
+
| 3.2424 | 15.0 | 90 | 7.0312 | 0.7377 | 19.0 |
|
68 |
+
| 2.379 | 16.0 | 96 | 6.9121 | 0.6562 | 19.0 |
|
69 |
+
| 2.2356 | 17.0 | 102 | 6.9446 | 0.2759 | 15.0 |
|
70 |
+
| 3.0548 | 18.0 | 108 | 7.5770 | 0.1529 | 19.0 |
|
71 |
+
| 2.4637 | 19.0 | 114 | 7.1444 | 0.4497 | 19.0 |
|
72 |
+
| 2.96 | 20.0 | 120 | 6.8181 | 0.3779 | 11.0 |
|
73 |
+
| 2.2016 | 21.0 | 126 | 6.6893 | 0.6562 | 19.0 |
|
74 |
+
| 1.9774 | 22.0 | 132 | 7.3802 | 0.3807 | 19.0 |
|
75 |
+
| 1.6734 | 23.0 | 138 | 6.7319 | 0.5405 | 19.0 |
|
76 |
+
| 3.1958 | 24.0 | 144 | 7.1645 | 1.2379 | 19.0 |
|
77 |
+
| 3.1363 | 25.0 | 150 | 7.7097 | 0.3794 | 19.0 |
|
78 |
+
| 2.4353 | 26.0 | 156 | 6.9324 | 0.2522 | 14.0 |
|
79 |
+
| 2.8675 | 27.0 | 162 | 6.7989 | 0.1488 | 19.0 |
|
80 |
+
| 1.7486 | 28.0 | 168 | 7.1052 | 0.7123 | 19.0 |
|
81 |
+
| 2.775 | 29.0 | 174 | 7.0195 | 0.7393 | 19.0 |
|
82 |
+
| 1.8752 | 30.0 | 180 | 6.9133 | 0.2119 | 19.0 |
|
83 |
+
| 1.7576 | 31.0 | 186 | 7.2143 | 0.2641 | 19.0 |
|
84 |
+
| 2.2793 | 32.0 | 192 | 7.0029 | 1.1166 | 19.0 |
|
85 |
+
| 1.98 | 33.0 | 198 | 6.9954 | 0.5348 | 19.0 |
|
86 |
+
| 1.4242 | 34.0 | 204 | 7.5163 | 0.2088 | 19.0 |
|
87 |
+
| 2.413 | 35.0 | 210 | 7.0622 | 0.1433 | 19.0 |
|
88 |
+
| 1.2191 | 36.0 | 216 | 7.0088 | 0.5307 | 12.0 |
|
89 |
+
| 1.5944 | 37.0 | 222 | 7.7706 | 0.1948 | 19.0 |
|
90 |
+
| 1.0044 | 38.0 | 228 | 7.7163 | 0.8485 | 18.4286 |
|
91 |
+
| 1.4428 | 39.0 | 234 | 7.4919 | 0.6033 | 19.0 |
|
92 |
+
| 3.0175 | 40.0 | 240 | 7.4158 | 0.5109 | 19.0 |
|
93 |
+
| 1.3632 | 41.0 | 246 | 6.9819 | 0.4326 | 11.0 |
|
94 |
+
| 1.8384 | 42.0 | 252 | 7.0156 | 0.6215 | 18.2381 |
|
95 |
+
| 1.3237 | 43.0 | 258 | 7.2082 | 0.4826 | 19.0 |
|
96 |
+
| 1.1516 | 44.0 | 264 | 7.5088 | 0.4745 | 18.8571 |
|
97 |
+
| 1.3893 | 45.0 | 270 | 7.7298 | 0.4527 | 19.0 |
|
98 |
+
| 1.0125 | 46.0 | 276 | 7.8458 | 0.832 | 14.0 |
|
99 |
+
| 0.8954 | 47.0 | 282 | 7.9101 | 0.7754 | 17.5714 |
|
100 |
+
| 1.8111 | 48.0 | 288 | 7.9713 | 0.6899 | 19.0 |
|
101 |
+
| 1.2008 | 49.0 | 294 | 7.9821 | 0.6899 | 19.0 |
|
102 |
+
| 1.5131 | 50.0 | 300 | 7.9807 | 0.6899 | 19.0 |
|
103 |
+
|
104 |
+
|
105 |
+
### Framework versions
|
106 |
+
|
107 |
+
- Transformers 4.35.2
|
108 |
+
- Pytorch 1.13.1+cu117
|
109 |
+
- Datasets 2.17.0
|
110 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-large",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2816,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 1024,
|
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": "mt5",
|
20 |
+
"num_decoder_layers": 24,
|
21 |
+
"num_heads": 16,
|
22 |
+
"num_layers": 24,
|
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.35.2",
|
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.35.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd6adf4b6cdf1724dfb4034b3ba6f79ed33c7d942aa4d11896755a0121048ee0
|
3 |
+
size 4918393736
|
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.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c816e64ca5739a75c4a484bbff22b624131f1b667f423dbeaeaa053b501fdafe
|
3 |
+
size 16330559
|
tokenizer_config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<unk>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"additional_special_tokens": [],
|
29 |
+
"clean_up_tokenization_spaces": true,
|
30 |
+
"eos_token": "</s>",
|
31 |
+
"extra_ids": 0,
|
32 |
+
"legacy": true,
|
33 |
+
"model_max_length": 1000000000000000019884624838656,
|
34 |
+
"pad_token": "<pad>",
|
35 |
+
"sp_model_kwargs": {},
|
36 |
+
"tokenizer_class": "T5Tokenizer",
|
37 |
+
"unk_token": "<unk>"
|
38 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b4bf09eaf556bc5f67a5eea3864678171ca36d6a0d079191aebbcc71795ec0d
|
3 |
+
size 4347
|