rhaymison commited on
Commit
a0cc83b
1 Parent(s): 3cf42d5

End of training

Browse files
Files changed (5) hide show
  1. README.md +83 -0
  2. config.json +62 -0
  3. generation_config.json +6 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/flan-t5-small
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: flan-t5-base
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
+ # flan-t5-base
17
+
18
+ This model is a fine-tuned version of [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.7474
21
+ - Rouge1: 15.6258
22
+ - Rouge2: 5.8684
23
+ - Rougel: 13.5135
24
+ - Rougelsum: 14.5266
25
+ - Gen Len: 19.0
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - gradient_accumulation_steps: 2
49
+ - total_train_batch_size: 16
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
57
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:|
58
+ | 2.3424 | 0.27 | 500 | 2.0519 | 13.8547 | 4.8819 | 12.0331 | 12.8514 | 19.0 |
59
+ | 2.1616 | 0.53 | 1000 | 1.9535 | 14.7848 | 5.382 | 12.8365 | 13.6475 | 19.0 |
60
+ | 2.0723 | 0.8 | 1500 | 1.9142 | 14.6906 | 5.434 | 12.8341 | 13.6491 | 19.0 |
61
+ | 2.0202 | 1.07 | 2000 | 1.8883 | 14.8456 | 5.5148 | 12.7977 | 13.7626 | 19.0 |
62
+ | 1.9921 | 1.33 | 2500 | 1.8473 | 14.8381 | 5.555 | 12.791 | 13.6959 | 19.0 |
63
+ | 1.9539 | 1.6 | 3000 | 1.8293 | 15.2161 | 5.7276 | 13.1915 | 14.1315 | 19.0 |
64
+ | 1.9455 | 1.87 | 3500 | 1.8166 | 15.2705 | 5.6751 | 13.2908 | 14.2064 | 19.0 |
65
+ | 1.9266 | 2.13 | 4000 | 1.8018 | 15.303 | 5.7225 | 13.2318 | 14.1942 | 19.0 |
66
+ | 1.8949 | 2.4 | 4500 | 1.7904 | 15.7181 | 6.0653 | 13.6993 | 14.5572 | 19.0 |
67
+ | 1.906 | 2.67 | 5000 | 1.7814 | 15.7143 | 5.9897 | 13.6178 | 14.5986 | 19.0 |
68
+ | 1.8737 | 2.93 | 5500 | 1.7706 | 15.4469 | 5.8011 | 13.3005 | 14.3128 | 19.0 |
69
+ | 1.8779 | 3.2 | 6000 | 1.7668 | 15.6243 | 5.9534 | 13.5025 | 14.5397 | 19.0 |
70
+ | 1.8638 | 3.47 | 6500 | 1.7629 | 15.3433 | 5.6495 | 13.251 | 14.3 | 19.0 |
71
+ | 1.8644 | 3.73 | 7000 | 1.7559 | 15.4275 | 5.6924 | 13.2484 | 14.3135 | 19.0 |
72
+ | 1.8389 | 4.0 | 7500 | 1.7522 | 15.5374 | 5.8713 | 13.4588 | 14.4702 | 19.0 |
73
+ | 1.8467 | 4.27 | 8000 | 1.7507 | 15.47 | 5.7876 | 13.3985 | 14.4401 | 19.0 |
74
+ | 1.8287 | 4.53 | 8500 | 1.7502 | 15.4761 | 5.7342 | 13.3502 | 14.4118 | 19.0 |
75
+ | 1.8439 | 4.8 | 9000 | 1.7474 | 15.6258 | 5.8684 | 13.5135 | 14.5266 | 19.0 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.38.2
81
+ - Pytorch 2.2.1+cu121
82
+ - Datasets 2.18.0
83
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/flan-t5-small",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
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": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 8,
22
+ "num_heads": 6,
23
+ "num_layers": 8,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "task_specific_params": {
29
+ "summarization": {
30
+ "early_stopping": true,
31
+ "length_penalty": 2.0,
32
+ "max_length": 200,
33
+ "min_length": 30,
34
+ "no_repeat_ngram_size": 3,
35
+ "num_beams": 4,
36
+ "prefix": "summarize: "
37
+ },
38
+ "translation_en_to_de": {
39
+ "early_stopping": true,
40
+ "max_length": 300,
41
+ "num_beams": 4,
42
+ "prefix": "translate English to German: "
43
+ },
44
+ "translation_en_to_fr": {
45
+ "early_stopping": true,
46
+ "max_length": 300,
47
+ "num_beams": 4,
48
+ "prefix": "translate English to French: "
49
+ },
50
+ "translation_en_to_ro": {
51
+ "early_stopping": true,
52
+ "max_length": 300,
53
+ "num_beams": 4,
54
+ "prefix": "translate English to Romanian: "
55
+ }
56
+ },
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.38.2",
60
+ "use_cache": true,
61
+ "vocab_size": 32128
62
+ }
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:3894438bc3ce24b46387f75bb873f459030acea3c02d00c6a90190ad71a48c32
3
+ size 307867048
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f06aef94fa30014cccb595d02e2a7fa4259752bf062741b237351c13e9a85cf0
3
+ size 4984