Upload folder using huggingface_hub
Browse files- config.json +55 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- quantize_config.json +108 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- vocab.txt +0 -0
config.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "smilegate-ai/kor_unsmile",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "\uc5ec\uc131/\uac00\uc871",
|
| 14 |
+
"1": "\ub0a8\uc131",
|
| 15 |
+
"2": "\uc131\uc18c\uc218\uc790",
|
| 16 |
+
"3": "\uc778\uc885/\uad6d\uc801",
|
| 17 |
+
"4": "\uc5f0\ub839",
|
| 18 |
+
"5": "\uc9c0\uc5ed",
|
| 19 |
+
"6": "\uc885\uad50",
|
| 20 |
+
"7": "\uae30\ud0c0 \ud610\uc624",
|
| 21 |
+
"8": "\uc545\ud50c/\uc695\uc124",
|
| 22 |
+
"9": "clean"
|
| 23 |
+
},
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 3072,
|
| 26 |
+
"label2id": {
|
| 27 |
+
"clean": 9,
|
| 28 |
+
"\uae30\ud0c0 \ud610\uc624": 7,
|
| 29 |
+
"\ub0a8\uc131": 1,
|
| 30 |
+
"\uc131\uc18c\uc218\uc790": 2,
|
| 31 |
+
"\uc545\ud50c/\uc695\uc124": 8,
|
| 32 |
+
"\uc5ec\uc131/\uac00\uc871": 0,
|
| 33 |
+
"\uc5f0\ub839": 4,
|
| 34 |
+
"\uc778\uc885/\uad6d\uc801": 3,
|
| 35 |
+
"\uc885\uad50": 6,
|
| 36 |
+
"\uc9c0\uc5ed": 5
|
| 37 |
+
},
|
| 38 |
+
"layer_norm_eps": 1e-12,
|
| 39 |
+
"max_position_embeddings": 300,
|
| 40 |
+
"model_type": "bert",
|
| 41 |
+
"num_attention_heads": 12,
|
| 42 |
+
"num_hidden_layers": 12,
|
| 43 |
+
"pad_token_id": 0,
|
| 44 |
+
"pooler_fc_size": 768,
|
| 45 |
+
"pooler_num_attention_heads": 12,
|
| 46 |
+
"pooler_num_fc_layers": 3,
|
| 47 |
+
"pooler_size_per_head": 128,
|
| 48 |
+
"pooler_type": "first_token_transform",
|
| 49 |
+
"position_embedding_type": "absolute",
|
| 50 |
+
"problem_type": "multi_label_classification",
|
| 51 |
+
"transformers_version": "4.38.2",
|
| 52 |
+
"type_vocab_size": 2,
|
| 53 |
+
"use_cache": true,
|
| 54 |
+
"vocab_size": 30000
|
| 55 |
+
}
|
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2dd103b5cf8399cb8f053da6726f59a9fa4e1bd277434cbfd075e8ecbcb5f69
|
| 3 |
+
size 435969946
|
onnx/model_bnb4.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf87e1c4128f25d3ab148a83eeb3234dcdb61245a55588a0b04c96d64d04495e
|
| 3 |
+
size 144018268
|
onnx/model_fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d32b9d5fddde1e963bdcfe569906c7077b856b1e917536b133a69631331f058
|
| 3 |
+
size 218203927
|
onnx/model_int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3ea852b3d430b9340284fc319d09a9166d662fc4ec9070fc5bc2780afb907bd
|
| 3 |
+
size 110158802
|
onnx/model_q4.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5537eb874ef6e0a3d334414ada7d5038812f87d28f005575c424e88775fd744
|
| 3 |
+
size 149326156
|
onnx/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3ea852b3d430b9340284fc319d09a9166d662fc4ec9070fc5bc2780afb907bd
|
| 3 |
+
size 110158802
|
onnx/model_uint8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7da4c4ace595d261a8179f7788e655a039f68098d8c0d46d383c8cf32254c2ba
|
| 3 |
+
size 110158803
|
quantize_config.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fp16": {},
|
| 3 |
+
"q8": {
|
| 4 |
+
"per_model_config": {
|
| 5 |
+
"model": {
|
| 6 |
+
"op_types": [
|
| 7 |
+
"Add",
|
| 8 |
+
"Cast",
|
| 9 |
+
"Concat",
|
| 10 |
+
"Constant",
|
| 11 |
+
"Div",
|
| 12 |
+
"Erf",
|
| 13 |
+
"Gather",
|
| 14 |
+
"Gemm",
|
| 15 |
+
"MatMul",
|
| 16 |
+
"Mul",
|
| 17 |
+
"Pow",
|
| 18 |
+
"ReduceMean",
|
| 19 |
+
"Reshape",
|
| 20 |
+
"Shape",
|
| 21 |
+
"Slice",
|
| 22 |
+
"Softmax",
|
| 23 |
+
"Sqrt",
|
| 24 |
+
"Sub",
|
| 25 |
+
"Tanh",
|
| 26 |
+
"Transpose",
|
| 27 |
+
"Unsqueeze"
|
| 28 |
+
],
|
| 29 |
+
"weight_type": "QInt8"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"per_channel": true,
|
| 33 |
+
"reduce_range": true
|
| 34 |
+
},
|
| 35 |
+
"int8": {
|
| 36 |
+
"per_model_config": {
|
| 37 |
+
"model": {
|
| 38 |
+
"op_types": [
|
| 39 |
+
"Add",
|
| 40 |
+
"Cast",
|
| 41 |
+
"Concat",
|
| 42 |
+
"Constant",
|
| 43 |
+
"Div",
|
| 44 |
+
"Erf",
|
| 45 |
+
"Gather",
|
| 46 |
+
"Gemm",
|
| 47 |
+
"MatMul",
|
| 48 |
+
"Mul",
|
| 49 |
+
"Pow",
|
| 50 |
+
"ReduceMean",
|
| 51 |
+
"Reshape",
|
| 52 |
+
"Shape",
|
| 53 |
+
"Slice",
|
| 54 |
+
"Softmax",
|
| 55 |
+
"Sqrt",
|
| 56 |
+
"Sub",
|
| 57 |
+
"Tanh",
|
| 58 |
+
"Transpose",
|
| 59 |
+
"Unsqueeze"
|
| 60 |
+
],
|
| 61 |
+
"weight_type": "QInt8"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"per_channel": true,
|
| 65 |
+
"reduce_range": true
|
| 66 |
+
},
|
| 67 |
+
"uint8": {
|
| 68 |
+
"per_model_config": {
|
| 69 |
+
"model": {
|
| 70 |
+
"op_types": [
|
| 71 |
+
"Add",
|
| 72 |
+
"Cast",
|
| 73 |
+
"Concat",
|
| 74 |
+
"Constant",
|
| 75 |
+
"Div",
|
| 76 |
+
"Erf",
|
| 77 |
+
"Gather",
|
| 78 |
+
"Gemm",
|
| 79 |
+
"MatMul",
|
| 80 |
+
"Mul",
|
| 81 |
+
"Pow",
|
| 82 |
+
"ReduceMean",
|
| 83 |
+
"Reshape",
|
| 84 |
+
"Shape",
|
| 85 |
+
"Slice",
|
| 86 |
+
"Softmax",
|
| 87 |
+
"Sqrt",
|
| 88 |
+
"Sub",
|
| 89 |
+
"Tanh",
|
| 90 |
+
"Transpose",
|
| 91 |
+
"Unsqueeze"
|
| 92 |
+
],
|
| 93 |
+
"weight_type": "QUInt8"
|
| 94 |
+
}
|
| 95 |
+
},
|
| 96 |
+
"per_channel": true,
|
| 97 |
+
"reduce_range": true
|
| 98 |
+
},
|
| 99 |
+
"q4": {
|
| 100 |
+
"block_size": 32,
|
| 101 |
+
"is_symmetric": true,
|
| 102 |
+
"accuracy_level": null
|
| 103 |
+
},
|
| 104 |
+
"bnb4": {
|
| 105 |
+
"block_size": 64,
|
| 106 |
+
"quant_type": 1
|
| 107 |
+
}
|
| 108 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": {
|
| 3 |
+
"content": "[CLS]",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"mask_token": {
|
| 10 |
+
"content": "[MASK]",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "[PAD]",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"sep_token": {
|
| 24 |
+
"content": "[SEP]",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "[UNK]",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
}
|
| 37 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"4": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": true,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": false,
|
| 48 |
+
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 300,
|
| 50 |
+
"never_split": null,
|
| 51 |
+
"pad_token": "[PAD]",
|
| 52 |
+
"sep_token": "[SEP]",
|
| 53 |
+
"strip_accents": null,
|
| 54 |
+
"tokenize_chinese_chars": true,
|
| 55 |
+
"tokenizer_class": "BertTokenizer",
|
| 56 |
+
"unk_token": "[UNK]"
|
| 57 |
+
}
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|