sharmadhruv commited on
Commit
3396848
1 Parent(s): 7b777d1

End of training

Browse files
.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 CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: apache-2.0
3
- base_model: google/bigbird-pegasus-large-pubmed
4
  tags:
5
  - generated_from_trainer
6
  model-index:
@@ -13,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # summarize_by_ernie
15
 
16
- This model is a fine-tuned version of [google/bigbird-pegasus-large-pubmed](https://huggingface.co/google/bigbird-pegasus-large-pubmed) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 4.6568
19
 
20
  ## Model description
21
 
@@ -46,16 +46,16 @@ The following hyperparameters were used during training:
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
- | 5.5203 | 1.0 | 989 | 4.7508 |
50
- | 4.8502 | 2.0 | 1978 | 4.6694 |
51
- | 4.831 | 3.0 | 2967 | 4.6595 |
52
- | 4.7621 | 4.0 | 3956 | 4.6578 |
53
- | 4.7524 | 5.0 | 4945 | 4.6568 |
54
 
55
 
56
  ### Framework versions
57
 
58
  - Transformers 4.41.2
59
- - Pytorch 2.1.2
60
- - Datasets 2.19.2
61
  - Tokenizers 0.19.1
 
1
  ---
2
+ license: mit
3
+ base_model: baidu/ernie-code-560m
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # summarize_by_ernie
15
 
16
+ This model is a fine-tuned version of [baidu/ernie-code-560m](https://huggingface.co/baidu/ernie-code-560m) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 2.3186
19
 
20
  ## Model description
21
 
 
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
+ | 2.7349 | 1.0 | 989 | 2.3506 |
50
+ | 2.6212 | 2.0 | 1978 | 2.3263 |
51
+ | 2.6071 | 3.0 | 2967 | 2.3200 |
52
+ | 2.5826 | 4.0 | 3956 | 2.3185 |
53
+ | 2.5319 | 5.0 | 4945 | 2.3186 |
54
 
55
 
56
  ### Framework versions
57
 
58
  - Transformers 4.41.2
59
+ - Pytorch 2.3.0+cu121
60
+ - Datasets 2.20.0
61
  - Tokenizers 0.19.1
config.json CHANGED
@@ -1,43 +1,33 @@
1
  {
2
- "_name_or_path": "google/bigbird-pegasus-large-pubmed",
3
- "activation_dropout": 0.0,
4
- "activation_function": "gelu_new",
5
  "architectures": [
6
- "BigBirdPegasusForConditionalGeneration"
7
  ],
8
- "attention_dropout": 0.0,
9
- "attention_type": "block_sparse",
10
- "block_size": 64,
11
- "bos_token_id": 2,
12
  "classifier_dropout": 0.0,
13
- "d_model": 1024,
14
- "decoder_attention_heads": 16,
15
- "decoder_ffn_dim": 4096,
16
- "decoder_layerdrop": 0.0,
17
- "decoder_layers": 16,
18
- "decoder_start_token_id": 2,
19
- "dropout": 0.1,
20
- "encoder_attention_heads": 16,
21
- "encoder_ffn_dim": 4096,
22
- "encoder_layerdrop": 0.0,
23
- "encoder_layers": 16,
24
  "eos_token_id": 1,
25
- "gradient_checkpointing": false,
26
- "init_std": 0.02,
27
  "is_encoder_decoder": true,
28
- "length_penalty": 0.8,
29
- "max_length": 256,
30
- "max_position_embeddings": 4096,
31
- "model_type": "bigbird_pegasus",
32
- "num_beams": 5,
33
- "num_hidden_layers": 16,
34
- "num_random_blocks": 3,
35
  "pad_token_id": 0,
36
- "scale_embedding": true,
37
- "tokenizer_class": "PegasusTokenizer",
 
 
38
  "torch_dtype": "bfloat16",
39
  "transformers_version": "4.41.2",
40
- "use_bias": false,
41
  "use_cache": true,
42
- "vocab_size": 96103
43
  }
 
1
  {
2
+ "_name_or_path": "baidu/ernie-code-560m",
 
 
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
+ "model_type": "mt5",
20
+ "num_decoder_layers": 12,
21
+ "num_heads": 12,
22
+ "num_layers": 12,
23
+ "output_past": true,
24
  "pad_token_id": 0,
25
+ "relative_attention_max_distance": 128,
26
+ "relative_attention_num_buckets": 32,
27
+ "tie_word_embeddings": false,
28
+ "tokenizer_class": "T5Tokenizer",
29
  "torch_dtype": "bfloat16",
30
  "transformers_version": "4.41.2",
 
31
  "use_cache": true,
32
+ "vocab_size": 250105
33
  }
generation_config.json CHANGED
@@ -1,11 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 2,
4
- "decoder_start_token_id": 2,
5
  "eos_token_id": 1,
6
- "length_penalty": 0.8,
7
- "max_length": 256,
8
- "num_beams": 5,
9
  "pad_token_id": 0,
10
  "transformers_version": "4.41.2"
11
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
 
4
  "eos_token_id": 1,
 
 
 
5
  "pad_token_id": 0,
6
  "transformers_version": "4.41.2"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca759dccc267b4c18a143e46c50bc58383a87fd0c72f58fa6d209728a18794f7
3
- size 1154033846
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d5aec3e5a8b91bdfbbf957ed5f03214e28256b1c90a3e426b90fb02128bde80
3
+ size 1164814896
special_tokens_map.json CHANGED
@@ -1,50 +1,59 @@
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": "[CLS]",
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": "[SEP]",
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
  }
 
1
  {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "\n",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "\t",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<|space|><|space|><|space|><|space|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ {
25
+ "content": "<|space|><|space|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ {
32
+ "content": "<|space|>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ ],
39
  "eos_token": {
40
  "content": "</s>",
41
  "lstrip": false,
42
+ "normalized": false,
 
 
 
 
 
 
 
43
  "rstrip": false,
44
  "single_word": false
45
  },
46
  "pad_token": {
47
  "content": "<pad>",
48
  "lstrip": false,
49
+ "normalized": false,
 
 
 
 
 
 
 
50
  "rstrip": false,
51
  "single_word": false
52
  },
53
  "unk_token": {
54
  "content": "<unk>",
55
  "lstrip": false,
56
+ "normalized": false,
57
  "rstrip": false,
58
  "single_word": false
59
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -3,7 +3,7 @@
3
  "0": {
4
  "content": "<pad>",
5
  "lstrip": false,
6
- "normalized": true,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
@@ -11,63 +11,77 @@
11
  "1": {
12
  "content": "</s>",
13
  "lstrip": false,
14
- "normalized": true,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
  "2": {
20
- "content": "<s>",
21
  "lstrip": false,
22
- "normalized": true,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "65": {
28
- "content": "[CLS]",
29
  "lstrip": false,
30
- "normalized": true,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "66": {
36
- "content": "[SEP]",
37
  "lstrip": false,
38
- "normalized": true,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  },
43
- "67": {
44
- "content": "[MASK]",
45
- "lstrip": true,
46
- "normalized": true,
47
  "rstrip": false,
48
  "single_word": false,
49
  "special": true
50
  },
51
- "105": {
52
- "content": "<unk>",
 
 
 
 
 
 
 
 
53
  "lstrip": false,
54
- "normalized": true,
55
  "rstrip": false,
56
  "single_word": false,
57
  "special": true
58
  }
59
  },
60
- "additional_special_tokens": [],
61
- "bos_token": "<s>",
 
 
 
 
 
62
  "clean_up_tokenization_spaces": true,
63
- "cls_token": "[CLS]",
64
  "eos_token": "</s>",
65
- "mask_token": "[MASK]",
66
- "mask_token_sent": null,
67
- "model_max_length": 4096,
68
- "offset": 0,
69
  "pad_token": "<pad>",
70
- "sep_token": "[SEP]",
71
- "tokenizer_class": "PegasusTokenizer",
 
 
 
72
  "unk_token": "<unk>"
73
  }
 
3
  "0": {
4
  "content": "<pad>",
5
  "lstrip": false,
6
+ "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
 
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
+ "250100": {
28
+ "content": "\n",
29
  "lstrip": false,
30
+ "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
+ "250101": {
36
+ "content": "\t",
37
  "lstrip": false,
38
+ "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  },
43
+ "250102": {
44
+ "content": "<|space|><|space|><|space|><|space|>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
  "rstrip": false,
48
  "single_word": false,
49
  "special": true
50
  },
51
+ "250103": {
52
+ "content": "<|space|><|space|>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "250104": {
60
+ "content": "<|space|>",
61
  "lstrip": false,
62
+ "normalized": false,
63
  "rstrip": false,
64
  "single_word": false,
65
  "special": true
66
  }
67
  },
68
+ "additional_special_tokens": [
69
+ "\n",
70
+ "\t",
71
+ "<|space|><|space|><|space|><|space|>",
72
+ "<|space|><|space|>",
73
+ "<|space|>"
74
+ ],
75
  "clean_up_tokenization_spaces": true,
 
76
  "eos_token": "</s>",
77
+ "extra_ids": 0,
78
+ "max_length": 1024,
79
+ "model_max_length": 1000000000000000019884624838656,
 
80
  "pad_token": "<pad>",
81
+ "sp_model_kwargs": {},
82
+ "stride": 0,
83
+ "tokenizer_class": "T5Tokenizer",
84
+ "truncation_side": "right",
85
+ "truncation_strategy": "longest_first",
86
  "unk_token": "<unk>"
87
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aed93b2b6aaa41843d4aad5e6aa9f0fb009a5fa9a246b98bf21ea1d1dcdd6d66
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0807c893036471a1108190fff2c4d7a2652ef9771555b8f0a4921e6e48f9ca78
3
  size 5240