Xenova HF staff commited on
Commit
5d80a6c
·
1 Parent(s): d84ae02

Upload folder using huggingface_hub

Browse files
.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
+ onnx/decoder_model.onnx_data filter=lfs diff=lfs merge=lfs -text
37
+ onnx/decoder_model_merged.onnx_data filter=lfs diff=lfs merge=lfs -text
38
+ onnx/decoder_with_past_model.onnx_data filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<|pad|>": 49152
3
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "abacaj/starcoderbase-1b-sft",
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.34.0.dev0",
35
+ "use_cache": false,
36
+ "validate_runner_input": true,
37
+ "vocab_size": 49153
38
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.34.0.dev0",
6
+ "use_cache": false
7
+ }
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:26694b5c55b14d02deb11b982e66f526e7b54873d7956445fc4c3be6ad59a04d
3
+ size 67546220
onnx/decoder_model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f9f0f5757ab2d352d16c233b97bcfa44b74940175d7f5caa0a84a176815f4e
3
+ size 4548837376
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d1fc5f8edfb9453d9db89e8e2926009258dcb40735b53a1eb8fea4ba6f9ab35
3
+ size 135080792
onnx/decoder_model_merged.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f9f0f5757ab2d352d16c233b97bcfa44b74940175d7f5caa0a84a176815f4e
3
+ size 4548837376
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f4960fef3e75c498a974708e32eec3c0fdfe2281d530be75a8b1520be4b45fa
3
+ size 1274416101
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6fe6399e2fb478409fab465cc6b37e547ac86cab85f3b07111a7baa95131249
3
+ size 1206635985
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdea6acd5648a2e53c65c946ed695eb99a5956f3986f28e9e7844d9544718602
3
+ size 67557861
onnx/decoder_with_past_model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f9f0f5757ab2d352d16c233b97bcfa44b74940175d7f5caa0a84a176815f4e
3
+ size 4548837376
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9c64d6684ded203c01e274daf4d935c4d29ba21edffe51eccfcf28688b4cb58
3
+ size 1206646507
quantize_config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "decoder_model_merged": {
6
+ "op_types": [
7
+ "Div",
8
+ "Where",
9
+ "Equal",
10
+ "Tanh",
11
+ "Split",
12
+ "Reshape",
13
+ "Mul",
14
+ "ConstantOfShape",
15
+ "Cast",
16
+ "CumSum",
17
+ "Gather",
18
+ "Sub",
19
+ "Transpose",
20
+ "Squeeze",
21
+ "Constant",
22
+ "Shape",
23
+ "If",
24
+ "Concat",
25
+ "Pow",
26
+ "Softmax",
27
+ "Slice",
28
+ "MatMul",
29
+ "Sqrt",
30
+ "And",
31
+ "Unsqueeze",
32
+ "Add",
33
+ "ReduceMean"
34
+ ],
35
+ "weight_type": "QInt8"
36
+ },
37
+ "decoder_model": {
38
+ "op_types": [
39
+ "Div",
40
+ "Where",
41
+ "Equal",
42
+ "Tanh",
43
+ "Split",
44
+ "Reshape",
45
+ "Mul",
46
+ "ConstantOfShape",
47
+ "Cast",
48
+ "CumSum",
49
+ "Gather",
50
+ "Sub",
51
+ "Transpose",
52
+ "Squeeze",
53
+ "Constant",
54
+ "Shape",
55
+ "Pow",
56
+ "Concat",
57
+ "Softmax",
58
+ "Slice",
59
+ "MatMul",
60
+ "Sqrt",
61
+ "And",
62
+ "Unsqueeze",
63
+ "Add",
64
+ "ReduceMean"
65
+ ],
66
+ "weight_type": "QInt8"
67
+ },
68
+ "decoder_with_past_model": {
69
+ "op_types": [
70
+ "Div",
71
+ "Where",
72
+ "Equal",
73
+ "Tanh",
74
+ "Split",
75
+ "Reshape",
76
+ "Mul",
77
+ "ConstantOfShape",
78
+ "Cast",
79
+ "CumSum",
80
+ "Gather",
81
+ "Sub",
82
+ "Transpose",
83
+ "Squeeze",
84
+ "Constant",
85
+ "Shape",
86
+ "Pow",
87
+ "Concat",
88
+ "Softmax",
89
+ "Slice",
90
+ "MatMul",
91
+ "Sqrt",
92
+ "And",
93
+ "Unsqueeze",
94
+ "Add",
95
+ "ReduceMean"
96
+ ],
97
+ "weight_type": "QInt8"
98
+ }
99
+ }
100
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "pad_token": {
26
+ "content": "<|pad|>",
27
+ "lstrip": false,
28
+ "normalized": true,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "unk_token": "<|endoftext|>"
33
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "additional_special_tokens": [
5
+ "<|endoftext|>",
6
+ "<fim_prefix>",
7
+ "<fim_middle>",
8
+ "<fim_suffix>",
9
+ "<fim_pad>",
10
+ "<filename>",
11
+ "<gh_stars>",
12
+ "<issue_start>",
13
+ "<issue_comment>",
14
+ "<issue_closed>",
15
+ "<jupyter_start>",
16
+ "<jupyter_text>",
17
+ "<jupyter_code>",
18
+ "<jupyter_output>",
19
+ "<empty_output>",
20
+ "<commit_before>",
21
+ "<commit_msg>",
22
+ "<commit_after>",
23
+ "<reponame>"
24
+ ],
25
+ "bos_token": {
26
+ "__type": "AddedToken",
27
+ "content": "<|endoftext|>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "clean_up_tokenization_spaces": true,
34
+ "eos_token": {
35
+ "__type": "AddedToken",
36
+ "content": "<|endoftext|>",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false
41
+ },
42
+ "errors": "replace",
43
+ "model_max_length": 2048,
44
+ "pad_token": {
45
+ "__type": "AddedToken",
46
+ "content": "<|pad|>",
47
+ "lstrip": false,
48
+ "normalized": true,
49
+ "rstrip": false,
50
+ "single_word": false
51
+ },
52
+ "padding_side": "left",
53
+ "tokenizer_class": "GPT2Tokenizer",
54
+ "unk_token": {
55
+ "__type": "AddedToken",
56
+ "content": "<|endoftext|>",
57
+ "lstrip": false,
58
+ "normalized": true,
59
+ "rstrip": false,
60
+ "single_word": false
61
+ },
62
+ "vocab_size": 49152
63
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff