fix
Browse files- config.json +3 -3
- decoder_model_quantized.onnx +2 -2
- decoder_with_past_model_quantized.onnx +2 -2
- encoder_model_quantized.onnx +2 -2
- ort_config.json +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "pszemraj_nougat-
|
| 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":
|
| 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":
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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.
|
| 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":
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
"padding": {
|
| 10 |
"strategy": {
|
| 11 |
-
"Fixed":
|
| 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":
|
| 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>",
|