Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- opus-onnx/.DS_Store +0 -0
- opus-onnx/en-ko-Q8/config.json +40 -0
- opus-onnx/en-ko-Q8/generation_config.json +16 -0
- opus-onnx/en-ko-Q8/model_quantized.onnx +3 -0
- opus-onnx/en-ko-Q8/ort_config.json +33 -0
- opus-onnx/en-ko-Q8/source.spm +3 -0
- opus-onnx/en-ko-Q8/target.spm +3 -0
- opus-onnx/en-ko-Q8/tokenizer_config.json +1 -0
- opus-onnx/en-ko-Q8/vocab.json +0 -0
- opus-onnx/en-ko/config.json +1 -1
- opus-onnx/en-ko/model.onnx +2 -2
- opus-onnx/ko-en-Q8/config.json +55 -0
- opus-onnx/ko-en-Q8/generation_config.json +16 -0
- opus-onnx/ko-en-Q8/model_quantized.onnx +3 -0
- opus-onnx/ko-en-Q8/ort_config.json +33 -0
- opus-onnx/ko-en-Q8/source.spm +3 -0
- opus-onnx/ko-en-Q8/target.spm +3 -0
- opus-onnx/ko-en-Q8/tokenizer_config.json +1 -0
- opus-onnx/ko-en-Q8/vocab.json +0 -0
- opus-onnx/ko-en/config.json +1 -1
- opus-onnx/ko-en/model.onnx +2 -2
.gitattributes
CHANGED
|
@@ -49,3 +49,7 @@ opus-onnx/en-ko/source.spm filter=lfs diff=lfs merge=lfs -text
|
|
| 49 |
opus-onnx/en-ko/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 50 |
opus-onnx/ko-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 51 |
opus-onnx/ko-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
opus-onnx/en-ko/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 50 |
opus-onnx/ko-en/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 51 |
opus-onnx/ko-en/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
opus-onnx/en-ko-Q8/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
opus-onnx/en-ko-Q8/target.spm filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
opus-onnx/ko-en-Q8/source.spm filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
opus-onnx/ko-en-Q8/target.spm filter=lfs diff=lfs merge=lfs -text
|
opus-onnx/.DS_Store
ADDED
|
Binary file (14.3 kB). View file
|
|
|
opus-onnx/en-ko-Q8/config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "relu",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"MarianMTModel"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"classifier_dropout": 0.0,
|
| 10 |
+
"d_model": 1024,
|
| 11 |
+
"decoder_attention_heads": 16,
|
| 12 |
+
"decoder_ffn_dim": 4096,
|
| 13 |
+
"decoder_layerdrop": 0.0,
|
| 14 |
+
"decoder_layers": 6,
|
| 15 |
+
"decoder_start_token_id": 32000,
|
| 16 |
+
"decoder_vocab_size": 32001,
|
| 17 |
+
"dropout": 0.1,
|
| 18 |
+
"dtype": "float32",
|
| 19 |
+
"encoder_attention_heads": 16,
|
| 20 |
+
"encoder_ffn_dim": 4096,
|
| 21 |
+
"encoder_layerdrop": 0.0,
|
| 22 |
+
"encoder_layers": 6,
|
| 23 |
+
"eos_token_id": 2,
|
| 24 |
+
"forced_eos_token_id": null,
|
| 25 |
+
"init_std": 0.02,
|
| 26 |
+
"is_encoder_decoder": true,
|
| 27 |
+
"max_length": null,
|
| 28 |
+
"max_position_embeddings": 1024,
|
| 29 |
+
"model_type": "marian",
|
| 30 |
+
"normalize_embedding": false,
|
| 31 |
+
"num_beams": null,
|
| 32 |
+
"num_hidden_layers": 6,
|
| 33 |
+
"pad_token_id": 32000,
|
| 34 |
+
"scale_embedding": true,
|
| 35 |
+
"share_encoder_decoder_embeddings": true,
|
| 36 |
+
"static_position_embeddings": true,
|
| 37 |
+
"transformers_version": "4.57.6",
|
| 38 |
+
"use_cache": false,
|
| 39 |
+
"vocab_size": 32001
|
| 40 |
+
}
|
opus-onnx/en-ko-Q8/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
32000
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 32000,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"forced_eos_token_id": 2,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 4,
|
| 13 |
+
"pad_token_id": 32000,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.34.0.dev0"
|
| 16 |
+
}
|
opus-onnx/en-ko-Q8/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fafc78b73899be33b5a37bc628e1789f2e1cf50b0361720680b8c64972aaaa32
|
| 3 |
+
size 249286674
|
opus-onnx/en-ko-Q8/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": true,
|
| 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 |
+
}
|
opus-onnx/en-ko-Q8/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d0591e65c49541d82f48df33d7b322c3d4ee7aa0ee8747f9a7f9355dbf22c95
|
| 3 |
+
size 789870
|
opus-onnx/en-ko-Q8/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d2aa641a0890d8966ab8703b109895a4e522713ce99b4a0192bfacb495bc97c
|
| 3 |
+
size 815483
|
opus-onnx/en-ko-Q8/tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"source_lang": "en", "target_lang": "ko", "unk_token": "<unk>", "eos_token": "</s>", "pad_token": "<pad>", "model_max_length": 512, "sp_model_kwargs": {}, "separate_vocabs": false, "special_tokens_map_file": null, "name_or_path": "marian-models/opusTCv20210807-sepvoc_transformer-big_2022-07-28/en-ko", "tokenizer_class": "MarianTokenizer"}
|
opus-onnx/en-ko-Q8/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
opus-onnx/en-ko/config.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
"decoder_start_token_id": 32000,
|
| 16 |
"decoder_vocab_size": 32001,
|
| 17 |
"dropout": 0.1,
|
| 18 |
-
"dtype": "
|
| 19 |
"encoder_attention_heads": 16,
|
| 20 |
"encoder_ffn_dim": 4096,
|
| 21 |
"encoder_layerdrop": 0.0,
|
|
|
|
| 15 |
"decoder_start_token_id": 32000,
|
| 16 |
"decoder_vocab_size": 32001,
|
| 17 |
"dropout": 0.1,
|
| 18 |
+
"dtype": "float32",
|
| 19 |
"encoder_attention_heads": 16,
|
| 20 |
"encoder_ffn_dim": 4096,
|
| 21 |
"encoder_layerdrop": 0.0,
|
opus-onnx/en-ko/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:37d7359bc8d629ae4d3dd442c01a0d1be87cfb3de6a4b178f8a727531ba8c395
|
| 3 |
+
size 972198738
|
opus-onnx/ko-en-Q8/config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dropout": 0.0,
|
| 3 |
+
"activation_function": "swish",
|
| 4 |
+
"add_bias_logits": false,
|
| 5 |
+
"add_final_layer_norm": false,
|
| 6 |
+
"architectures": [
|
| 7 |
+
"MarianMTModel"
|
| 8 |
+
],
|
| 9 |
+
"attention_dropout": 0.0,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classif_dropout": 0.0,
|
| 12 |
+
"classifier_dropout": 0.0,
|
| 13 |
+
"d_model": 512,
|
| 14 |
+
"decoder_attention_heads": 8,
|
| 15 |
+
"decoder_ffn_dim": 2048,
|
| 16 |
+
"decoder_layerdrop": 0.0,
|
| 17 |
+
"decoder_layers": 6,
|
| 18 |
+
"decoder_start_token_id": 65000,
|
| 19 |
+
"decoder_vocab_size": 65001,
|
| 20 |
+
"dropout": 0.1,
|
| 21 |
+
"dtype": "float32",
|
| 22 |
+
"encoder_attention_heads": 8,
|
| 23 |
+
"encoder_ffn_dim": 2048,
|
| 24 |
+
"encoder_layerdrop": 0.0,
|
| 25 |
+
"encoder_layers": 6,
|
| 26 |
+
"eos_token_id": 0,
|
| 27 |
+
"extra_pos_embeddings": 65001,
|
| 28 |
+
"forced_eos_token_id": 0,
|
| 29 |
+
"id2label": {
|
| 30 |
+
"0": "LABEL_0",
|
| 31 |
+
"1": "LABEL_1",
|
| 32 |
+
"2": "LABEL_2"
|
| 33 |
+
},
|
| 34 |
+
"init_std": 0.02,
|
| 35 |
+
"is_encoder_decoder": true,
|
| 36 |
+
"label2id": {
|
| 37 |
+
"LABEL_0": 0,
|
| 38 |
+
"LABEL_1": 1,
|
| 39 |
+
"LABEL_2": 2
|
| 40 |
+
},
|
| 41 |
+
"max_length": null,
|
| 42 |
+
"max_position_embeddings": 512,
|
| 43 |
+
"model_type": "marian",
|
| 44 |
+
"normalize_before": false,
|
| 45 |
+
"normalize_embedding": false,
|
| 46 |
+
"num_beams": null,
|
| 47 |
+
"num_hidden_layers": 6,
|
| 48 |
+
"pad_token_id": 65000,
|
| 49 |
+
"scale_embedding": true,
|
| 50 |
+
"share_encoder_decoder_embeddings": true,
|
| 51 |
+
"static_position_embeddings": true,
|
| 52 |
+
"transformers_version": "4.57.6",
|
| 53 |
+
"use_cache": false,
|
| 54 |
+
"vocab_size": 65001
|
| 55 |
+
}
|
opus-onnx/ko-en-Q8/generation_config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bad_words_ids": [
|
| 3 |
+
[
|
| 4 |
+
65000
|
| 5 |
+
]
|
| 6 |
+
],
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"decoder_start_token_id": 65000,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"forced_eos_token_id": 0,
|
| 11 |
+
"max_length": 512,
|
| 12 |
+
"num_beams": 6,
|
| 13 |
+
"pad_token_id": 65000,
|
| 14 |
+
"renormalize_logits": true,
|
| 15 |
+
"transformers_version": "4.57.6"
|
| 16 |
+
}
|
opus-onnx/ko-en-Q8/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9378c44e948ec6065fefa179b984c507e91f53941bd88acf13ff94fcf484f870
|
| 3 |
+
size 113826245
|
opus-onnx/ko-en-Q8/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": true,
|
| 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 |
+
}
|
opus-onnx/ko-en-Q8/source.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9496f7c2be9aecb84c751ae9f35a875915dde8e3892f652a5c76811ab2a0f49
|
| 3 |
+
size 841805
|
opus-onnx/ko-en-Q8/target.spm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1531ac8576fe64267dfca0dc33950a6e9a2d3fd9e05346558ad7ea5ee0e65bf
|
| 3 |
+
size 813126
|
opus-onnx/ko-en-Q8/tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"target_lang": "eng", "source_lang": "kor"}
|
opus-onnx/ko-en-Q8/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
opus-onnx/ko-en/config.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
| 18 |
"decoder_start_token_id": 65000,
|
| 19 |
"decoder_vocab_size": 65001,
|
| 20 |
"dropout": 0.1,
|
| 21 |
-
"dtype": "
|
| 22 |
"encoder_attention_heads": 8,
|
| 23 |
"encoder_ffn_dim": 2048,
|
| 24 |
"encoder_layerdrop": 0.0,
|
|
|
|
| 18 |
"decoder_start_token_id": 65000,
|
| 19 |
"decoder_vocab_size": 65001,
|
| 20 |
"dropout": 0.1,
|
| 21 |
+
"dtype": "float32",
|
| 22 |
"encoder_attention_heads": 8,
|
| 23 |
"encoder_ffn_dim": 2048,
|
| 24 |
"encoder_layerdrop": 0.0,
|
opus-onnx/ko-en/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:a4f2c9685b1f5c6f360bd961c853d139c50d170ff14b028b769516ddf9754177
|
| 3 |
+
size 444403744
|