Upload with huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +23 -0
- decoder_model_optimized.onnx +3 -0
- decoder_model_optimized.onnx.data +3 -0
- decoder_with_past_model_optimized.onnx +3 -0
- decoder_with_past_model_optimized.onnx.data +3 -0
- ort_config.json +33 -0
.gitattributes
CHANGED
@@ -32,3 +32,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
decoder_model_optimized.onnx.data filter=lfs diff=lfs merge=lfs -text
|
36 |
+
decoder_with_past_model_optimized.onnx.data filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/vdb/alpaca-onnx/config.json",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 1,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 11008,
|
12 |
+
"max_sequence_length": 2048,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"pad_token_id": -1,
|
17 |
+
"rms_norm_eps": 1e-06,
|
18 |
+
"tie_word_embeddings": false,
|
19 |
+
"torch_dtype": "float16",
|
20 |
+
"transformers_version": "4.28.0.dev0",
|
21 |
+
"use_cache": true,
|
22 |
+
"vocab_size": 32000
|
23 |
+
}
|
decoder_model_optimized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b485a5544a23145c81ead3c249dc53d32f0743e96050cdb28ccefca086cc94a6
|
3 |
+
size 2441371
|
decoder_model_optimized.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f7dd68dc6f4c26099b698d79ed0036ccf1d55541b177ad9a00ab8c453a6a13c
|
3 |
+
size 13476831232
|
decoder_with_past_model_optimized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47ce1b612fde067cb018b0da30d509fde9e52618b26a422a75eb328a941b2178
|
3 |
+
size 2523515
|
decoder_with_past_model_optimized.onnx.data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f7dd68dc6f4c26099b698d79ed0036ccf1d55541b177ad9a00ab8c453a6a13c
|
3 |
+
size 13476831232
|
ort_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"one_external_file": true,
|
3 |
+
"opset": null,
|
4 |
+
"optimization": {
|
5 |
+
"disable_attention": null,
|
6 |
+
"disable_attention_fusion": false,
|
7 |
+
"disable_bias_gelu": null,
|
8 |
+
"disable_bias_gelu_fusion": false,
|
9 |
+
"disable_bias_skip_layer_norm": null,
|
10 |
+
"disable_bias_skip_layer_norm_fusion": false,
|
11 |
+
"disable_embed_layer_norm": true,
|
12 |
+
"disable_embed_layer_norm_fusion": true,
|
13 |
+
"disable_gelu": null,
|
14 |
+
"disable_gelu_fusion": false,
|
15 |
+
"disable_layer_norm": null,
|
16 |
+
"disable_layer_norm_fusion": false,
|
17 |
+
"disable_shape_inference": false,
|
18 |
+
"disable_skip_layer_norm": null,
|
19 |
+
"disable_skip_layer_norm_fusion": false,
|
20 |
+
"enable_gelu_approximation": false,
|
21 |
+
"enable_transformers_specific_optimizations": true,
|
22 |
+
"fp16": true,
|
23 |
+
"no_attention_mask": false,
|
24 |
+
"optimization_level": 0,
|
25 |
+
"optimize_for_gpu": false,
|
26 |
+
"optimize_with_onnxruntime_only": null,
|
27 |
+
"use_mask_index": false
|
28 |
+
},
|
29 |
+
"optimum_version": "1.7.4.dev0",
|
30 |
+
"quantization": {},
|
31 |
+
"transformers_version": "4.28.0.dev0",
|
32 |
+
"use_external_data_format": true
|
33 |
+
}
|