RaghulDevaraj
commited on
Commit
•
d6fec0f
1
Parent(s):
11c5a3d
Adding ONNX file of this model
Browse filesBeep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [RaghulDevaraj](https://huggingface.co/RaghulDevaraj), I would like to add to this repository the model converted to ONNX.
What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)!
The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!
- onnx/added_tokens.json +3 -0
- onnx/config.json +1 -1
- onnx/decoder_model.onnx +2 -2
- onnx/decoder_model_merged.onnx +2 -2
- onnx/decoder_with_past_model.onnx +2 -2
- onnx/generation_config.json +1 -1
- onnx/tokenizer_config.json +11 -0
onnx/added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 50256
|
3 |
+
}
|
onnx/config.json
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
"max_length": 50
|
33 |
}
|
34 |
},
|
35 |
-
"transformers_version": "4.
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 50257
|
38 |
}
|
|
|
32 |
"max_length": 50
|
33 |
}
|
34 |
},
|
35 |
+
"transformers_version": "4.34.0",
|
36 |
"use_cache": true,
|
37 |
"vocab_size": 50257
|
38 |
}
|
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:269870f777b286d2c938def14cb017c29251abf34014c15f45c4b7ca0c5df83f
|
3 |
+
size 653665414
|
onnx/decoder_model_merged.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:65fc6daaceb5beddd47f8dfdffc5d6cd93865f110c8b98104d4a9ae4da917636
|
3 |
+
size 655188482
|
onnx/decoder_with_past_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:c635a3e1cfe2ce85d1607758852e9b1766a991a311c8c1e8523e70e112828d17
|
3 |
+
size 653672220
|
onnx/generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.34.0"
|
6 |
}
|
onnx/tokenizer_config.json
CHANGED
@@ -1,5 +1,16 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"bos_token": "<|endoftext|>",
|
4 |
"clean_up_tokenization_spaces": true,
|
5 |
"eos_token": "<|endoftext|>",
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"additional_special_tokens": [],
|
14 |
"bos_token": "<|endoftext|>",
|
15 |
"clean_up_tokenization_spaces": true,
|
16 |
"eos_token": "<|endoftext|>",
|