ssiyer commited on
Commit
081e96d
1 Parent(s): c414760

Training complete

Browse files
.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,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/mt5-small
4
+ tags:
5
+ - summarization
6
+ - generated_from_trainer
7
+ datasets:
8
+ - xsum
9
+ metrics:
10
+ - rouge
11
+ model-index:
12
+ - name: mt5-small-finetuned-amazon-en-es
13
+ results:
14
+ - task:
15
+ name: Sequence-to-sequence Language Modeling
16
+ type: text2text-generation
17
+ dataset:
18
+ name: xsum
19
+ type: xsum
20
+ config: default
21
+ split: validation
22
+ args: default
23
+ metrics:
24
+ - name: Rouge1
25
+ type: rouge
26
+ value: 0.0706
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-small-finetuned-amazon-en-es
33
+
34
+ This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the xsum dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 5.4800
37
+ - Rouge1: 0.0706
38
+ - Rouge2: 0.0067
39
+ - Rougel: 0.058
40
+ - Rougelsum: 0.0654
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: 8
61
+ - eval_batch_size: 8
62
+ - seed: 42
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: linear
65
+ - num_epochs: 8
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
70
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
71
+ | No log | 1.0 | 13 | 7.7221 | 0.0369 | 0.0 | 0.0369 | 0.0366 |
72
+ | No log | 2.0 | 26 | 7.1952 | 0.0448 | 0.0 | 0.0452 | 0.0449 |
73
+ | No log | 3.0 | 39 | 6.5146 | 0.0442 | 0.0 | 0.0443 | 0.044 |
74
+ | 12.6754 | 4.0 | 52 | 6.2530 | 0.0745 | 0.008 | 0.0636 | 0.0679 |
75
+ | 12.6754 | 5.0 | 65 | 6.0200 | 0.0745 | 0.0069 | 0.0642 | 0.0693 |
76
+ | 12.6754 | 6.0 | 78 | 5.7336 | 0.0706 | 0.0067 | 0.058 | 0.0654 |
77
+ | 12.6754 | 7.0 | 91 | 5.5400 | 0.0706 | 0.0067 | 0.058 | 0.0654 |
78
+ | 9.1744 | 8.0 | 104 | 5.4800 | 0.0706 | 0.0067 | 0.058 | 0.0654 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.38.2
84
+ - Pytorch 2.2.1+cu118
85
+ - Datasets 2.17.1
86
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mt5-small",
3
+ "architectures": [
4
+ "MT5ForConditionalGeneration"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 1024,
8
+ "d_kv": 64,
9
+ "d_model": 512,
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": 8,
21
+ "num_heads": 6,
22
+ "num_layers": 8,
23
+ "pad_token_id": 0,
24
+ "relative_attention_max_distance": 128,
25
+ "relative_attention_num_buckets": 32,
26
+ "tie_word_embeddings": false,
27
+ "tokenizer_class": "T5Tokenizer",
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.38.2",
30
+ "use_cache": true,
31
+ "vocab_size": 250112
32
+ }
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.38.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:226370d261c4e2df76d679ba4b9f50dc1a8e35787b19173baf80151e0d71aa94
3
+ size 1200729512
runs/Mar01_00-41-17_ip-172-16-70-104.us-gov-west-1.compute.internal/events.out.tfevents.1709253754.ip-172-16-70-104.us-gov-west-1.compute.internal.35342.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d38da999ad5d54a75f5e55229f811b47efbbbbf4bae39d94191d6fe0e36f2884
3
+ size 4930
runs/Mar01_00-47-47_ip-172-16-70-104.us-gov-west-1.compute.internal/events.out.tfevents.1709254081.ip-172-16-70-104.us-gov-west-1.compute.internal.41557.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d44387c08249747b615526bb37ea657da903840ca078be2252d67b873049b0f
3
+ size 4931
runs/Mar01_12-49-31_ip-172-16-66-103.us-gov-west-1.compute.internal/events.out.tfevents.1709297387.ip-172-16-66-103.us-gov-west-1.compute.internal.16137.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e44961980dda0c3cad2f944014b447866d6206c9e4d966ec63ea4a29847d9c1
3
+ size 9766
runs/Mar01_12-49-31_ip-172-16-66-103.us-gov-west-1.compute.internal/events.out.tfevents.1709297581.ip-172-16-66-103.us-gov-west-1.compute.internal.16137.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2329ef36dec9b4ce60cf47b2098023caec49f7bd0f0e6cc8f23b5600952f4ff4
3
+ size 9409
runs/Mar01_12-49-31_ip-172-16-66-103.us-gov-west-1.compute.internal/events.out.tfevents.1709297742.ip-172-16-66-103.us-gov-west-1.compute.internal.16137.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:befcb13f4b66be28a4d5761209120335214bf4219ed08a5003536a3a205795b7
3
+ size 553
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:92dc1abb6dba9540c85a5e2b57077a602c295f3fffc068e3d95438b3c076ab81
3
+ size 16330659
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": true,
31
+ "eos_token": "</s>",
32
+ "extra_ids": 0,
33
+ "legacy": false,
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:e8802a48416e68ce1a0a631d609448c55c0fef046e53774f205cdbb298a84875
3
+ size 5112