Hasanur525
commited on
Commit
•
a01eb4f
1
Parent(s):
1cbe416
End of training
Browse files- .gitattributes +1 -0
- README.md +83 -0
- config.json +37 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
- runs/Feb19_05-39-47_WIN-F8FVB99PGRI/events.out.tfevents.1708350002.WIN-F8FVB99PGRI.18492.0 +3 -0
- special_tokens_map.json +23 -0
- spiece.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +45 -0
- 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,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Hasanur525/deed-summarization_version_5
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- rouge
|
7 |
+
model-index:
|
8 |
+
- name: deed-summarization_version_10
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# deed-summarization_version_10
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [Hasanur525/deed-summarization_version_5](https://huggingface.co/Hasanur525/deed-summarization_version_5) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.4150
|
20 |
+
- Rouge1: 0.3247
|
21 |
+
- Rouge2: 0.1432
|
22 |
+
- Rougel: 0.3268
|
23 |
+
- Rougelsum: 0.3201
|
24 |
+
- Gen Len: 98.4206
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 2
|
45 |
+
- eval_batch_size: 2
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- lr_scheduler_warmup_steps: 5000
|
50 |
+
- num_epochs: 20
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
55 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
56 |
+
| 2.6983 | 1.0 | 529 | 1.8154 | 0.0 | 0.0 | 0.0 | 0.0 | 72.9565 |
|
57 |
+
| 2.3213 | 2.0 | 1058 | 1.5403 | 0.0 | 0.0 | 0.0 | 0.0 | 82.2401 |
|
58 |
+
| 1.0315 | 3.0 | 1587 | 1.2686 | 0.0 | 0.0 | 0.0 | 0.0 | 88.1635 |
|
59 |
+
| 1.7308 | 4.0 | 2116 | 1.0681 | 0.0 | 0.0 | 0.0 | 0.0 | 89.7155 |
|
60 |
+
| 1.1384 | 5.0 | 2645 | 0.9338 | 0.0 | 0.0 | 0.0 | 0.0 | 93.0586 |
|
61 |
+
| 1.6608 | 6.0 | 3174 | 0.8329 | 0.0199 | 0.0 | 0.0199 | 0.0199 | 95.5454 |
|
62 |
+
| 1.8287 | 7.0 | 3703 | 0.7506 | 0.0099 | 0.0 | 0.0099 | 0.0099 | 96.9036 |
|
63 |
+
| 0.4304 | 8.0 | 4232 | 0.6827 | 0.0742 | 0.036 | 0.0692 | 0.069 | 96.8894 |
|
64 |
+
| 1.1026 | 9.0 | 4761 | 0.6189 | 0.0888 | 0.0516 | 0.0888 | 0.0859 | 97.5312 |
|
65 |
+
| 0.8345 | 10.0 | 5290 | 0.5662 | 0.0497 | 0.0189 | 0.0443 | 0.0443 | 96.8025 |
|
66 |
+
| 0.3368 | 11.0 | 5819 | 0.5291 | 0.0394 | 0.0258 | 0.0398 | 0.0394 | 97.9783 |
|
67 |
+
| 0.2668 | 12.0 | 6348 | 0.5010 | 0.1466 | 0.0379 | 0.1368 | 0.1345 | 97.4386 |
|
68 |
+
| 0.8294 | 13.0 | 6877 | 0.4787 | 0.1815 | 0.0683 | 0.1744 | 0.167 | 97.8639 |
|
69 |
+
| 0.4896 | 14.0 | 7406 | 0.4603 | 0.1946 | 0.0732 | 0.1948 | 0.1899 | 97.707 |
|
70 |
+
| 0.4353 | 15.0 | 7935 | 0.4446 | 0.158 | 0.0664 | 0.1476 | 0.1456 | 97.8837 |
|
71 |
+
| 1.8165 | 16.0 | 8464 | 0.4314 | 0.3104 | 0.1119 | 0.3005 | 0.2917 | 98.4329 |
|
72 |
+
| 0.3503 | 17.0 | 8993 | 0.4236 | 0.2872 | 0.1234 | 0.2785 | 0.2681 | 98.2259 |
|
73 |
+
| 0.5756 | 18.0 | 9522 | 0.4199 | 0.339 | 0.1242 | 0.3348 | 0.3252 | 98.31 |
|
74 |
+
| 0.7974 | 19.0 | 10051 | 0.4176 | 0.3437 | 0.1568 | 0.3477 | 0.338 | 98.3932 |
|
75 |
+
| 0.224 | 20.0 | 10580 | 0.4150 | 0.3247 | 0.1432 | 0.3268 | 0.3201 | 98.4206 |
|
76 |
+
|
77 |
+
|
78 |
+
### Framework versions
|
79 |
+
|
80 |
+
- Transformers 4.37.2
|
81 |
+
- Pytorch 2.1.0.dev20230811+cu121
|
82 |
+
- Datasets 2.17.0
|
83 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Hasanur525/deed-summarization_version_5",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
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 |
+
"length_penalty": 0.6,
|
20 |
+
"max_length": 500,
|
21 |
+
"model_type": "mt5",
|
22 |
+
"no_repeat_ngram_size": 2,
|
23 |
+
"num_beams": 4,
|
24 |
+
"num_decoder_layers": 12,
|
25 |
+
"num_heads": 12,
|
26 |
+
"num_layers": 12,
|
27 |
+
"output_past": true,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"relative_attention_max_distance": 128,
|
30 |
+
"relative_attention_num_buckets": 32,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"tokenizer_class": "T5Tokenizer",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.37.2",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 250112
|
37 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"length_penalty": 0.6,
|
5 |
+
"max_length": 100,
|
6 |
+
"no_repeat_ngram_size": 2,
|
7 |
+
"num_beams": 4,
|
8 |
+
"pad_token_id": 0,
|
9 |
+
"transformers_version": "4.37.2"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2bf9929c4dcbd8606e251870fa23415e629d4f02623e4c688ed47c30d9856f1
|
3 |
+
size 2329638768
|
runs/Feb19_05-39-47_WIN-F8FVB99PGRI/events.out.tfevents.1708350002.WIN-F8FVB99PGRI.18492.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eb203dd531d601dad41ee69441118b4506050d37393a8c638aab0e17a952b99
|
3 |
+
size 1676393
|
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:e023441336081dc068f3193421d41ba92bbea7909d5114ab737dc7d9a3a54141
|
3 |
+
size 16315478
|
tokenizer_config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"max_length": 256,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_to_multiple_of": null,
|
36 |
+
"pad_token": "<pad>",
|
37 |
+
"pad_token_type_id": 0,
|
38 |
+
"padding_side": "right",
|
39 |
+
"sp_model_kwargs": {},
|
40 |
+
"stride": 0,
|
41 |
+
"tokenizer_class": "T5Tokenizer",
|
42 |
+
"truncation_side": "right",
|
43 |
+
"truncation_strategy": "longest_first",
|
44 |
+
"unk_token": "<unk>"
|
45 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14e64b8818f92a755ccabb69d5fef714c3ed50f77df75527ade2e5993b4c38cd
|
3 |
+
size 4920
|