GerardoCevallos commited on
Commit
4406b91
1 Parent(s): 6016405

Training complete

Browse files
Files changed (23) hide show
  1. .gitattributes +1 -0
  2. README.md +82 -0
  3. config.json +32 -0
  4. generation_config.json +6 -0
  5. model.safetensors +3 -0
  6. runs/Feb29_21-33-52_LAPTOP-JGR2QN7D/events.out.tfevents.1709260453.LAPTOP-JGR2QN7D.22696.0 +3 -0
  7. runs/Feb29_21-52-26_LAPTOP-JGR2QN7D/events.out.tfevents.1709261564.LAPTOP-JGR2QN7D.21708.0 +3 -0
  8. runs/Feb29_22-13-12_LAPTOP-JGR2QN7D/events.out.tfevents.1709262806.LAPTOP-JGR2QN7D.21832.0 +3 -0
  9. runs/Feb29_22-43-22_LAPTOP-JGR2QN7D/events.out.tfevents.1709264629.LAPTOP-JGR2QN7D.23044.0 +3 -0
  10. runs/Feb29_23-02-36_LAPTOP-JGR2QN7D/events.out.tfevents.1709265774.LAPTOP-JGR2QN7D.12256.0 +3 -0
  11. runs/Feb29_23-05-14_LAPTOP-JGR2QN7D/events.out.tfevents.1709265931.LAPTOP-JGR2QN7D.12256.1 +3 -0
  12. runs/Feb29_23-28-11_LAPTOP-JGR2QN7D/events.out.tfevents.1709267323.LAPTOP-JGR2QN7D.22468.0 +3 -0
  13. runs/Mar01_11-51-45_LAPTOP-JGR2QN7D/events.out.tfevents.1709311963.LAPTOP-JGR2QN7D.21596.0 +3 -0
  14. runs/Mar01_11-53-56_LAPTOP-JGR2QN7D/events.out.tfevents.1709312067.LAPTOP-JGR2QN7D.21596.1 +3 -0
  15. runs/Mar01_11-56-38_LAPTOP-JGR2QN7D/events.out.tfevents.1709312213.LAPTOP-JGR2QN7D.16536.0 +3 -0
  16. runs/Mar01_12-08-50_LAPTOP-JGR2QN7D/events.out.tfevents.1709312941.LAPTOP-JGR2QN7D.16536.1 +3 -0
  17. runs/Mar01_12-43-02_LAPTOP-JGR2QN7D/events.out.tfevents.1709314993.LAPTOP-JGR2QN7D.19780.0 +3 -0
  18. runs/Mar01_12-43-02_LAPTOP-JGR2QN7D/events.out.tfevents.1709316768.LAPTOP-JGR2QN7D.19780.1 +3 -0
  19. special_tokens_map.json +23 -0
  20. spiece.model +3 -0
  21. tokenizer.json +3 -0
  22. tokenizer_config.json +38 -0
  23. 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,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/mt5-small
4
+ tags:
5
+ - summarization
6
+ - generated_from_trainer
7
+ datasets:
8
+ - scientific_papers
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: scientific_papers
19
+ type: scientific_papers
20
+ config: pubmed
21
+ split: validation
22
+ args: pubmed
23
+ metrics:
24
+ - name: Rouge1
25
+ type: rouge
26
+ value: 7.0145
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 scientific_papers dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 3.5188
37
+ - Rouge1: 7.0145
38
+ - Rouge2: 1.8214
39
+ - Rougel: 5.8355
40
+ - Rougelsum: 6.2468
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: 2
61
+ - eval_batch_size: 2
62
+ - seed: 42
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: linear
65
+ - num_epochs: 4
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
70
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
71
+ | 17.5935 | 1.0 | 50 | 8.3763 | 1.0909 | 0.7547 | 1.0909 | 1.0909 |
72
+ | 10.9464 | 2.0 | 100 | 4.7599 | 3.5415 | 0.0 | 2.927 | 2.547 |
73
+ | 6.5498 | 3.0 | 150 | 3.6772 | 6.7136 | 1.8214 | 5.2193 | 5.925 |
74
+ | 6.0161 | 4.0 | 200 | 3.5188 | 7.0145 | 1.8214 | 5.8355 | 6.2468 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.37.2
80
+ - Pytorch 2.2.1+cpu
81
+ - Datasets 2.17.0
82
+ - 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.37.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.37.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2aac15ae5bf1f0d43faab6cf37f227b5a8d1d4eaa00768cf3dd476f9b461ed9
3
+ size 1200729512
runs/Feb29_21-33-52_LAPTOP-JGR2QN7D/events.out.tfevents.1709260453.LAPTOP-JGR2QN7D.22696.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eae25cd82f5ce9ca53623a0e256fd1444e42d5925f64dded064e9e95b8b1ce8
3
+ size 4689
runs/Feb29_21-52-26_LAPTOP-JGR2QN7D/events.out.tfevents.1709261564.LAPTOP-JGR2QN7D.21708.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d79c890c5b5d4753e27c55ff82ee652d0cef1268252f88e41b24e6b2839684f
3
+ size 4689
runs/Feb29_22-13-12_LAPTOP-JGR2QN7D/events.out.tfevents.1709262806.LAPTOP-JGR2QN7D.21832.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:297dbca6641d3efd40c2395e817172a89e447c8a8d013d7e73cb850b0a41c508
3
+ size 4687
runs/Feb29_22-43-22_LAPTOP-JGR2QN7D/events.out.tfevents.1709264629.LAPTOP-JGR2QN7D.23044.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ea18efc702ac389b7040935e3272fbe8d9b63e3cf725d9b2ce52570270995c0
3
+ size 4687
runs/Feb29_23-02-36_LAPTOP-JGR2QN7D/events.out.tfevents.1709265774.LAPTOP-JGR2QN7D.12256.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c107f1499065e57adace569b41f55d655be774d4be999ac82b1afc1df6de2323
3
+ size 4687
runs/Feb29_23-05-14_LAPTOP-JGR2QN7D/events.out.tfevents.1709265931.LAPTOP-JGR2QN7D.12256.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66ad8574f8043125d10f39803178de32f62754d715e8076bb8606827c0aee77b
3
+ size 4686
runs/Feb29_23-28-11_LAPTOP-JGR2QN7D/events.out.tfevents.1709267323.LAPTOP-JGR2QN7D.22468.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37a04bf74a25a44030f22ee3bec819fd91c0ec6c2653c91e8e2a90aeb22f2b34
3
+ size 4686
runs/Mar01_11-51-45_LAPTOP-JGR2QN7D/events.out.tfevents.1709311963.LAPTOP-JGR2QN7D.21596.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6127d977826026d97314458adced03dd414232420bed49c0ced9de174b25c9ed
3
+ size 4687
runs/Mar01_11-53-56_LAPTOP-JGR2QN7D/events.out.tfevents.1709312067.LAPTOP-JGR2QN7D.21596.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a73709e28f3a8f5b7841f50e39c826cf2ec8830867644ac8edce8a7a9a8e62b
3
+ size 4687
runs/Mar01_11-56-38_LAPTOP-JGR2QN7D/events.out.tfevents.1709312213.LAPTOP-JGR2QN7D.16536.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57f7e65852800494e0eef19e393854f16f2c8010c8e854e9e3ed8162b1319e4d
3
+ size 4840
runs/Mar01_12-08-50_LAPTOP-JGR2QN7D/events.out.tfevents.1709312941.LAPTOP-JGR2QN7D.16536.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:750e70430da5f9f73c08efad01ecc01e5b08217ecde889c8dab262794c93d846
3
+ size 9592
runs/Mar01_12-43-02_LAPTOP-JGR2QN7D/events.out.tfevents.1709314993.LAPTOP-JGR2QN7D.19780.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baf640b6097bf747e7546a675f2017869494fc02ad0147cc8b55e04df5b9f52e
3
+ size 7540
runs/Mar01_12-43-02_LAPTOP-JGR2QN7D/events.out.tfevents.1709316768.LAPTOP-JGR2QN7D.19780.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffde1a0db842d45f32a9b1c266f96df3a7fc0217d270895dd96e19d8ad8dea67
3
+ size 562
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:1e61a9218fac8f1c425496db9e52d35cacb7978912db376cb6f8029daa45d1c1
3
+ size 16330660
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:13a8cdfc6b6ffdf0a721751eedff9ef06dfeeecac233a626f5823eae3ef80d04
3
+ size 4856