End of training
Browse files- README.md +91 -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,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/mt5-base
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: mt5-bleu4-durga-q1-clean
|
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 |
+
# mt5-bleu4-durga-q1-clean
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.7819
|
20 |
+
- Bleu1: 0.2072
|
21 |
+
- Bleu2: 0.1079
|
22 |
+
- Bleu3: 0.0666
|
23 |
+
- Bleu4: 0.0359
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0003
|
43 |
+
- train_batch_size: 20
|
44 |
+
- eval_batch_size: 20
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 30
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu1 | Bleu2 | Bleu3 | Bleu4 |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:------:|
|
54 |
+
| 15.8442 | 1.0 | 3 | 11.1246 | 0.0235 | 0.0 | 0.0 | 0.0 |
|
55 |
+
| 13.0661 | 2.0 | 6 | 9.3553 | 0.0373 | 0.0069 | 0.0 | 0.0 |
|
56 |
+
| 11.7048 | 3.0 | 9 | 8.0317 | 0.0320 | 0.0045 | 0.0 | 0.0 |
|
57 |
+
| 8.87 | 4.0 | 12 | 7.1382 | 0.0368 | 0.0088 | 0.0 | 0.0 |
|
58 |
+
| 11.0893 | 5.0 | 15 | 6.7905 | 0.0503 | 0.0150 | 0.0053 | 0.0 |
|
59 |
+
| 9.8787 | 6.0 | 18 | 6.5255 | 0.0643 | 0.0238 | 0.0109 | 0.0 |
|
60 |
+
| 9.8189 | 7.0 | 21 | 6.7007 | 0.0765 | 0.0289 | 0.0133 | 0.0 |
|
61 |
+
| 8.2022 | 8.0 | 24 | 6.2109 | 0.0867 | 0.0330 | 0.0134 | 0.0 |
|
62 |
+
| 8.5899 | 9.0 | 27 | 5.9520 | 0.0700 | 0.0239 | 0.0085 | 0.0 |
|
63 |
+
| 7.5305 | 10.0 | 30 | 5.5748 | 0.0667 | 0.0243 | 0.0123 | 0.0 |
|
64 |
+
| 7.0381 | 11.0 | 33 | 5.2219 | 0.0631 | 0.0204 | 0.0094 | 0.0054 |
|
65 |
+
| 6.675 | 12.0 | 36 | 4.8006 | 0.0613 | 0.0151 | 0.0076 | 0.0046 |
|
66 |
+
| 7.4134 | 13.0 | 39 | 4.3795 | 0.0661 | 0.0200 | 0.0090 | 0.0051 |
|
67 |
+
| 5.8722 | 14.0 | 42 | 3.9322 | 0.0940 | 0.0332 | 0.0165 | 0.0099 |
|
68 |
+
| 4.5875 | 15.0 | 45 | 3.5017 | 0.1155 | 0.0301 | 0.0136 | 0.0079 |
|
69 |
+
| 5.3675 | 16.0 | 48 | 3.1927 | 0.1203 | 0.0180 | 0.0 | 0.0 |
|
70 |
+
| 4.2999 | 17.0 | 51 | 2.8956 | 0.1320 | 0.0402 | 0.0201 | 0.0110 |
|
71 |
+
| 4.3349 | 18.0 | 54 | 2.7138 | 0.1057 | 0.0311 | 0.0148 | 0.0088 |
|
72 |
+
| 3.9688 | 19.0 | 57 | 2.5350 | 0.0745 | 0.0 | 0.0 | 0.0 |
|
73 |
+
| 4.2931 | 20.0 | 60 | 2.4138 | 0.0745 | 0.0 | 0.0 | 0.0 |
|
74 |
+
| 3.8427 | 21.0 | 63 | 2.3127 | 0.0745 | 0.0 | 0.0 | 0.0 |
|
75 |
+
| 3.2991 | 22.0 | 66 | 2.2054 | 0.0745 | 0.0 | 0.0 | 0.0 |
|
76 |
+
| 3.1351 | 23.0 | 69 | 2.1069 | 0.0745 | 0.0 | 0.0 | 0.0 |
|
77 |
+
| 3.023 | 24.0 | 72 | 2.0208 | 0.0755 | 0.0 | 0.0 | 0.0 |
|
78 |
+
| 3.4366 | 25.0 | 75 | 1.9500 | 0.1517 | 0.0725 | 0.0459 | 0.0272 |
|
79 |
+
| 2.7941 | 26.0 | 78 | 1.9068 | 0.2136 | 0.1135 | 0.0692 | 0.0370 |
|
80 |
+
| 2.9454 | 27.0 | 81 | 1.8419 | 0.2089 | 0.1113 | 0.0681 | 0.0365 |
|
81 |
+
| 2.6117 | 28.0 | 84 | 1.8775 | 0.2115 | 0.1122 | 0.0685 | 0.0367 |
|
82 |
+
| 2.6785 | 29.0 | 87 | 1.7772 | 0.2078 | 0.1086 | 0.0671 | 0.0361 |
|
83 |
+
| 2.7523 | 30.0 | 90 | 1.7819 | 0.2072 | 0.1079 | 0.0666 | 0.0359 |
|
84 |
+
|
85 |
+
|
86 |
+
### Framework versions
|
87 |
+
|
88 |
+
- Transformers 4.46.1
|
89 |
+
- Pytorch 2.5.0+cu121
|
90 |
+
- Datasets 3.0.2
|
91 |
+
- 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:a9497d45bf57a9a7d30d73a33f7ce8574f2ca89fe6ff3a4f7668628e5c9b7faa
|
3 |
+
size 5432
|