Xenova HF staff commited on
Commit
ea0d839
1 Parent(s): c8ac650

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ 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_161_attr__value filter=lfs diff=lfs merge=lfs -text
37
+ Constant_171_attr__value filter=lfs diff=lfs merge=lfs -text
38
+ onnx/decoder_model.onnx_data filter=lfs diff=lfs merge=lfs -text
39
+ onnx/decoder_model_merged.onnx_data filter=lfs diff=lfs merge=lfs -text
40
+ onnx/decoder_with_past_model.onnx_data filter=lfs diff=lfs merge=lfs -text
Constant_161_attr__value ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae525b5c247f1f7b8310c42b37be7aed79adadb1806bb109d1e14c8c896fc319
3
+ size 1048576
Constant_171_attr__value ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae525b5c247f1f7b8310c42b37be7aed79adadb1806bb109d1e14c8c896fc319
3
+ size 1048576
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "### End": 50257,
3
+ "### Instruction:": 50258,
4
+ "### Response:\n": 50259
5
+ }
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aisquared/dlite-v2-774m",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "custom_pipelines": {
10
+ "text-generation": {
11
+ "impl": "instruct_pipeline.InstructionTextGenerationPipeline",
12
+ "pt": "AutoModelForCausalLM",
13
+ "tf": "TFAutoModelForCausalLM"
14
+ }
15
+ },
16
+ "embd_pdrop": 0.1,
17
+ "eos_token_id": 50256,
18
+ "initializer_range": 0.02,
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 1280,
23
+ "n_head": 20,
24
+ "n_inner": null,
25
+ "n_layer": 36,
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
+ "transformers_version": "4.34.0.dev0",
43
+ "use_cache": false,
44
+ "vocab_size": 50260
45
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
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:b1680214930fcee9705886f8c4a96d5b06d8e7a9dcb7f95b3de5750c691dd337
3
+ size 2649672
onnx/decoder_model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030f53b5db781ea64a146d482de7fb0a9fa283b86af870eea22a9dff443c67ed
3
+ size 3096135680
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:542e5011e4267eb5ba0ca23392243174ae09bff2bb1cc12a95f4e26ec271cc8f
3
+ size 5288464
onnx/decoder_model_merged.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030f53b5db781ea64a146d482de7fb0a9fa283b86af870eea22a9dff443c67ed
3
+ size 3096135680
onnx/decoder_model_merged_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dccd230a9ab7f8a4987a755e89ae5a6a764f74c35083d5ddcf5f7ab4818b6706
3
+ size 782507016
onnx/decoder_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91bd0b10d0b488d66e5de3e70100bbaac5cbbfe8cdf3e20531951f5bde7397c3
3
+ size 779165371
onnx/decoder_with_past_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81879932dce3cbd15909fb212d73ccfc66e348800f288a30148f8480c27244f3
3
+ size 2673105
onnx/decoder_with_past_model.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030f53b5db781ea64a146d482de7fb0a9fa283b86af870eea22a9dff443c67ed
3
+ size 3096135680
onnx/decoder_with_past_model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9db025185c7581b03b10a3d3c59e90af23cc963414cd8f0bf877147e3fc579b
3
+ size 779190321
quantize_config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "decoder_model_merged": {
6
+ "op_types": [
7
+ "ConstantOfShape",
8
+ "Pow",
9
+ "Tanh",
10
+ "Softmax",
11
+ "Cast",
12
+ "If",
13
+ "Slice",
14
+ "Gemm",
15
+ "Squeeze",
16
+ "MatMul",
17
+ "Gather",
18
+ "Unsqueeze",
19
+ "Concat",
20
+ "ReduceMean",
21
+ "Where",
22
+ "Mul",
23
+ "Transpose",
24
+ "Range",
25
+ "Sub",
26
+ "Split",
27
+ "Shape",
28
+ "Constant",
29
+ "Div",
30
+ "Reshape",
31
+ "Add",
32
+ "Sqrt"
33
+ ],
34
+ "weight_type": "QInt8"
35
+ },
36
+ "decoder_with_past_model": {
37
+ "op_types": [
38
+ "ConstantOfShape",
39
+ "Pow",
40
+ "Tanh",
41
+ "Softmax",
42
+ "Cast",
43
+ "Slice",
44
+ "Gemm",
45
+ "Squeeze",
46
+ "MatMul",
47
+ "Gather",
48
+ "Unsqueeze",
49
+ "Concat",
50
+ "ReduceMean",
51
+ "Where",
52
+ "Mul",
53
+ "Transpose",
54
+ "Range",
55
+ "Sub",
56
+ "Split",
57
+ "Shape",
58
+ "Constant",
59
+ "Div",
60
+ "Reshape",
61
+ "Add",
62
+ "Sqrt"
63
+ ],
64
+ "weight_type": "QInt8"
65
+ },
66
+ "decoder_model": {
67
+ "op_types": [
68
+ "ConstantOfShape",
69
+ "Pow",
70
+ "Tanh",
71
+ "Softmax",
72
+ "Cast",
73
+ "Slice",
74
+ "Gemm",
75
+ "Squeeze",
76
+ "MatMul",
77
+ "Gather",
78
+ "Unsqueeze",
79
+ "Concat",
80
+ "ReduceMean",
81
+ "Where",
82
+ "Mul",
83
+ "Transpose",
84
+ "Range",
85
+ "Sub",
86
+ "Split",
87
+ "Shape",
88
+ "Constant",
89
+ "Div",
90
+ "Reshape",
91
+ "Add",
92
+ "Sqrt"
93
+ ],
94
+ "weight_type": "QInt8"
95
+ }
96
+ }
97
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "### End",
4
+ "### Instruction:",
5
+ "### Response:\n"
6
+ ],
7
+ "bos_token": "<|endoftext|>",
8
+ "eos_token": "<|endoftext|>",
9
+ "pad_token": "<|endoftext|>",
10
+ "unk_token": "<|endoftext|>"
11
+ }
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
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1024,
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