Update
Browse files- config.json +2 -2
- onnx/model.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- quantize_config.json +12 -12
- special_tokens_map.json +0 -7
- tokenizer.json +2 -16
- tokenizer_config.json +1 -15
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"max_position_embeddings": 512,
|
| 21 |
"model_type": "bert",
|
| 22 |
"num_attention_heads": 12,
|
| 23 |
-
"num_hidden_layers":
|
| 24 |
"pad_token_id": 0,
|
| 25 |
"position_embedding_type": "absolute",
|
| 26 |
"transformers_version": "4.38.1",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "avsolatorio/GIST-small-Embedding-v0",
|
| 3 |
"architectures": [
|
| 4 |
"BertModel"
|
| 5 |
],
|
|
|
|
| 20 |
"max_position_embeddings": 512,
|
| 21 |
"model_type": "bert",
|
| 22 |
"num_attention_heads": 12,
|
| 23 |
+
"num_hidden_layers": 12,
|
| 24 |
"pad_token_id": 0,
|
| 25 |
"position_embedding_type": "absolute",
|
| 26 |
"transformers_version": "4.38.1",
|
onnx/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:8c95502dc23d4ffb50a81d3838f721abde71509982d720d355ce52c0cdfe2dfe
|
| 3 |
+
size 133093492
|
onnx/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:45b972073570f3af92b90b708ec580d63cca87654e2d5e7ccb2cf560aa881bf3
|
| 3 |
+
size 34014427
|
quantize_config.json
CHANGED
|
@@ -4,25 +4,25 @@
|
|
| 4 |
"per_model_config": {
|
| 5 |
"model": {
|
| 6 |
"op_types": [
|
| 7 |
-
"
|
| 8 |
"Add",
|
| 9 |
-
"
|
|
|
|
|
|
|
| 10 |
"Reshape",
|
| 11 |
-
"
|
| 12 |
-
"Constant",
|
| 13 |
"Div",
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
"Pow",
|
|
|
|
|
|
|
| 17 |
"Erf",
|
| 18 |
-
"Softmax",
|
| 19 |
"Cast",
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
"ReduceMean",
|
| 23 |
-
"
|
| 24 |
-
"MatMul",
|
| 25 |
-
"Gather"
|
| 26 |
],
|
| 27 |
"weight_type": "QInt8"
|
| 28 |
}
|
|
|
|
| 4 |
"per_model_config": {
|
| 5 |
"model": {
|
| 6 |
"op_types": [
|
| 7 |
+
"Transpose",
|
| 8 |
"Add",
|
| 9 |
+
"Concat",
|
| 10 |
+
"Shape",
|
| 11 |
+
"Mul",
|
| 12 |
"Reshape",
|
| 13 |
+
"Gather",
|
|
|
|
| 14 |
"Div",
|
| 15 |
+
"Constant",
|
| 16 |
+
"Sub",
|
| 17 |
"Pow",
|
| 18 |
+
"Slice",
|
| 19 |
+
"Sqrt",
|
| 20 |
"Erf",
|
|
|
|
| 21 |
"Cast",
|
| 22 |
+
"Softmax",
|
| 23 |
+
"Unsqueeze",
|
| 24 |
"ReduceMean",
|
| 25 |
+
"MatMul"
|
|
|
|
|
|
|
| 26 |
],
|
| 27 |
"weight_type": "QInt8"
|
| 28 |
}
|
special_tokens_map.json
CHANGED
|
@@ -1,11 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"additional_special_tokens": [
|
| 3 |
-
"[PAD]",
|
| 4 |
-
"[UNK]",
|
| 5 |
-
"[CLS]",
|
| 6 |
-
"[SEP]",
|
| 7 |
-
"[MASK]"
|
| 8 |
-
],
|
| 9 |
"cls_token": {
|
| 10 |
"content": "[CLS]",
|
| 11 |
"lstrip": false,
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"cls_token": {
|
| 3 |
"content": "[CLS]",
|
| 4 |
"lstrip": false,
|
tokenizer.json
CHANGED
|
@@ -1,21 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
| 5 |
-
"max_length": 512,
|
| 6 |
-
"strategy": "LongestFirst",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
-
"padding": {
|
| 10 |
-
"strategy": {
|
| 11 |
-
"Fixed": 512
|
| 12 |
-
},
|
| 13 |
-
"direction": "Right",
|
| 14 |
-
"pad_to_multiple_of": null,
|
| 15 |
-
"pad_id": 0,
|
| 16 |
-
"pad_type_id": 0,
|
| 17 |
-
"pad_token": "[PAD]"
|
| 18 |
-
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
tokenizer_config.json
CHANGED
|
@@ -41,31 +41,17 @@
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
-
"additional_special_tokens": [
|
| 45 |
-
"[PAD]",
|
| 46 |
-
"[UNK]",
|
| 47 |
-
"[CLS]",
|
| 48 |
-
"[SEP]",
|
| 49 |
-
"[MASK]"
|
| 50 |
-
],
|
| 51 |
"clean_up_tokenization_spaces": true,
|
| 52 |
"cls_token": "[CLS]",
|
| 53 |
"do_basic_tokenize": true,
|
| 54 |
"do_lower_case": true,
|
| 55 |
"mask_token": "[MASK]",
|
| 56 |
-
"
|
| 57 |
-
"model_max_length": 1000000000000000019884624838656,
|
| 58 |
"never_split": null,
|
| 59 |
-
"pad_to_multiple_of": null,
|
| 60 |
"pad_token": "[PAD]",
|
| 61 |
-
"pad_token_type_id": 0,
|
| 62 |
-
"padding_side": "right",
|
| 63 |
"sep_token": "[SEP]",
|
| 64 |
-
"stride": 0,
|
| 65 |
"strip_accents": null,
|
| 66 |
"tokenize_chinese_chars": true,
|
| 67 |
"tokenizer_class": "BertTokenizer",
|
| 68 |
-
"truncation_side": "right",
|
| 69 |
-
"truncation_strategy": "longest_first",
|
| 70 |
"unk_token": "[UNK]"
|
| 71 |
}
|
|
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
"clean_up_tokenization_spaces": true,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
"do_basic_tokenize": true,
|
| 47 |
"do_lower_case": true,
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 512,
|
|
|
|
| 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 |
}
|