tanvirsrbd1
commited on
Commit
·
a67d4f9
1
Parent(s):
a9557b5
only_vary_model1
Browse files- README.md +78 -0
- config.json +62 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- 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: only_vary_model1
|
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 |
+
# only_vary_model1
|
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.2400
|
21 |
+
- Rouge1: 62.207
|
22 |
+
- Rouge2: 48.2441
|
23 |
+
- Rougel: 57.479
|
24 |
+
- Rougelsum: 62.039
|
25 |
+
- Gen Len: 16.3689
|
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.6904 | 0.7 | 200 | 0.5014 | 40.0947 | 28.9027 | 39.0539 | 40.0066 | 6.986 |
|
58 |
+
| 0.4064 | 1.4 | 400 | 0.2939 | 58.7275 | 43.2853 | 55.0201 | 58.5308 | 16.264 |
|
59 |
+
| 0.3125 | 2.1 | 600 | 0.2749 | 60.4914 | 45.7417 | 56.4753 | 60.3543 | 16.1503 |
|
60 |
+
| 0.2836 | 2.8 | 800 | 0.2576 | 60.3004 | 45.6356 | 55.9723 | 60.1254 | 16.2692 |
|
61 |
+
| 0.2634 | 3.5 | 1000 | 0.2519 | 61.3543 | 47.3391 | 57.2049 | 61.1618 | 16.3724 |
|
62 |
+
| 0.2608 | 4.2 | 1200 | 0.2522 | 61.538 | 46.8595 | 56.8033 | 61.3561 | 16.3409 |
|
63 |
+
| 0.2387 | 4.9 | 1400 | 0.2439 | 60.7253 | 46.2206 | 56.342 | 60.57 | 16.3357 |
|
64 |
+
| 0.2253 | 5.59 | 1600 | 0.2479 | 60.9499 | 46.7452 | 56.8289 | 60.8009 | 16.4178 |
|
65 |
+
| 0.2299 | 6.29 | 1800 | 0.2416 | 61.6976 | 47.212 | 57.1834 | 61.558 | 16.3077 |
|
66 |
+
| 0.2174 | 6.99 | 2000 | 0.2418 | 61.829 | 47.2977 | 57.3766 | 61.718 | 16.3112 |
|
67 |
+
| 0.2089 | 7.69 | 2200 | 0.2389 | 62.2459 | 47.6275 | 57.1022 | 62.1048 | 16.299 |
|
68 |
+
| 0.2127 | 8.39 | 2400 | 0.2402 | 61.8535 | 47.7161 | 57.2504 | 61.7496 | 16.4196 |
|
69 |
+
| 0.2097 | 9.09 | 2600 | 0.2402 | 62.242 | 47.6438 | 57.0938 | 62.0981 | 16.299 |
|
70 |
+
| 0.2036 | 9.79 | 2800 | 0.2400 | 62.207 | 48.2441 | 57.479 | 62.039 | 16.3689 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- Transformers 4.34.0
|
76 |
+
- Pytorch 2.0.1+cu117
|
77 |
+
- Datasets 2.14.4
|
78 |
+
- Tokenizers 0.14.0
|
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.34.0",
|
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.34.0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddcff0cf869697bafa4072c72b4911a8378540c6e15ff22f4587ee42f263fd6f
|
3 |
+
size 990408885
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5170d968fb8e155e9d7d3bd5247d211b80d7d0626b15c9683095bec3b989b68b
|
3 |
+
size 4155
|