jiting commited on
Commit
2b25b48
1 Parent(s): 85ba7e7

export by transformers.js scripts

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "xlm-roberta-base-ner-hrl",
3
  "architectures": [
4
  "XLMRobertaForTokenClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "Davlan/xlm-roberta-base-ner-hrl",
3
  "architectures": [
4
  "XLMRobertaForTokenClassification"
5
  ],
onnx/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e18466597834ad3034ec0216161de8fc8690d11d0cc983d78f31c2e06612c78
3
- size 1110011930
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c4f3a64226e2ddc338a455b404e8d7af8cd49d166b3cb65013bde26c4b731e0
3
+ size 1110121272
onnx/model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d755f6ec0c09e991a90bb152d091e52cbf88de3917dc5dfc65d759f36d9cfc1
3
- size 278198235
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d97008ae8849af960154ea16fc41c610ad178569d13bf00586f1adfe72871220
3
+ size 278709677
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
+ "Reshape",
8
+ "CumSum",
9
+ "Transpose",
10
+ "MatMul",
11
+ "Cast",
12
+ "Mul",
13
+ "Expand",
14
+ "ReduceMean",
15
+ "Shape",
16
+ "Softmax",
17
+ "Sub",
18
+ "Slice",
19
+ "Erf",
20
+ "Unsqueeze",
21
+ "Gather",
22
+ "Sqrt",
23
+ "ConstantOfShape",
24
+ "Add",
25
+ "Div",
26
+ "Constant",
27
+ "Concat",
28
+ "Where",
29
+ "Equal",
30
+ "Pow",
31
+ "Not"
32
+ ],
33
+ "weight_type": "QInt8"
34
+ }
35
+ }
36
+ }
special_tokens_map.json CHANGED
@@ -1,25 +1,7 @@
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,25 +9,7 @@
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
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "mask_token": {
6
  "content": "<mask>",
7
  "lstrip": true,
 
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3
3
- size 17082900
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74659c780d49afad7a7b9799868f75cbd3014fb6c34956e85a793028d38094a
3
+ size 17098251