Upload folder using huggingface_hub
Browse files- onnx/config.json +1 -1
- onnx/decoder_model.onnx +2 -2
- onnx/decoder_with_past_model.onnx +3 -0
- onnx/generation_config.json +1 -0
- onnx/tokenizer.json +9 -2
- onnx/tokenizer_config.json +0 -4
onnx/config.json
CHANGED
|
@@ -55,6 +55,6 @@
|
|
| 55 |
},
|
| 56 |
"torch_dtype": "float32",
|
| 57 |
"transformers_version": "4.53.3",
|
| 58 |
-
"use_cache":
|
| 59 |
"vocab_size": 32128
|
| 60 |
}
|
|
|
|
| 55 |
},
|
| 56 |
"torch_dtype": "float32",
|
| 57 |
"transformers_version": "4.53.3",
|
| 58 |
+
"use_cache": true,
|
| 59 |
"vocab_size": 32128
|
| 60 |
}
|
onnx/decoder_model.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:2377486d3360a463e41e540391d683900ca3ef953397172a226399171a7ade55
|
| 3 |
+
size 232487447
|
onnx/decoder_with_past_model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9f0cbe647c363fab4d102d659d091e1c034fa4efcaad3c385b9729133bc2c18
|
| 3 |
+
size 219887009
|
onnx/generation_config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"decoder_start_token_id": 0,
|
| 3 |
"eos_token_id": 1,
|
| 4 |
"pad_token_id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
onnx/tokenizer.json
CHANGED
|
@@ -2,11 +2,18 @@
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
-
"max_length":
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
-
"padding":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"added_tokens": [
|
| 11 |
{
|
| 12 |
"id": 0,
|
|
|
|
| 2 |
"version": "1.0",
|
| 3 |
"truncation": {
|
| 4 |
"direction": "Right",
|
| 5 |
+
"max_length": 64,
|
| 6 |
"strategy": "LongestFirst",
|
| 7 |
"stride": 0
|
| 8 |
},
|
| 9 |
+
"padding": {
|
| 10 |
+
"strategy": "BatchLongest",
|
| 11 |
+
"direction": "Right",
|
| 12 |
+
"pad_to_multiple_of": null,
|
| 13 |
+
"pad_id": 0,
|
| 14 |
+
"pad_type_id": 0,
|
| 15 |
+
"pad_token": "<pad>"
|
| 16 |
+
},
|
| 17 |
"added_tokens": [
|
| 18 |
{
|
| 19 |
"id": 0,
|
onnx/tokenizer_config.json
CHANGED
|
@@ -932,12 +932,8 @@
|
|
| 932 |
"eos_token": "</s>",
|
| 933 |
"extra_ids": 100,
|
| 934 |
"extra_special_tokens": {},
|
| 935 |
-
"max_length": 256,
|
| 936 |
"model_max_length": 512,
|
| 937 |
"pad_token": "<pad>",
|
| 938 |
-
"stride": 0,
|
| 939 |
"tokenizer_class": "T5Tokenizer",
|
| 940 |
-
"truncation_side": "right",
|
| 941 |
-
"truncation_strategy": "longest_first",
|
| 942 |
"unk_token": "<unk>"
|
| 943 |
}
|
|
|
|
| 932 |
"eos_token": "</s>",
|
| 933 |
"extra_ids": 100,
|
| 934 |
"extra_special_tokens": {},
|
|
|
|
| 935 |
"model_max_length": 512,
|
| 936 |
"pad_token": "<pad>",
|
|
|
|
| 937 |
"tokenizer_class": "T5Tokenizer",
|
|
|
|
|
|
|
| 938 |
"unk_token": "<unk>"
|
| 939 |
}
|