anuragrawal commited on
Commit
8b77b5b
·
1 Parent(s): ee3038a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: ainize/bart-base-cnn
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: bart-base-cnn-YT-transcript-sum
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
+ # bart-base-cnn-YT-transcript-sum
17
+
18
+ This model is a fine-tuned version of [ainize/bart-base-cnn](https://huggingface.co/ainize/bart-base-cnn) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.4969
21
+ - Rouge1: 27.1516
22
+ - Rouge2: 14.6227
23
+ - Rougel: 23.3968
24
+ - Rougelsum: 25.4786
25
+ - Gen Len: 19.9954
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: 4
46
+ - eval_batch_size: 4
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 15
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
55
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
56
+ | No log | 1.0 | 216 | 1.5374 | 24.7307 | 11.5124 | 20.6823 | 22.9189 | 19.9630 |
57
+ | No log | 2.0 | 432 | 1.4976 | 26.825 | 14.0512 | 23.2078 | 25.2044 | 19.9583 |
58
+ | 1.5449 | 3.0 | 648 | 1.4969 | 27.1516 | 14.6227 | 23.3968 | 25.4786 | 19.9954 |
59
+ | 1.5449 | 4.0 | 864 | 1.5345 | 27.2526 | 15.0873 | 23.8556 | 25.7798 | 19.9861 |
60
+ | 0.9 | 5.0 | 1080 | 1.5962 | 26.8267 | 14.7267 | 23.2263 | 25.2149 | 19.9676 |
61
+ | 0.9 | 6.0 | 1296 | 1.6378 | 26.8444 | 14.8753 | 23.254 | 25.2943 | 19.9815 |
62
+ | 0.5749 | 7.0 | 1512 | 1.6819 | 27.1776 | 14.898 | 23.2454 | 25.4298 | 19.9583 |
63
+ | 0.5749 | 8.0 | 1728 | 1.7360 | 26.9518 | 15.308 | 23.6574 | 25.2991 | 19.9769 |
64
+ | 0.5749 | 9.0 | 1944 | 1.7796 | 27.9253 | 15.7998 | 24.4827 | 26.4424 | 19.9769 |
65
+ | 0.3668 | 10.0 | 2160 | 1.8078 | 26.9211 | 15.0903 | 23.4484 | 25.4369 | 19.9815 |
66
+ | 0.3668 | 11.0 | 2376 | 1.8405 | 27.4434 | 15.3608 | 23.903 | 25.8117 | 19.9861 |
67
+ | 0.255 | 12.0 | 2592 | 1.8447 | 27.7175 | 15.7173 | 24.2096 | 26.0946 | 19.9815 |
68
+ | 0.255 | 13.0 | 2808 | 1.8834 | 27.2409 | 15.3865 | 23.7314 | 25.7682 | 19.9815 |
69
+ | 0.192 | 14.0 | 3024 | 1.8796 | 27.2939 | 15.5502 | 23.8294 | 25.7409 | 19.9815 |
70
+ | 0.192 | 15.0 | 3240 | 1.8851 | 27.6741 | 15.771 | 24.1976 | 26.1196 | 19.9722 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.33.2
76
+ - Pytorch 2.0.1+cu117
77
+ - Datasets 2.14.5
78
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ainize/bart-base-cnn",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "forced_eos_token_id": 2,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1,
38
+ "LABEL_2": 2
39
+ },
40
+ "max_position_embeddings": 1024,
41
+ "model_type": "bart",
42
+ "no_repeat_ngram_size": 3,
43
+ "normalize_before": false,
44
+ "normalize_embedding": true,
45
+ "num_beams": 4,
46
+ "num_hidden_layers": 6,
47
+ "pad_token_id": 1,
48
+ "scale_embedding": false,
49
+ "task_specific_params": {
50
+ "summarization": {
51
+ "length_penalty": 1.0,
52
+ "max_length": 128,
53
+ "min_length": 12,
54
+ "num_beams": 4
55
+ },
56
+ "summarization_cnn": {
57
+ "length_penalty": 2.0,
58
+ "max_length": 142,
59
+ "min_length": 56,
60
+ "num_beams": 4
61
+ },
62
+ "summarization_xsum": {
63
+ "length_penalty": 1.0,
64
+ "max_length": 62,
65
+ "min_length": 11,
66
+ "num_beams": 6
67
+ }
68
+ },
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.33.2",
71
+ "use_cache": true,
72
+ "vocab_size": 50265
73
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "no_repeat_ngram_size": 3,
8
+ "num_beams": 4,
9
+ "pad_token_id": 1,
10
+ "transformers_version": "4.33.2"
11
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:007864bade797f72e1c79aedefec42497f3418c78615c7d93789e9c9e34ef4ee
3
+ size 557971229
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "errors": "replace",
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 1024,
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "tokenizer_class": "BartTokenizer",
13
+ "trim_offsets": true,
14
+ "unk_token": "<unk>"
15
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35b0489a30e37c631a01914dd1692ae650115cf16c43791e7f652a109de7a92c
3
+ size 4219
vocab.json ADDED
The diff for this file is too large to render. See raw diff