Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- Constant_24_attr__value +3 -0
- Constant_37_attr__value +3 -0
- config.json +38 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- onnx/decoder_model.onnx +3 -0
- onnx/decoder_model_merged.onnx +3 -0
- onnx/decoder_model_merged.onnx_data +3 -0
- onnx/decoder_model_merged_quantized.onnx +3 -0
- onnx/decoder_model_quantized.onnx +3 -0
- onnx/decoder_with_past_model.onnx +3 -0
- onnx/decoder_with_past_model_quantized.onnx +3 -0
- quantize_config.json +100 -0
- special_tokens_map.json +26 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Constant_24_attr__value filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Constant_37_attr__value filter=lfs diff=lfs merge=lfs -text
|
38 |
+
onnx/decoder_model_merged.onnx_data filter=lfs diff=lfs merge=lfs -text
|
Constant_24_attr__value
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3725270cd155782baaa80a9cd636ac8a683d414c53f4722790e24e1ae317dbd
|
3 |
+
size 67108864
|
Constant_37_attr__value
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3725270cd155782baaa80a9cd636ac8a683d414c53f4722790e24e1ae317dbd
|
3 |
+
size 67108864
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bigcode/starcoderbase-1b",
|
3 |
+
"activation_function": "gelu_pytorch_tanh",
|
4 |
+
"architectures": [
|
5 |
+
"GPTBigCodeForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_softmax_in_fp32": true,
|
8 |
+
"attn_pdrop": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"eos_token_id": 0,
|
12 |
+
"inference_runner": 0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"max_batch_size": null,
|
16 |
+
"max_sequence_length": null,
|
17 |
+
"model_type": "gpt_bigcode",
|
18 |
+
"multi_query": true,
|
19 |
+
"n_embd": 2048,
|
20 |
+
"n_head": 16,
|
21 |
+
"n_inner": 8192,
|
22 |
+
"n_layer": 24,
|
23 |
+
"n_positions": 8192,
|
24 |
+
"pad_key_length": true,
|
25 |
+
"pre_allocate_kv_cache": false,
|
26 |
+
"resid_pdrop": 0.1,
|
27 |
+
"scale_attention_softmax_in_fp32": true,
|
28 |
+
"scale_attn_weights": true,
|
29 |
+
"summary_activation": null,
|
30 |
+
"summary_first_dropout": 0.1,
|
31 |
+
"summary_proj_to_labels": true,
|
32 |
+
"summary_type": "cls_index",
|
33 |
+
"summary_use_proj": true,
|
34 |
+
"transformers_version": "4.32.0.dev0",
|
35 |
+
"use_cache": true,
|
36 |
+
"validate_runner_input": true,
|
37 |
+
"vocab_size": 49152
|
38 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.32.0.dev0"
|
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:dfbe51938a454fb7493cedfc43afbd0046cfe7c722db9216093cc0a3b6e64e82
|
3 |
+
size 67546738
|
onnx/decoder_model_merged.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:70156b0fa12ab9a88b3d8c6c84e68a04f2daaf3809384b71da40b482ee57d05b
|
3 |
+
size 135080712
|
onnx/decoder_model_merged.onnx_data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6769e4ec8861f12edc9919154f528bf52bdc9be056d268e643efcc87c841228c
|
3 |
+
size 4951482368
|
onnx/decoder_model_merged_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d824f8f3448d776ec974775ff68ded9a73b05b26eb3b422c0cbeaa67e1b021d
|
3 |
+
size 1377075517
|
onnx/decoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fe76860084f806c05370701a347431f18df17ab49eb67a0a14b42d9a7d6c04b3
|
3 |
+
size 1309295033
|
onnx/decoder_with_past_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9eed4ca2a3763d01f96b6fad2188cf4c8780a919bf1274aabea3faab690f276
|
3 |
+
size 67558417
|
onnx/decoder_with_past_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84d5609cfbf1787adfa3da0f1910ca833519822ba6b75ee28c3e88193e12d148
|
3 |
+
size 1309305555
|
quantize_config.json
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"decoder_with_past_model": {
|
6 |
+
"op_types": [
|
7 |
+
"Gather",
|
8 |
+
"Squeeze",
|
9 |
+
"Mul",
|
10 |
+
"Cast",
|
11 |
+
"Sub",
|
12 |
+
"Constant",
|
13 |
+
"Unsqueeze",
|
14 |
+
"Tanh",
|
15 |
+
"Add",
|
16 |
+
"Softmax",
|
17 |
+
"Sqrt",
|
18 |
+
"Where",
|
19 |
+
"MatMul",
|
20 |
+
"Shape",
|
21 |
+
"Slice",
|
22 |
+
"Concat",
|
23 |
+
"Div",
|
24 |
+
"Pow",
|
25 |
+
"And",
|
26 |
+
"Equal",
|
27 |
+
"Split",
|
28 |
+
"Transpose",
|
29 |
+
"ConstantOfShape",
|
30 |
+
"Reshape",
|
31 |
+
"CumSum",
|
32 |
+
"ReduceMean"
|
33 |
+
],
|
34 |
+
"weight_type": "QInt8"
|
35 |
+
},
|
36 |
+
"decoder_model": {
|
37 |
+
"op_types": [
|
38 |
+
"Gather",
|
39 |
+
"Squeeze",
|
40 |
+
"Mul",
|
41 |
+
"Cast",
|
42 |
+
"Sub",
|
43 |
+
"Constant",
|
44 |
+
"Unsqueeze",
|
45 |
+
"Tanh",
|
46 |
+
"Add",
|
47 |
+
"Softmax",
|
48 |
+
"Sqrt",
|
49 |
+
"Where",
|
50 |
+
"MatMul",
|
51 |
+
"Shape",
|
52 |
+
"Slice",
|
53 |
+
"Concat",
|
54 |
+
"Div",
|
55 |
+
"Pow",
|
56 |
+
"And",
|
57 |
+
"Equal",
|
58 |
+
"Split",
|
59 |
+
"Transpose",
|
60 |
+
"ConstantOfShape",
|
61 |
+
"Reshape",
|
62 |
+
"CumSum",
|
63 |
+
"ReduceMean"
|
64 |
+
],
|
65 |
+
"weight_type": "QInt8"
|
66 |
+
},
|
67 |
+
"decoder_model_merged": {
|
68 |
+
"op_types": [
|
69 |
+
"Gather",
|
70 |
+
"Squeeze",
|
71 |
+
"Mul",
|
72 |
+
"Cast",
|
73 |
+
"Sub",
|
74 |
+
"If",
|
75 |
+
"Constant",
|
76 |
+
"Unsqueeze",
|
77 |
+
"Tanh",
|
78 |
+
"Add",
|
79 |
+
"Softmax",
|
80 |
+
"Sqrt",
|
81 |
+
"Where",
|
82 |
+
"MatMul",
|
83 |
+
"Shape",
|
84 |
+
"Slice",
|
85 |
+
"Concat",
|
86 |
+
"Div",
|
87 |
+
"Pow",
|
88 |
+
"And",
|
89 |
+
"Equal",
|
90 |
+
"Split",
|
91 |
+
"Transpose",
|
92 |
+
"ConstantOfShape",
|
93 |
+
"Reshape",
|
94 |
+
"CumSum",
|
95 |
+
"ReduceMean"
|
96 |
+
],
|
97 |
+
"weight_type": "QInt8"
|
98 |
+
}
|
99 |
+
}
|
100 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|endoftext|>",
|
4 |
+
"<fim_prefix>",
|
5 |
+
"<fim_middle>",
|
6 |
+
"<fim_suffix>",
|
7 |
+
"<fim_pad>",
|
8 |
+
"<filename>",
|
9 |
+
"<gh_stars>",
|
10 |
+
"<issue_start>",
|
11 |
+
"<issue_comment>",
|
12 |
+
"<issue_closed>",
|
13 |
+
"<jupyter_start>",
|
14 |
+
"<jupyter_text>",
|
15 |
+
"<jupyter_code>",
|
16 |
+
"<jupyter_output>",
|
17 |
+
"<empty_output>",
|
18 |
+
"<commit_before>",
|
19 |
+
"<commit_msg>",
|
20 |
+
"<commit_after>",
|
21 |
+
"<reponame>"
|
22 |
+
],
|
23 |
+
"bos_token": "<|endoftext|>",
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"unk_token": "<|endoftext|>"
|
26 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"additional_special_tokens": [
|
4 |
+
"<|endoftext|>",
|
5 |
+
"<fim_prefix>",
|
6 |
+
"<fim_middle>",
|
7 |
+
"<fim_suffix>",
|
8 |
+
"<fim_pad>",
|
9 |
+
"<filename>",
|
10 |
+
"<gh_stars>",
|
11 |
+
"<issue_start>",
|
12 |
+
"<issue_comment>",
|
13 |
+
"<issue_closed>",
|
14 |
+
"<jupyter_start>",
|
15 |
+
"<jupyter_text>",
|
16 |
+
"<jupyter_code>",
|
17 |
+
"<jupyter_output>",
|
18 |
+
"<empty_output>",
|
19 |
+
"<commit_before>",
|
20 |
+
"<commit_msg>",
|
21 |
+
"<commit_after>",
|
22 |
+
"<reponame>"
|
23 |
+
],
|
24 |
+
"bos_token": "<|endoftext|>",
|
25 |
+
"clean_up_tokenization_spaces": true,
|
26 |
+
"eos_token": "<|endoftext|>",
|
27 |
+
"model_max_length": 1000000000000000019884624838656,
|
28 |
+
"tokenizer_class": "GPT2Tokenizer",
|
29 |
+
"unk_token": "<|endoftext|>",
|
30 |
+
"vocab_size": 49152
|
31 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|