pszemraj commited on
Commit
cfb9db8
1 Parent(s): 992bcdf
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "pszemraj_nougat-small-onnx",
3
  "architectures": [
4
  "VisionEncoderDecoderModel"
5
  ],
@@ -21,7 +21,7 @@
21
  "decoder_attention_heads": 16,
22
  "decoder_ffn_dim": 4096,
23
  "decoder_layerdrop": 0.0,
24
- "decoder_layers": 4,
25
  "decoder_start_token_id": null,
26
  "diversity_penalty": 0.0,
27
  "do_sample": false,
@@ -50,7 +50,7 @@
50
  },
51
  "length_penalty": 1.0,
52
  "max_length": 20,
53
- "max_position_embeddings": 3584,
54
  "min_length": 0,
55
  "model_type": "mbart",
56
  "no_repeat_ngram_size": 0,
 
1
  {
2
+ "_name_or_path": "pszemraj_nougat-base-onnx",
3
  "architectures": [
4
  "VisionEncoderDecoderModel"
5
  ],
 
21
  "decoder_attention_heads": 16,
22
  "decoder_ffn_dim": 4096,
23
  "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 10,
25
  "decoder_start_token_id": null,
26
  "diversity_penalty": 0.0,
27
  "do_sample": false,
 
50
  },
51
  "length_penalty": 1.0,
52
  "max_length": 20,
53
+ "max_position_embeddings": 4096,
54
  "min_length": 0,
55
  "model_type": "mbart",
56
  "no_repeat_ngram_size": 0,
decoder_model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9c8f1bb7456441320245595f93fa052612b9f477b71f4822a46c070faf48e8d
3
- size 174444105
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15da4726c8d041f961d9b97481effca9ddba49446df6dc3f17eeec64740aa348
3
+ size 277026563
decoder_with_past_model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a68ddb99f8e476a6ba4e356145440de0fa70a5d2cff89c136feba9691f27c98
3
- size 165923718
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5381e07724b3177510b22fb04dfbaf6378740b4f73bf4822868e1d7b300a06d3
3
+ size 255737635
encoder_model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6bec906871770afe111f0f3474bd5cb143cfd7f659c242431ee5431be580684d
3
- size 82052587
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4966de105b16f2208c41b6993b02f2ab36dbfefd7de897200f11c0781b4c9c33
3
+ size 82052674
ort_config.json CHANGED
@@ -2,7 +2,7 @@
2
  "one_external_file": true,
3
  "opset": null,
4
  "optimization": {},
5
- "optimum_version": "1.17.1",
6
  "quantization": {
7
  "activations_dtype": "QUInt8",
8
  "activations_symmetric": false,
 
2
  "one_external_file": true,
3
  "opset": null,
4
  "optimization": {},
5
+ "optimum_version": "1.18.0.dev0",
6
  "quantization": {
7
  "activations_dtype": "QUInt8",
8
  "activations_symmetric": false,
tokenizer.json CHANGED
@@ -2,13 +2,13 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 3584,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
- "Fixed": 3584
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 4096,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
+ "Fixed": 4096
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
tokenizer_config.json CHANGED
@@ -189,7 +189,7 @@
189
  "bos_token": "<s>",
190
  "clean_up_tokenization_spaces": false,
191
  "eos_token": "</s>",
192
- "max_length": 3584,
193
  "model_max_length": 3584,
194
  "pad_to_multiple_of": null,
195
  "pad_token": "<pad>",
 
189
  "bos_token": "<s>",
190
  "clean_up_tokenization_spaces": false,
191
  "eos_token": "</s>",
192
+ "max_length": 4096,
193
  "model_max_length": 3584,
194
  "pad_to_multiple_of": null,
195
  "pad_token": "<pad>",