End of training
Browse files- README.md +79 -0
- config.json +33 -0
- generation_config.json +7 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +5 -0
- spiece.model +3 -0
- tokenizer_config.json +13 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: mT5-TextSimp-LT-BatchSize12-lr1e-4
|
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 |
+
# mT5-TextSimp-LT-BatchSize12-lr1e-4
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1611
|
21 |
+
- Rouge1: 0.4599
|
22 |
+
- Rouge2: 0.2777
|
23 |
+
- Rougel: 0.4471
|
24 |
+
- Gen Len: 39.0358
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 5e-05
|
44 |
+
- train_batch_size: 4
|
45 |
+
- eval_batch_size: 4
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- lr_scheduler_warmup_steps: 500
|
50 |
+
- num_epochs: 8
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:--------:|
|
56 |
+
| 36.6446 | 0.48 | 200 | 31.2765 | 0.0004 | 0.0 | 0.0004 | 512.0 |
|
57 |
+
| 11.5223 | 0.96 | 400 | 6.7786 | 0.003 | 0.0 | 0.0031 | 89.2816 |
|
58 |
+
| 2.2686 | 1.44 | 600 | 0.6729 | 0.0053 | 0.0 | 0.0053 | 39.0501 |
|
59 |
+
| 0.7009 | 1.91 | 800 | 0.6529 | 0.0029 | 0.0 | 0.0027 | 41.401 |
|
60 |
+
| 0.6213 | 2.39 | 1000 | 0.5630 | 0.0057 | 0.0002 | 0.0056 | 39.0334 |
|
61 |
+
| 0.6435 | 2.87 | 1200 | 0.4697 | 0.0685 | 0.0084 | 0.0611 | 39.0453 |
|
62 |
+
| 0.4154 | 3.35 | 1400 | 10.4655 | 0.2093 | 0.1217 | 0.2006 | 350.0334 |
|
63 |
+
| 0.6289 | 3.83 | 1600 | 1.9257 | 0.317 | 0.1946 | 0.3064 | 138.7494 |
|
64 |
+
| 3.5542 | 4.31 | 1800 | 0.8459 | 0.3735 | 0.204 | 0.3613 | 59.8568 |
|
65 |
+
| 8.1736 | 4.78 | 2000 | 7.2350 | 0.3144 | 0.1819 | 0.3037 | 289.1432 |
|
66 |
+
| 2.3987 | 5.26 | 2200 | 0.8361 | 0.3621 | 0.1911 | 0.351 | 61.0668 |
|
67 |
+
| 0.9853 | 5.74 | 2400 | 0.4219 | 0.3634 | 0.2008 | 0.352 | 46.494 |
|
68 |
+
| 0.3575 | 6.22 | 2600 | 0.3516 | 0.3805 | 0.2128 | 0.3689 | 46.1623 |
|
69 |
+
| 0.4497 | 6.7 | 2800 | 0.2597 | 0.4388 | 0.2698 | 0.4269 | 42.2697 |
|
70 |
+
| 0.2582 | 7.18 | 3000 | 0.1583 | 0.4444 | 0.2587 | 0.4316 | 38.1671 |
|
71 |
+
| 0.2629 | 7.66 | 3200 | 0.1611 | 0.4599 | 0.2777 | 0.4471 | 39.0358 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.33.0
|
77 |
+
- Pytorch 2.1.2+cu121
|
78 |
+
- Datasets 2.14.4
|
79 |
+
- Tokenizers 0.13.3
|
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.33.0",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 250112
|
33 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.33.0"
|
7 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e9241d7b07650a21c5d4e0106309f8cf0079e8ccfe6cab7fc19c6aaf78b6fae
|
3 |
+
size 2329703026
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
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,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"extra_ids": 0,
|
6 |
+
"legacy": true,
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"pad_token": "<pad>",
|
9 |
+
"sp_model_kwargs": {},
|
10 |
+
"tokenizer_class": "T5Tokenizer",
|
11 |
+
"tokenizer_file": null,
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff5005c7d54a560037d00e2b1e079a4f3f8bc5bee7176c4f954e6e1b248a44f0
|
3 |
+
size 4536
|