End of training
Browse files- README.md +77 -0
- config.json +70 -0
- generation_config.json +14 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: sshleifer/distilbart-xsum-12-6
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: bart-abs-2409-1947-lr-3e-05-bs-8-maxep-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 |
+
# bart-abs-2409-1947-lr-3e-05-bs-8-maxep-10
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [sshleifer/distilbart-xsum-12-6](https://huggingface.co/sshleifer/distilbart-xsum-12-6) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 4.2084
|
20 |
+
- Rouge/rouge1: 0.4731
|
21 |
+
- Rouge/rouge2: 0.2204
|
22 |
+
- Rouge/rougel: 0.4091
|
23 |
+
- Rouge/rougelsum: 0.4105
|
24 |
+
- Bertscore/bertscore-precision: 0.8963
|
25 |
+
- Bertscore/bertscore-recall: 0.8954
|
26 |
+
- Bertscore/bertscore-f1: 0.8957
|
27 |
+
- Meteor: 0.4281
|
28 |
+
- Gen Len: 38.3182
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 3e-05
|
48 |
+
- train_batch_size: 8
|
49 |
+
- eval_batch_size: 8
|
50 |
+
- seed: 42
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 10
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge/rouge1 | Rouge/rouge2 | Rouge/rougel | Rouge/rougelsum | Bertscore/bertscore-precision | Bertscore/bertscore-recall | Bertscore/bertscore-f1 | Meteor | Gen Len |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:------------:|:------------:|:------------:|:---------------:|:-----------------------------:|:--------------------------:|:----------------------:|:------:|:-------:|
|
60 |
+
| 0.0785 | 1.0 | 109 | 3.9838 | 0.4581 | 0.1987 | 0.3887 | 0.3892 | 0.8957 | 0.8906 | 0.893 | 0.4019 | 35.6455 |
|
61 |
+
| 0.0862 | 2.0 | 218 | 3.9075 | 0.4574 | 0.2028 | 0.3856 | 0.3863 | 0.8923 | 0.8918 | 0.8919 | 0.4091 | 39.1545 |
|
62 |
+
| 0.0792 | 3.0 | 327 | 3.9794 | 0.4593 | 0.1972 | 0.3807 | 0.3814 | 0.889 | 0.8926 | 0.8906 | 0.4145 | 41.9182 |
|
63 |
+
| 0.0673 | 4.0 | 436 | 4.0419 | 0.4634 | 0.2047 | 0.3928 | 0.3937 | 0.8948 | 0.8918 | 0.8931 | 0.4133 | 36.6909 |
|
64 |
+
| 0.0604 | 5.0 | 545 | 4.1048 | 0.4629 | 0.2112 | 0.396 | 0.3971 | 0.8956 | 0.8926 | 0.8939 | 0.4118 | 36.9727 |
|
65 |
+
| 0.0548 | 6.0 | 654 | 4.1331 | 0.4556 | 0.2042 | 0.3904 | 0.391 | 0.8938 | 0.8917 | 0.8926 | 0.4079 | 38.1545 |
|
66 |
+
| 0.0508 | 7.0 | 763 | 4.1740 | 0.4546 | 0.1949 | 0.383 | 0.3842 | 0.8925 | 0.8903 | 0.8913 | 0.4028 | 37.5273 |
|
67 |
+
| 0.0473 | 8.0 | 872 | 4.1643 | 0.4653 | 0.212 | 0.401 | 0.4026 | 0.8949 | 0.8939 | 0.8942 | 0.4212 | 38.4818 |
|
68 |
+
| 0.0438 | 9.0 | 981 | 4.1913 | 0.472 | 0.2155 | 0.4063 | 0.4071 | 0.8969 | 0.8947 | 0.8956 | 0.4223 | 37.9091 |
|
69 |
+
| 0.0401 | 10.0 | 1090 | 4.2084 | 0.4731 | 0.2204 | 0.4091 | 0.4105 | 0.8963 | 0.8954 | 0.8957 | 0.4281 | 38.3182 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.44.2
|
75 |
+
- Pytorch 2.4.0
|
76 |
+
- Datasets 3.0.0
|
77 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sshleifer/distilbart-xsum-12-6",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
+
"architectures": [
|
9 |
+
"BartForConditionalGeneration"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 2,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"early_stopping": true,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_ffn_dim": 4096,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 12,
|
27 |
+
"eos_token_id": 2,
|
28 |
+
"eos_token_ids": [
|
29 |
+
2
|
30 |
+
],
|
31 |
+
"extra_pos_embeddings": 2,
|
32 |
+
"forced_eos_token_id": 2,
|
33 |
+
"gradient_checkpointing": false,
|
34 |
+
"id2label": {
|
35 |
+
"0": "LABEL_0",
|
36 |
+
"1": "LABEL_1",
|
37 |
+
"2": "LABEL_2"
|
38 |
+
},
|
39 |
+
"init_std": 0.02,
|
40 |
+
"is_encoder_decoder": true,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1,
|
44 |
+
"LABEL_2": 2
|
45 |
+
},
|
46 |
+
"length_penalty": 0.5,
|
47 |
+
"max_length": 62,
|
48 |
+
"max_position_embeddings": 1024,
|
49 |
+
"min_length": 11,
|
50 |
+
"model_type": "bart",
|
51 |
+
"no_repeat_ngram_size": 3,
|
52 |
+
"normalize_before": false,
|
53 |
+
"normalize_embedding": true,
|
54 |
+
"num_beams": 6,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"output_past": true,
|
57 |
+
"pad_token_id": 1,
|
58 |
+
"prefix": " ",
|
59 |
+
"replacing_rate": 0,
|
60 |
+
"save_step": 58,
|
61 |
+
"scale_embedding": false,
|
62 |
+
"static_position_embeddings": false,
|
63 |
+
"student_decoder_layers": null,
|
64 |
+
"student_encoder_layers": null,
|
65 |
+
"task_specific_params": {},
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.44.2",
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 50264
|
70 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"length_penalty": 0.5,
|
8 |
+
"max_length": 62,
|
9 |
+
"min_length": 11,
|
10 |
+
"no_repeat_ngram_size": 3,
|
11 |
+
"num_beams": 6,
|
12 |
+
"pad_token_id": 1,
|
13 |
+
"transformers_version": "4.44.2"
|
14 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9ed024b2fd10b9540e4a7c95a8892f01e12aef045408bc87e5db1f72d340e54
|
3 |
+
size 1222284056
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 1024,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "BartTokenizer",
|
55 |
+
"trim_offsets": true,
|
56 |
+
"unk_token": "<unk>"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3c8633916d0d7fbb79aaa7ae4a8f4a5f6b3afcc3e07e878ef4c520ade1e5b28
|
3 |
+
size 5496
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|