Lyaaaaaaaaaaaaaaa commited on
Commit
c3e1915
1 Parent(s): e5fdbcd

Upload 11 files

Browse files
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.27.4",
44
+ "use_cache": true,
45
+ "vocab_size": 50257
46
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.27.4"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model-00001-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:576cba0e7a7f5fdd4d43ed1a7e9dc1702ac4a6ecfa6f748f505e299a187b7f22
3
+ size 197454115
pytorch_model-00002-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12809e94625edce2a91b147a5ddfbf7bc9811b4f4ad009494f456670753ddc97
3
+ size 136516203
pytorch_model-00003-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2351eea05c8f20963705bf9d343b2b98e13e269bab900c9445144e9ae0d1649f
3
+ size 154390442
pytorch_model.bin.index.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 482826264.0
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "pytorch_model-00003-of-00003.bin",
7
+ "transformer.h.0.attn.bias": "pytorch_model-00001-of-00003.bin",
8
+ "transformer.h.0.attn.c_attn.bias": "pytorch_model-00001-of-00003.bin",
9
+ "transformer.h.0.attn.c_attn.weight": "pytorch_model-00001-of-00003.bin",
10
+ "transformer.h.0.attn.c_proj.bias": "pytorch_model-00001-of-00003.bin",
11
+ "transformer.h.0.attn.c_proj.weight": "pytorch_model-00001-of-00003.bin",
12
+ "transformer.h.0.attn.masked_bias": "pytorch_model-00001-of-00003.bin",
13
+ "transformer.h.0.ln_1.bias": "pytorch_model-00001-of-00003.bin",
14
+ "transformer.h.0.ln_1.weight": "pytorch_model-00001-of-00003.bin",
15
+ "transformer.h.0.ln_2.bias": "pytorch_model-00001-of-00003.bin",
16
+ "transformer.h.0.ln_2.weight": "pytorch_model-00001-of-00003.bin",
17
+ "transformer.h.0.mlp.c_fc.bias": "pytorch_model-00001-of-00003.bin",
18
+ "transformer.h.0.mlp.c_fc.weight": "pytorch_model-00001-of-00003.bin",
19
+ "transformer.h.0.mlp.c_proj.bias": "pytorch_model-00001-of-00003.bin",
20
+ "transformer.h.0.mlp.c_proj.weight": "pytorch_model-00001-of-00003.bin",
21
+ "transformer.h.1.attn.bias": "pytorch_model-00001-of-00003.bin",
22
+ "transformer.h.1.attn.c_attn.bias": "pytorch_model-00001-of-00003.bin",
23
+ "transformer.h.1.attn.c_attn.weight": "pytorch_model-00001-of-00003.bin",
24
+ "transformer.h.1.attn.c_proj.bias": "pytorch_model-00001-of-00003.bin",
25
+ "transformer.h.1.attn.c_proj.weight": "pytorch_model-00001-of-00003.bin",
26
+ "transformer.h.1.attn.masked_bias": "pytorch_model-00001-of-00003.bin",
27
+ "transformer.h.1.ln_1.bias": "pytorch_model-00001-of-00003.bin",
28
+ "transformer.h.1.ln_1.weight": "pytorch_model-00001-of-00003.bin",
29
+ "transformer.h.1.ln_2.bias": "pytorch_model-00001-of-00003.bin",
30
+ "transformer.h.1.ln_2.weight": "pytorch_model-00001-of-00003.bin",
31
+ "transformer.h.1.mlp.c_fc.bias": "pytorch_model-00002-of-00003.bin",
32
+ "transformer.h.1.mlp.c_fc.weight": "pytorch_model-00002-of-00003.bin",
33
+ "transformer.h.1.mlp.c_proj.bias": "pytorch_model-00002-of-00003.bin",
34
+ "transformer.h.1.mlp.c_proj.weight": "pytorch_model-00002-of-00003.bin",
35
+ "transformer.h.2.attn.bias": "pytorch_model-00002-of-00003.bin",
36
+ "transformer.h.2.attn.c_attn.bias": "pytorch_model-00002-of-00003.bin",
37
+ "transformer.h.2.attn.c_attn.weight": "pytorch_model-00002-of-00003.bin",
38
+ "transformer.h.2.attn.c_proj.bias": "pytorch_model-00002-of-00003.bin",
39
+ "transformer.h.2.attn.c_proj.weight": "pytorch_model-00002-of-00003.bin",
40
+ "transformer.h.2.attn.masked_bias": "pytorch_model-00002-of-00003.bin",
41
+ "transformer.h.2.ln_1.bias": "pytorch_model-00002-of-00003.bin",
42
+ "transformer.h.2.ln_1.weight": "pytorch_model-00002-of-00003.bin",
43
+ "transformer.h.2.ln_2.bias": "pytorch_model-00002-of-00003.bin",
44
+ "transformer.h.2.ln_2.weight": "pytorch_model-00002-of-00003.bin",
45
+ "transformer.h.2.mlp.c_fc.bias": "pytorch_model-00002-of-00003.bin",
46
+ "transformer.h.2.mlp.c_fc.weight": "pytorch_model-00002-of-00003.bin",
47
+ "transformer.h.2.mlp.c_proj.bias": "pytorch_model-00002-of-00003.bin",
48
+ "transformer.h.2.mlp.c_proj.weight": "pytorch_model-00002-of-00003.bin",
49
+ "transformer.h.3.attn.bias": "pytorch_model-00002-of-00003.bin",
50
+ "transformer.h.3.attn.c_attn.bias": "pytorch_model-00002-of-00003.bin",
51
+ "transformer.h.3.attn.c_attn.weight": "pytorch_model-00002-of-00003.bin",
52
+ "transformer.h.3.attn.c_proj.bias": "pytorch_model-00002-of-00003.bin",
53
+ "transformer.h.3.attn.c_proj.weight": "pytorch_model-00002-of-00003.bin",
54
+ "transformer.h.3.attn.masked_bias": "pytorch_model-00002-of-00003.bin",
55
+ "transformer.h.3.ln_1.bias": "pytorch_model-00002-of-00003.bin",
56
+ "transformer.h.3.ln_1.weight": "pytorch_model-00002-of-00003.bin",
57
+ "transformer.h.3.ln_2.bias": "pytorch_model-00002-of-00003.bin",
58
+ "transformer.h.3.ln_2.weight": "pytorch_model-00002-of-00003.bin",
59
+ "transformer.h.3.mlp.c_fc.bias": "pytorch_model-00002-of-00003.bin",
60
+ "transformer.h.3.mlp.c_fc.weight": "pytorch_model-00002-of-00003.bin",
61
+ "transformer.h.3.mlp.c_proj.bias": "pytorch_model-00002-of-00003.bin",
62
+ "transformer.h.3.mlp.c_proj.weight": "pytorch_model-00002-of-00003.bin",
63
+ "transformer.h.4.attn.bias": "pytorch_model-00002-of-00003.bin",
64
+ "transformer.h.4.attn.c_attn.bias": "pytorch_model-00002-of-00003.bin",
65
+ "transformer.h.4.attn.c_attn.weight": "pytorch_model-00002-of-00003.bin",
66
+ "transformer.h.4.attn.c_proj.bias": "pytorch_model-00002-of-00003.bin",
67
+ "transformer.h.4.attn.c_proj.weight": "pytorch_model-00002-of-00003.bin",
68
+ "transformer.h.4.attn.masked_bias": "pytorch_model-00002-of-00003.bin",
69
+ "transformer.h.4.ln_1.bias": "pytorch_model-00002-of-00003.bin",
70
+ "transformer.h.4.ln_1.weight": "pytorch_model-00002-of-00003.bin",
71
+ "transformer.h.4.ln_2.bias": "pytorch_model-00002-of-00003.bin",
72
+ "transformer.h.4.ln_2.weight": "pytorch_model-00002-of-00003.bin",
73
+ "transformer.h.4.mlp.c_fc.bias": "pytorch_model-00002-of-00003.bin",
74
+ "transformer.h.4.mlp.c_fc.weight": "pytorch_model-00002-of-00003.bin",
75
+ "transformer.h.4.mlp.c_proj.bias": "pytorch_model-00002-of-00003.bin",
76
+ "transformer.h.4.mlp.c_proj.weight": "pytorch_model-00002-of-00003.bin",
77
+ "transformer.h.5.attn.bias": "pytorch_model-00002-of-00003.bin",
78
+ "transformer.h.5.attn.c_attn.bias": "pytorch_model-00002-of-00003.bin",
79
+ "transformer.h.5.attn.c_attn.weight": "pytorch_model-00002-of-00003.bin",
80
+ "transformer.h.5.attn.c_proj.bias": "pytorch_model-00002-of-00003.bin",
81
+ "transformer.h.5.attn.c_proj.weight": "pytorch_model-00002-of-00003.bin",
82
+ "transformer.h.5.attn.masked_bias": "pytorch_model-00002-of-00003.bin",
83
+ "transformer.h.5.ln_1.bias": "pytorch_model-00002-of-00003.bin",
84
+ "transformer.h.5.ln_1.weight": "pytorch_model-00002-of-00003.bin",
85
+ "transformer.h.5.ln_2.bias": "pytorch_model-00002-of-00003.bin",
86
+ "transformer.h.5.ln_2.weight": "pytorch_model-00002-of-00003.bin",
87
+ "transformer.h.5.mlp.c_fc.bias": "pytorch_model-00002-of-00003.bin",
88
+ "transformer.h.5.mlp.c_fc.weight": "pytorch_model-00002-of-00003.bin",
89
+ "transformer.h.5.mlp.c_proj.bias": "pytorch_model-00002-of-00003.bin",
90
+ "transformer.h.5.mlp.c_proj.weight": "pytorch_model-00002-of-00003.bin",
91
+ "transformer.ln_f.bias": "pytorch_model-00002-of-00003.bin",
92
+ "transformer.ln_f.weight": "pytorch_model-00002-of-00003.bin",
93
+ "transformer.wpe.weight": "pytorch_model-00001-of-00003.bin",
94
+ "transformer.wte.weight": "pytorch_model-00001-of-00003.bin"
95
+ }
96
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "model_max_length": 1024,
6
+ "special_tokens_map_file": null,
7
+ "tokenizer_class": "GPT2Tokenizer",
8
+ "unk_token": "<|endoftext|>"
9
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff