melyssa08 commited on
Commit
748d699
·
verified ·
1 Parent(s): 8cfe2f8

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,21 +1,29 @@
1
  {
2
- "activation_function": "gelu_new",
 
3
  "architectures": [
4
  "GPT2LMHeadModel"
5
  ],
 
6
  "attn_pdrop": 0.1,
7
- "bos_token_id": 50256,
 
 
8
  "embd_pdrop": 0.1,
9
- "eos_token_id": 50256,
 
 
10
  "initializer_range": 0.02,
11
  "layer_norm_epsilon": 1e-05,
 
12
  "model_type": "gpt2",
13
- "n_ctx": 1024,
14
  "n_embd": 768,
15
  "n_head": 12,
16
  "n_inner": null,
17
  "n_layer": 12,
18
- "n_positions": 1024,
 
 
19
  "reorder_and_upcast_attn": false,
20
  "resid_pdrop": 0.1,
21
  "scale_attn_by_inverse_layer_idx": false,
@@ -25,14 +33,9 @@
25
  "summary_proj_to_labels": true,
26
  "summary_type": "cls_index",
27
  "summary_use_proj": true,
28
- "task_specific_params": {
29
- "text-generation": {
30
- "do_sample": true,
31
- "max_length": 50
32
- }
33
- },
34
- "torch_dtype": "float32",
35
  "transformers_version": "4.55.4",
36
  "use_cache": true,
37
- "vocab_size": 50272
 
38
  }
 
1
  {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
  "architectures": [
5
  "GPT2LMHeadModel"
6
  ],
7
+ "attention_dropout": 0.0,
8
  "attn_pdrop": 0.1,
9
+ "bos_token_id": 2,
10
+ "do_layer_norm_before": true,
11
+ "dropout": 0.1,
12
  "embd_pdrop": 0.1,
13
+ "eos_token_id": 2,
14
+ "ffn_dim": 3072,
15
+ "init_std": 0.02,
16
  "initializer_range": 0.02,
17
  "layer_norm_epsilon": 1e-05,
18
+ "layerdrop": 0.0,
19
  "model_type": "gpt2",
 
20
  "n_embd": 768,
21
  "n_head": 12,
22
  "n_inner": null,
23
  "n_layer": 12,
24
+ "n_positions": 2048,
25
+ "pad_token_id": 1,
26
+ "prefix": "</s>",
27
  "reorder_and_upcast_attn": false,
28
  "resid_pdrop": 0.1,
29
  "scale_attn_by_inverse_layer_idx": false,
 
33
  "summary_proj_to_labels": true,
34
  "summary_type": "cls_index",
35
  "summary_use_proj": true,
36
+ "torch_dtype": "float16",
 
 
 
 
 
 
37
  "transformers_version": "4.55.4",
38
  "use_cache": true,
39
+ "vocab_size": 50272,
40
+ "word_embed_proj_dim": 768
41
  }
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 50256,
4
- "eos_token_id": 50256,
 
5
  "transformers_version": "4.55.4"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
  "transformers_version": "4.55.4"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:166bf31ed1769d56627f9896566a25be3998b7d270f0778fccef62124ca22d86
3
- size 497820288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a664fdf684c3597509f8f995e63c6849a62e4d71044f02be918c6e647c49b280
3
+ size 250490416
special_tokens_map.json CHANGED
@@ -1,5 +1,30 @@
1
  {
2
- "bos_token": "<|endoftext|>",
3
- "eos_token": "<|endoftext|>",
4
- "unk_token": "<|endoftext|>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,8 +1,17 @@
1
  {
 
2
  "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
- "50256": {
5
- "content": "<|endoftext|>",
 
 
 
 
 
 
 
 
6
  "lstrip": false,
7
  "normalized": true,
8
  "rstrip": false,
@@ -10,11 +19,13 @@
10
  "special": true
11
  }
12
  },
13
- "bos_token": "<|endoftext|>",
14
  "clean_up_tokenization_spaces": false,
15
- "eos_token": "<|endoftext|>",
 
16
  "extra_special_tokens": {},
17
- "model_max_length": 1024,
 
18
  "tokenizer_class": "GPT2Tokenizer",
19
- "unk_token": "<|endoftext|>"
20
  }
 
1
  {
2
+ "add_bos_token": true,
3
  "add_prefix_space": false,
4
  "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
  "lstrip": false,
16
  "normalized": true,
17
  "rstrip": false,
 
19
  "special": true
20
  }
21
  },
22
+ "bos_token": "</s>",
23
  "clean_up_tokenization_spaces": false,
24
+ "eos_token": "</s>",
25
+ "errors": "replace",
26
  "extra_special_tokens": {},
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
  "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
  }
vocab.json CHANGED
The diff for this file is too large to render. See raw diff