Upload 13 files
Browse files- config.json +2 -2
- 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_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +2 -2
- onnx/model_uint8.onnx +3 -0
- quantize_config.json +13 -32
- special_tokens_map.json +42 -6
- tokenizer.json +2 -2
- tokenizer_config.json +43 -8
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"XLMRobertaForTokenClassification"
|
5 |
],
|
@@ -36,7 +36,7 @@
|
|
36 |
"output_past": true,
|
37 |
"pad_token_id": 1,
|
38 |
"position_embedding_type": "absolute",
|
39 |
-
"transformers_version": "4.
|
40 |
"type_vocab_size": 1,
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 250002
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "scripts/punctuate-all",
|
3 |
"architectures": [
|
4 |
"XLMRobertaForTokenClassification"
|
5 |
],
|
|
|
36 |
"output_past": true,
|
37 |
"pad_token_id": 1,
|
38 |
"position_embedding_type": "absolute",
|
39 |
+
"transformers_version": "4.43.4",
|
40 |
"type_vocab_size": 1,
|
41 |
"use_cache": true,
|
42 |
"vocab_size": 250002
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f4a98e576bfc1f639c39db215c9b6a4a31dec9f6901d73d932b226d4713c393
|
3 |
+
size 1110170533
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:060abf768dd34b06fac7710df08fb02b7b3a1fb55a107b7284b961bd64c2b441
|
3 |
+
size 818203167
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc525db8e09c08d3b178f71e6fdebcefce3fc16df629170c421b263e8d7204c8
|
3 |
+
size 555255044
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3253e390038e494227935571e3a50f627aeb251eef63696c48b91bc19a64cdf3
|
3 |
+
size 278674390
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fb0e734972ac7f1a368d4496eb228d5c959313a67ad6b61909b2d370bd02476
|
3 |
+
size 823511336
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3a700a7702a83f641ad4801abb2438d30484618296940b72739bcb8ad0432d9
|
3 |
+
size 433165769
|
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:3253e390038e494227935571e3a50f627aeb251eef63696c48b91bc19a64cdf3
|
3 |
+
size 278674390
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55570cdc07eab3f42cdc94a832de0c5eb90ec33009ffaa2259bda6c2e8049f9d
|
3 |
+
size 278674388
|
quantize_config.json
CHANGED
@@ -1,36 +1,17 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"per_channel": true,
|
3 |
"reduce_range": true,
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
"Softmax",
|
9 |
-
"Not",
|
10 |
-
"Sqrt",
|
11 |
-
"Where",
|
12 |
-
"Concat",
|
13 |
-
"Expand",
|
14 |
-
"Add",
|
15 |
-
"Div",
|
16 |
-
"Gather",
|
17 |
-
"CumSum",
|
18 |
-
"ReduceMean",
|
19 |
-
"Shape",
|
20 |
-
"Pow",
|
21 |
-
"Cast",
|
22 |
-
"Sub",
|
23 |
-
"MatMul",
|
24 |
-
"Reshape",
|
25 |
-
"Equal",
|
26 |
-
"Transpose",
|
27 |
-
"Mul",
|
28 |
-
"Erf",
|
29 |
-
"Slice",
|
30 |
-
"Unsqueeze",
|
31 |
-
"ConstantOfShape"
|
32 |
-
],
|
33 |
-
"weight_type": "QInt8"
|
34 |
-
}
|
35 |
-
}
|
36 |
}
|
|
|
1 |
{
|
2 |
+
"modes": [
|
3 |
+
"fp16",
|
4 |
+
"q8",
|
5 |
+
"int8",
|
6 |
+
"uint8",
|
7 |
+
"q4",
|
8 |
+
"q4f16",
|
9 |
+
"bnb4"
|
10 |
+
],
|
11 |
"per_channel": true,
|
12 |
"reduce_range": true,
|
13 |
+
"block_size": null,
|
14 |
+
"is_symmetric": true,
|
15 |
+
"accuracy_level": null,
|
16 |
+
"quant_type": 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,25 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mask_token": {
|
6 |
"content": "<mask>",
|
7 |
"lstrip": true,
|
@@ -9,7 +27,25 @@
|
|
9 |
"rstrip": false,
|
10 |
"single_word": false
|
11 |
},
|
12 |
-
"pad_token":
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"mask_token": {
|
24 |
"content": "<mask>",
|
25 |
"lstrip": true,
|
|
|
27 |
"rstrip": false,
|
28 |
"single_word": false
|
29 |
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
}
|
tokenizer.json
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:8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
|
3 |
+
size 17082832
|
tokenizer_config.json
CHANGED
@@ -1,17 +1,52 @@
|
|
1 |
{
|
2 |
"add_prefix_space": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"bos_token": "<s>",
|
4 |
"clean_up_tokenization_spaces": true,
|
5 |
"cls_token": "<s>",
|
6 |
"eos_token": "</s>",
|
7 |
-
"mask_token":
|
8 |
-
"__type": "AddedToken",
|
9 |
-
"content": "<mask>",
|
10 |
-
"lstrip": true,
|
11 |
-
"normalized": true,
|
12 |
-
"rstrip": false,
|
13 |
-
"single_word": false
|
14 |
-
},
|
15 |
"max_length": 512,
|
16 |
"model_max_length": 512,
|
17 |
"pad_token": "<pad>",
|
|
|
1 |
{
|
2 |
"add_prefix_space": true,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"250001": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
"bos_token": "<s>",
|
46 |
"clean_up_tokenization_spaces": true,
|
47 |
"cls_token": "<s>",
|
48 |
"eos_token": "</s>",
|
49 |
+
"mask_token": "<mask>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
"max_length": 512,
|
51 |
"model_max_length": 512,
|
52 |
"pad_token": "<pad>",
|