MohamedAAK commited on
Commit
f7a8a7b
1 Parent(s): fd20781

Training in progress epoch 0

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- license: cc-by-4.0
3
- base_model: ydshieh/bert-base-cased-squad2
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
@@ -13,11 +13,11 @@ probably proofread and complete it, then remove this comment. -->
13
 
14
  # MohamedAAK/my_awesome_eli5_clm-model
15
 
16
- This model is a fine-tuned version of [ydshieh/bert-base-cased-squad2](https://huggingface.co/ydshieh/bert-base-cased-squad2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.0294
19
- - Validation Loss: 0.0122
20
- - Epoch: 2
21
 
22
  ## Model description
23
 
@@ -43,9 +43,7 @@ The following hyperparameters were used during training:
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
- | 1.1925 | 0.0644 | 0 |
47
- | 0.0691 | 0.0213 | 1 |
48
- | 0.0294 | 0.0122 | 2 |
49
 
50
 
51
  ### Framework versions
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: distilgpt2
4
  tags:
5
  - generated_from_keras_callback
6
  model-index:
 
13
 
14
  # MohamedAAK/my_awesome_eli5_clm-model
15
 
16
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 4.8400
19
+ - Validation Loss: 3.9280
20
+ - Epoch: 0
21
 
22
  ## Model description
23
 
 
43
 
44
  | Train Loss | Validation Loss | Epoch |
45
  |:----------:|:---------------:|:-----:|
46
+ | 4.8400 | 3.9280 | 0 |
 
 
47
 
48
 
49
  ### Framework versions
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 50257
3
+ }
config.json CHANGED
@@ -1,27 +1,45 @@
1
  {
2
- "_name_or_path": "ydshieh/bert-base-cased-squad2",
 
 
3
  "architectures": [
4
- "BertLMHeadModel"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
- "hidden_size": 768,
 
 
11
  "initializer_range": 0.02,
12
- "intermediate_size": 3072,
13
- "language": "english",
14
- "layer_norm_eps": 1e-12,
15
- "max_position_embeddings": 512,
16
- "model_type": "bert",
17
- "name": "Bert",
18
- "num_attention_heads": 12,
19
- "num_hidden_layers": 12,
20
- "output_past": true,
21
- "pad_token_id": 0,
22
- "position_embedding_type": "absolute",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  "transformers_version": "4.35.2",
24
- "type_vocab_size": 2,
25
  "use_cache": true,
26
- "vocab_size": 28996
27
  }
 
1
  {
2
+ "_name_or_path": "distilgpt2",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
  "architectures": [
6
+ "GPT2LMHeadModel"
7
  ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
  "transformers_version": "4.35.2",
 
43
  "use_cache": true,
44
+ "vocab_size": 50258
45
  }
generation_config.json CHANGED
@@ -1,5 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "pad_token_id": 0,
 
4
  "transformers_version": "4.35.2"
5
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
  "transformers_version": "4.35.2"
6
  }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,18 +1,6 @@
1
  {
2
- "cls_token": {
3
- "content": "[CLS]",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "mask_token": {
10
- "content": "[MASK]",
11
- "lstrip": false,
12
- "normalized": false,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
  "pad_token": {
17
  "content": "[PAD]",
18
  "lstrip": false,
@@ -20,18 +8,5 @@
20
  "rstrip": false,
21
  "single_word": false
22
  },
23
- "sep_token": {
24
- "content": "[SEP]",
25
- "lstrip": false,
26
- "normalized": false,
27
- "rstrip": false,
28
- "single_word": false
29
- },
30
- "unk_token": {
31
- "content": "[UNK]",
32
- "lstrip": false,
33
- "normalized": false,
34
- "rstrip": false,
35
- "single_word": false
36
- }
37
  }
 
1
  {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
 
 
 
 
 
 
 
 
 
 
 
 
4
  "pad_token": {
5
  "content": "[PAD]",
6
  "lstrip": false,
 
8
  "rstrip": false,
9
  "single_word": false
10
  },
11
+ "unk_token": "<|endoftext|>"
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dfbd61c3d6cfcec5cf435d8f885d29fec3462bcad62ecf617354a235247f0b29
3
- size 524305768
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a76b064697dcd142f69578efd96dc80636c43e702c450642d5c1bdcb4cce93a
3
+ size 327748552
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,39 +1,16 @@
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
- "100": {
12
- "content": "[UNK]",
13
- "lstrip": false,
14
- "normalized": false,
15
- "rstrip": false,
16
- "single_word": false,
17
- "special": true
18
- },
19
- "101": {
20
- "content": "[CLS]",
21
- "lstrip": false,
22
- "normalized": false,
23
- "rstrip": false,
24
- "single_word": false,
25
- "special": true
26
- },
27
- "102": {
28
- "content": "[SEP]",
29
- "lstrip": false,
30
- "normalized": false,
31
- "rstrip": false,
32
- "single_word": false,
33
- "special": true
34
- },
35
- "103": {
36
- "content": "[MASK]",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
@@ -41,18 +18,11 @@
41
  "special": true
42
  }
43
  },
 
44
  "clean_up_tokenization_spaces": true,
45
- "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
- "do_lower_case": false,
48
- "mask_token": "[MASK]",
49
- "max_len": 512,
50
- "model_max_length": 512,
51
- "never_split": null,
52
  "pad_token": "[PAD]",
53
- "sep_token": "[SEP]",
54
- "strip_accents": null,
55
- "tokenize_chinese_chars": true,
56
- "tokenizer_class": "BertTokenizer",
57
- "unk_token": "[UNK]"
58
  }
 
1
  {
2
+ "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
  "lstrip": false,
7
+ "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
+ "50257": {
13
+ "content": "[PAD]",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
 
18
  "special": true
19
  }
20
  },
21
+ "bos_token": "<|endoftext|>",
22
  "clean_up_tokenization_spaces": true,
23
+ "eos_token": "<|endoftext|>",
24
+ "model_max_length": 1024,
 
 
 
 
 
25
  "pad_token": "[PAD]",
26
+ "tokenizer_class": "GPT2Tokenizer",
27
+ "unk_token": "<|endoftext|>"
 
 
 
28
  }
vocab.json ADDED
The diff for this file is too large to render. See raw diff