zakerytclarke commited on
Commit
7611617
·
verified ·
1 Parent(s): 90ff03d

Upload 9 files

Browse files
onnx/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5ForConditionalGeneration"
4
+ ],
5
+ "classifier_dropout": 0.0,
6
+ "d_ff": 2816,
7
+ "d_kv": 64,
8
+ "d_model": 1024,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "dtype": "float32",
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "gated-gelu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": true,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 24,
22
+ "num_heads": 16,
23
+ "num_layers": 24,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "tie_word_embeddings": false,
29
+ "transformers_version": "4.57.6",
30
+ "use_cache": true,
31
+ "vocab_size": 32128
32
+ }
onnx/decoder_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d07dfadf10c8fe4fbfbef43b1e4603b26276a4c6b761235e05293ed61ef7419
3
- size 1899943049
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977ed19bda46c45ff550a99684b5a03b79501dc5f7ca9c0413de8e5f6ace094c
3
+ size 1900001850
onnx/decoder_model_merged_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:17fa73a5763ce1472db7482c8f2123f308fdc4238d777ccfecbcb4411c415d32
3
- size 478997710
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dbe3452d6a7734b24d7c69e1814930ed6152f507e871449f929c9d90077000d
3
+ size 426079888
onnx/decoder_model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b0f65ab3d9b41705ab508e2bbbd6c44c0c6b78fb60b44d74f0c0aea28579dee
3
- size 477977453
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1a5466b48370cd3ac5115cbaf11f4703d19a8d63fed645b603c71c87815c147
3
+ size 476553495
onnx/decoder_with_past_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9228b8e3e66d6cee1a342a76e766525d1b9b4f37182b71fcf21e501a81b3cc3b
3
- size 1698480827
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31b6bf3ea2f35045728ab035263492c5cacdeaffb6682770b63decf00638f866
3
+ size 1698604354
onnx/encoder_model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d06a07c9db4a1dc0acb489391ca1ab916b606ae446d666ac7adaaefde4e2f27e
3
- size 1365287559
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d02a1ea1fb82287e35577bd5b389186cc1f1364dcf19a511abd8ef87837a7bbe
3
+ size 1365296185
onnx/encoder_model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e549954378992e0dff8a3bccd0a39188f10da1ceb7ef97351e546489b843da9
3
- size 343223433
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2f7b64e965964bf84d23a19b71c9513b61c5196029853c2e9de9a061420de8
3
+ size 342183032
onnx/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.57.6"
7
+ }
onnx/ort_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "one_external_file": true,
3
+ "opset": null,
4
+ "optimization": {},
5
+ "quantization": {
6
+ "activations_dtype": "QUInt8",
7
+ "activations_symmetric": false,
8
+ "format": "QOperator",
9
+ "is_static": false,
10
+ "mode": "IntegerOps",
11
+ "nodes_to_exclude": [],
12
+ "nodes_to_quantize": [],
13
+ "operators_to_quantize": [
14
+ "Conv",
15
+ "MatMul",
16
+ "Attention",
17
+ "LSTM",
18
+ "Gather",
19
+ "Transpose",
20
+ "EmbedLayerNormalization"
21
+ ],
22
+ "per_channel": false,
23
+ "qdq_add_pair_to_weight": false,
24
+ "qdq_dedicated_pair": false,
25
+ "qdq_op_type_per_channel_support_to_axis": {
26
+ "MatMul": 1
27
+ },
28
+ "reduce_range": false,
29
+ "weights_dtype": "QInt8",
30
+ "weights_symmetric": true
31
+ },
32
+ "use_external_data_format": false
33
+ }