Pipper commited on
Commit
2b4f5f3
1 Parent(s): d9e5479

Upload 13 files

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ckandemir/solidity-generator",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 768,
16
+ "n_head": 12,
17
+ "n_inner": null,
18
+ "n_layer": 12,
19
+ "n_positions": 1024,
20
+ "reorder_and_upcast_attn": true,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": true,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "transformers_version": "4.33.0",
36
+ "use_cache": true,
37
+ "vocab_size": 32768
38
+ }
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.33.0"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
onnx/decoder_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ee53a448d9ded1bb591909022119ec494eb669c0fe49b7fdef63a5194fbfde2
3
+ size 546279898
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85201cfa1bee1581aaa31577e3f8d5b9391d1b0eed4730200e0290ec159c38f5
3
+ size 140234828
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ae26c4c017f89dc6ef47f594570a04de930b9bc4c4c57f3a0acb2ecfbc690bc
3
+ size 138383582
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dba1c2587692ea9ca6a287a6978ddb8d92fd6f0fb25bed5db65d88a2ca59fbbe
3
+ size 546286716
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ad0651b93dc4a5b45fe35afa83b673bf0d25633edbabaffc0dde8a3c28fa6fb
3
+ size 138392647
quantize_config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "decoder_with_past_model": {
6
+ "op_types": [
7
+ "Gemm",
8
+ "Cast",
9
+ "Reshape",
10
+ "Gather",
11
+ "Split",
12
+ "ConstantOfShape",
13
+ "Where",
14
+ "Mul",
15
+ "Sqrt",
16
+ "Unsqueeze",
17
+ "Squeeze",
18
+ "Constant",
19
+ "Range",
20
+ "Concat",
21
+ "Softmax",
22
+ "Transpose",
23
+ "Div",
24
+ "Sub",
25
+ "Add",
26
+ "ReduceMean",
27
+ "Shape",
28
+ "Slice",
29
+ "Tanh",
30
+ "Pow",
31
+ "MatMul"
32
+ ],
33
+ "weight_type": "QInt8"
34
+ },
35
+ "decoder_model": {
36
+ "op_types": [
37
+ "Gemm",
38
+ "Cast",
39
+ "Reshape",
40
+ "Gather",
41
+ "Split",
42
+ "ConstantOfShape",
43
+ "Where",
44
+ "Mul",
45
+ "Sqrt",
46
+ "Unsqueeze",
47
+ "Squeeze",
48
+ "Constant",
49
+ "Range",
50
+ "Concat",
51
+ "Softmax",
52
+ "Transpose",
53
+ "Div",
54
+ "Sub",
55
+ "Add",
56
+ "ReduceMean",
57
+ "Shape",
58
+ "Slice",
59
+ "Tanh",
60
+ "Pow",
61
+ "MatMul"
62
+ ],
63
+ "weight_type": "QInt8"
64
+ },
65
+ "decoder_model_merged": {
66
+ "op_types": [
67
+ "Gemm",
68
+ "Cast",
69
+ "Reshape",
70
+ "Gather",
71
+ "Split",
72
+ "ConstantOfShape",
73
+ "Where",
74
+ "Mul",
75
+ "Sqrt",
76
+ "Unsqueeze",
77
+ "Squeeze",
78
+ "Constant",
79
+ "Range",
80
+ "Concat",
81
+ "Softmax",
82
+ "Transpose",
83
+ "Div",
84
+ "Sub",
85
+ "Add",
86
+ "ReduceMean",
87
+ "If",
88
+ "Shape",
89
+ "Slice",
90
+ "Tanh",
91
+ "Pow",
92
+ "MatMul"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ }
96
+ }
97
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "max_length": 1000,
7
+ "model_max_length": 1024,
8
+ "pad_to_multiple_of": null,
9
+ "pad_token": "<|endoftext|>",
10
+ "pad_token_type_id": 0,
11
+ "padding_side": "right",
12
+ "stride": 0,
13
+ "tokenizer_class": "GPT2Tokenizer",
14
+ "truncation_side": "right",
15
+ "truncation_strategy": "longest_first",
16
+ "unk_token": "<|endoftext|>"
17
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff