reupload model export via transformers.js scripts
Browse files- config.json +1 -1
- onnx/model.onnx +2 -2
- onnx/model_quantized.onnx +2 -2
- quantize_config.json +36 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "xlm-roberta-ner-
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "tsmatz/xlm-roberta-ner-japanese",
|
3 |
"architectures": [
|
4 |
"RobertaForTokenClassification"
|
5 |
],
|
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:c64cbfa081ec526cb2ac17c0bd1a6b831f5c9dd4207fa23d80c1c2e29bc7c89a
|
3 |
+
size 1110121272
|
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:aced2a203ea3ac7e7ec6f6cb7a0044fc0b1391830c7c57563bdf2018d2d75d8a
|
3 |
+
size 278709676
|
quantize_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": true,
|
3 |
+
"reduce_range": true,
|
4 |
+
"per_model_config": {
|
5 |
+
"model": {
|
6 |
+
"op_types": [
|
7 |
+
"Mul",
|
8 |
+
"ConstantOfShape",
|
9 |
+
"Cast",
|
10 |
+
"Slice",
|
11 |
+
"Concat",
|
12 |
+
"Add",
|
13 |
+
"Erf",
|
14 |
+
"Not",
|
15 |
+
"Equal",
|
16 |
+
"Shape",
|
17 |
+
"MatMul",
|
18 |
+
"Expand",
|
19 |
+
"CumSum",
|
20 |
+
"Reshape",
|
21 |
+
"Sub",
|
22 |
+
"Div",
|
23 |
+
"Transpose",
|
24 |
+
"Constant",
|
25 |
+
"Unsqueeze",
|
26 |
+
"Sqrt",
|
27 |
+
"Where",
|
28 |
+
"Softmax",
|
29 |
+
"ReduceMean",
|
30 |
+
"Gather",
|
31 |
+
"Pow"
|
32 |
+
],
|
33 |
+
"weight_type": "QInt8"
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|