sartajbhuvaji commited on
Commit
54522c4
·
verified ·
1 Parent(s): f1c510e

Upload folder using huggingface_hub

Browse files
Files changed (6) hide show
  1. config.json +65 -65
  2. merges.txt +0 -0
  3. model.safetensors +1 -1
  4. special_tokens_map.json +23 -23
  5. tokenizer_config.json +22 -22
  6. vocab.json +0 -0
config.json CHANGED
@@ -1,65 +1,65 @@
1
- {
2
- "_name_or_path": "gpt2",
3
- "activation_function": "gelu_new",
4
- "architectures": [
5
- "GPT2ForSequenceClassification"
6
- ],
7
- "attn_pdrop": 0.1,
8
- "bos_token_id": 50256,
9
- "embd_pdrop": 0.1,
10
- "eos_token_id": 50256,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9"
22
- },
23
- "initializer_range": 0.02,
24
- "label2id": {
25
- "LABEL_0": 0,
26
- "LABEL_1": 1,
27
- "LABEL_2": 2,
28
- "LABEL_3": 3,
29
- "LABEL_4": 4,
30
- "LABEL_5": 5,
31
- "LABEL_6": 6,
32
- "LABEL_7": 7,
33
- "LABEL_8": 8,
34
- "LABEL_9": 9
35
- },
36
- "layer_norm_epsilon": 1e-05,
37
- "model_type": "gpt2",
38
- "n_ctx": 1024,
39
- "n_embd": 768,
40
- "n_head": 12,
41
- "n_inner": null,
42
- "n_layer": 12,
43
- "n_positions": 1024,
44
- "pad_token_id": 50256,
45
- "problem_type": "single_label_classification",
46
- "reorder_and_upcast_attn": false,
47
- "resid_pdrop": 0.1,
48
- "scale_attn_by_inverse_layer_idx": false,
49
- "scale_attn_weights": true,
50
- "summary_activation": null,
51
- "summary_first_dropout": 0.1,
52
- "summary_proj_to_labels": true,
53
- "summary_type": "cls_index",
54
- "summary_use_proj": true,
55
- "task_specific_params": {
56
- "text-generation": {
57
- "do_sample": true,
58
- "max_length": 50
59
- }
60
- },
61
- "torch_dtype": "float32",
62
- "transformers_version": "4.45.2",
63
- "use_cache": true,
64
- "vocab_size": 50257
65
- }
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6,
32
+ "LABEL_7": 7,
33
+ "LABEL_8": 8,
34
+ "LABEL_9": 9
35
+ },
36
+ "layer_norm_epsilon": 1e-05,
37
+ "model_type": "gpt2",
38
+ "n_ctx": 1024,
39
+ "n_embd": 768,
40
+ "n_head": 12,
41
+ "n_inner": null,
42
+ "n_layer": 12,
43
+ "n_positions": 1024,
44
+ "pad_token_id": 50256,
45
+ "problem_type": "single_label_classification",
46
+ "reorder_and_upcast_attn": false,
47
+ "resid_pdrop": 0.1,
48
+ "scale_attn_by_inverse_layer_idx": false,
49
+ "scale_attn_weights": true,
50
+ "summary_activation": null,
51
+ "summary_first_dropout": 0.1,
52
+ "summary_proj_to_labels": true,
53
+ "summary_type": "cls_index",
54
+ "summary_use_proj": true,
55
+ "task_specific_params": {
56
+ "text-generation": {
57
+ "do_sample": true,
58
+ "max_length": 50
59
+ }
60
+ },
61
+ "torch_dtype": "float32",
62
+ "transformers_version": "4.44.2",
63
+ "use_cache": true,
64
+ "vocab_size": 50257
65
+ }
merges.txt CHANGED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43c1d85b230620b7b705d82adecffc566f2e8f8d88cf62b4c9417b7fc1ed194e
3
  size 497805008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:664d04f292ab3753ef3e870ae476493ba10456c1fa30bcee13df0839b69e2548
3
  size 497805008
special_tokens_map.json CHANGED
@@ -1,23 +1,23 @@
1
- {
2
- "bos_token": {
3
- "content": "<|endoftext|>",
4
- "lstrip": false,
5
- "normalized": true,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "<|endoftext|>",
11
- "lstrip": false,
12
- "normalized": true,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "unk_token": {
17
- "content": "<|endoftext|>",
18
- "lstrip": false,
19
- "normalized": true,
20
- "rstrip": false,
21
- "single_word": false
22
- }
23
- }
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer_config.json CHANGED
@@ -1,22 +1,22 @@
1
- {
2
- "add_bos_token": false,
3
- "add_prefix_space": false,
4
- "added_tokens_decoder": {
5
- "50256": {
6
- "content": "<|endoftext|>",
7
- "lstrip": false,
8
- "normalized": true,
9
- "rstrip": false,
10
- "single_word": false,
11
- "special": true
12
- }
13
- },
14
- "bos_token": "<|endoftext|>",
15
- "clean_up_tokenization_spaces": false,
16
- "eos_token": "<|endoftext|>",
17
- "errors": "replace",
18
- "model_max_length": 1024,
19
- "pad_token": null,
20
- "tokenizer_class": "GPT2Tokenizer",
21
- "unk_token": "<|endoftext|>"
22
- }
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": null,
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
vocab.json CHANGED
The diff for this file is too large to render. See raw diff