tanvirsrbd1 commited on
Commit
09fa8cb
·
1 Parent(s): 7bf7121

flan-t5-base-model2

Browse files
Files changed (5) hide show
  1. README.md +78 -0
  2. config.json +62 -0
  3. generation_config.json +6 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/flan-t5-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: flan-t5-base-model2
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-model2
17
+
18
+ This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2236
21
+ - Rouge1: 73.2746
22
+ - Rouge2: 65.1173
23
+ - Rougel: 72.149
24
+ - Rougelsum: 73.1838
25
+ - Gen Len: 16.1625
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: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - lr_scheduler_warmup_steps: 200
51
+ - num_epochs: 10
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
56
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
57
+ | 11.4224 | 0.71 | 200 | 0.5002 | 49.2994 | 40.066 | 49.0355 | 49.3658 | 7.6113 |
58
+ | 0.4129 | 1.41 | 400 | 0.3030 | 72.7746 | 63.8666 | 71.4539 | 72.5604 | 16.2138 |
59
+ | 0.3131 | 2.12 | 600 | 0.2793 | 73.6239 | 64.6532 | 72.2694 | 73.5208 | 16.1148 |
60
+ | 0.2615 | 2.83 | 800 | 0.2674 | 73.2672 | 64.6251 | 72.0459 | 73.0736 | 16.2067 |
61
+ | 0.2347 | 3.53 | 1000 | 0.2631 | 73.0069 | 64.3272 | 71.8482 | 72.963 | 16.2049 |
62
+ | 0.2222 | 4.24 | 1200 | 0.2437 | 73.3821 | 64.9656 | 72.1995 | 73.2511 | 16.0795 |
63
+ | 0.2077 | 4.95 | 1400 | 0.2450 | 73.1663 | 64.7168 | 72.023 | 73.0977 | 16.0936 |
64
+ | 0.1976 | 5.65 | 1600 | 0.2296 | 73.2977 | 64.8011 | 72.2179 | 73.3089 | 16.1661 |
65
+ | 0.1804 | 6.36 | 1800 | 0.2268 | 73.1599 | 64.852 | 72.0518 | 73.1532 | 16.1802 |
66
+ | 0.1842 | 7.07 | 2000 | 0.2284 | 73.2343 | 64.944 | 72.046 | 73.1038 | 16.159 |
67
+ | 0.1776 | 7.77 | 2200 | 0.2255 | 73.3332 | 65.119 | 72.1684 | 73.2489 | 16.1449 |
68
+ | 0.1621 | 8.48 | 2400 | 0.2231 | 73.2057 | 64.9477 | 72.1727 | 73.1358 | 16.1219 |
69
+ | 0.1657 | 9.19 | 2600 | 0.2234 | 73.2285 | 65.0575 | 72.0227 | 73.2392 | 16.1608 |
70
+ | 0.1653 | 9.89 | 2800 | 0.2236 | 73.2746 | 65.1173 | 72.149 | 73.1838 | 16.1625 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.32.1
76
+ - Pytorch 2.0.1+cu117
77
+ - Datasets 2.14.4
78
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/flan-t5-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
+ "n_positions": 512,
21
+ "num_decoder_layers": 12,
22
+ "num_heads": 12,
23
+ "num_layers": 12,
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.32.1",
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.32.1"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c4d1f16aedfc3e75e3ff6b007b1eae4a27930cd454868ac40b9f9221deec6f
3
+ size 990408885
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd3f4cbb8e7ad5e5d0de70d655a47164752f15c6426f43d46b271a893ffb0b42
3
+ size 4155