Uzair934 commited on
Commit
d9d10b1
·
verified ·
1 Parent(s): 3a182e3

End of training

Browse files
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
- base_model: sshleifer/distilbart-cnn-12-6
5
  tags:
6
  - generated_from_trainer
7
- metrics:
8
- - rouge
9
  model-index:
10
  - name: cleaned_ds
11
  results: []
@@ -16,14 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # cleaned_ds
18
 
19
- This model is a fine-tuned version of [sshleifer/distilbart-cnn-12-6](https://huggingface.co/sshleifer/distilbart-cnn-12-6) on an unknown dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 4.2803
22
- - Rouge1: 0.2705
23
- - Rouge2: 0.0363
24
- - Rougel: 0.1609
25
- - Rougelsum: 0.1609
26
- - Generated Length: 113.0
27
 
28
  ## Model description
29
 
@@ -48,21 +39,11 @@ The following hyperparameters were used during training:
48
  - seed: 42
49
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
  - lr_scheduler_type: linear
51
- - num_epochs: 3
52
  - mixed_precision_training: Native AMP
53
 
54
- ### Training results
55
-
56
- | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Generated Length |
57
- |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:----------------:|
58
- | No log | 1.0 | 1 | 4.5060 | 0.2826 | 0.0384 | 0.1694 | 0.1694 | 95.0 |
59
- | No log | 2.0 | 2 | 4.3368 | 0.2832 | 0.0333 | 0.1701 | 0.1701 | 82.0 |
60
- | No log | 3.0 | 3 | 4.2803 | 0.2705 | 0.0363 | 0.1609 | 0.1609 | 113.0 |
61
-
62
-
63
  ### Framework versions
64
 
65
  - Transformers 4.44.2
66
  - Pytorch 2.4.1+cu121
67
- - Datasets 3.0.1
68
  - Tokenizers 0.19.1
 
1
  ---
2
  library_name: transformers
3
  license: apache-2.0
4
+ base_model: facebook/bart-base
5
  tags:
6
  - generated_from_trainer
 
 
7
  model-index:
8
  - name: cleaned_ds
9
  results: []
 
14
 
15
  # cleaned_ds
16
 
17
+ This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on an unknown dataset.
 
 
 
 
 
 
 
18
 
19
  ## Model description
20
 
 
39
  - seed: 42
40
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
  - lr_scheduler_type: linear
42
+ - num_epochs: 1
43
  - mixed_precision_training: Native AMP
44
 
 
 
 
 
 
 
 
 
 
45
  ### Framework versions
46
 
47
  - Transformers 4.44.2
48
  - Pytorch 2.4.1+cu121
 
49
  - Tokenizers 0.19.1
config.json CHANGED
@@ -1,32 +1,29 @@
1
  {
2
- "_name_or_path": "sshleifer/distilbart-cnn-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
- "extra_pos_embeddings": 2,
29
- "force_bos_token_to_be_generated": true,
30
  "forced_bos_token_id": 0,
31
  "forced_eos_token_id": 2,
32
  "gradient_checkpointing": false,
@@ -42,36 +39,37 @@
42
  "LABEL_1": 1,
43
  "LABEL_2": 2
44
  },
45
- "length_penalty": 2.0,
46
- "max_length": 142,
47
  "max_position_embeddings": 1024,
48
- "min_length": 56,
49
  "model_type": "bart",
50
  "no_repeat_ngram_size": 3,
51
  "normalize_before": false,
52
  "normalize_embedding": true,
53
  "num_beams": 4,
54
- "num_hidden_layers": 12,
55
- "output_past": true,
56
  "pad_token_id": 1,
57
- "prefix": " ",
58
- "replacing_rate": 0,
59
  "scale_embedding": false,
60
- "static_position_embeddings": false,
61
- "student_decoder_layers": null,
62
- "student_encoder_layers": null,
63
  "task_specific_params": {
64
  "summarization": {
65
- "early_stopping": true,
 
 
 
 
 
66
  "length_penalty": 2.0,
67
  "max_length": 142,
68
  "min_length": 56,
69
- "no_repeat_ngram_size": 3,
70
  "num_beams": 4
 
 
 
 
 
 
71
  }
72
  },
73
  "torch_dtype": "float32",
74
  "transformers_version": "4.44.2",
75
  "use_cache": true,
76
- "vocab_size": 50264
77
  }
 
1
  {
2
+ "_name_or_path": "facebook/bart-base",
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_bos_token_id": 0,
28
  "forced_eos_token_id": 2,
29
  "gradient_checkpointing": false,
 
39
  "LABEL_1": 1,
40
  "LABEL_2": 2
41
  },
 
 
42
  "max_position_embeddings": 1024,
 
43
  "model_type": "bart",
44
  "no_repeat_ngram_size": 3,
45
  "normalize_before": false,
46
  "normalize_embedding": true,
47
  "num_beams": 4,
48
+ "num_hidden_layers": 6,
 
49
  "pad_token_id": 1,
 
 
50
  "scale_embedding": false,
 
 
 
51
  "task_specific_params": {
52
  "summarization": {
53
+ "length_penalty": 1.0,
54
+ "max_length": 128,
55
+ "min_length": 12,
56
+ "num_beams": 4
57
+ },
58
+ "summarization_cnn": {
59
  "length_penalty": 2.0,
60
  "max_length": 142,
61
  "min_length": 56,
 
62
  "num_beams": 4
63
+ },
64
+ "summarization_xsum": {
65
+ "length_penalty": 1.0,
66
+ "max_length": 62,
67
+ "min_length": 11,
68
+ "num_beams": 6
69
  }
70
  },
71
  "torch_dtype": "float32",
72
  "transformers_version": "4.44.2",
73
  "use_cache": true,
74
+ "vocab_size": 50265
75
  }
generation_config.json CHANGED
@@ -5,9 +5,6 @@
5
  "eos_token_id": 2,
6
  "forced_bos_token_id": 0,
7
  "forced_eos_token_id": 2,
8
- "length_penalty": 2.0,
9
- "max_length": 142,
10
- "min_length": 56,
11
  "no_repeat_ngram_size": 3,
12
  "num_beams": 4,
13
  "pad_token_id": 1,
 
5
  "eos_token_id": 2,
6
  "forced_bos_token_id": 0,
7
  "forced_eos_token_id": 2,
 
 
 
8
  "no_repeat_ngram_size": 3,
9
  "num_beams": 4,
10
  "pad_token_id": 1,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be9c99e0b130daaa46d4ce297668b4848422976475aaaedb840de68d638f1b13
3
- size 1222284056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6760e7333f73bb63205c02d5677a52e254fc4090ddc70a302c5c441c50742eae
3
+ size 557912620
runs/Oct02_19-55-33_640012623f1f/events.out.tfevents.1727898934.640012623f1f.384.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d651e20f4049b135793cd5a3598cee40d274929746963583101f1c5550eb07ee
3
+ size 6537
special_tokens_map.json CHANGED
@@ -1,25 +1,7 @@
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,
@@ -27,25 +9,7 @@
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
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "content": "<mask>",
7
  "lstrip": true,
 
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
tokenizer_config.json CHANGED
@@ -48,7 +48,7 @@
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",
 
48
  "eos_token": "</s>",
49
  "errors": "replace",
50
  "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
  "pad_token": "<pad>",
53
  "sep_token": "</s>",
54
  "tokenizer_class": "BartTokenizer",
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbc967df72e2cc8222a72307c72bb2902573db98a04d0e70e950111ced8c7043
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84f73c7e2b1bbbbf948cca365efe87a01c9cf1fea2dddd08c2db03927df1c094
3
  size 5304