ldenoue commited on
Commit
337491b
1 Parent(s): 8342edf

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "unikei/distilbert-base-re-punctuate",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "UPPER_",
13
+ "1": "Upper_",
14
+ "2": "lower_",
15
+ "3": "UPPER.",
16
+ "4": "Upper.",
17
+ "5": "lower.",
18
+ "6": "UPPER,",
19
+ "7": "Upper,",
20
+ "8": "lower,",
21
+ "9": "UPPER!",
22
+ "10": "Upper!",
23
+ "11": "lower!",
24
+ "12": "UPPER?",
25
+ "13": "Upper?",
26
+ "14": "lower?",
27
+ "15": "UPPER:",
28
+ "16": "Upper:",
29
+ "17": "lower:",
30
+ "18": "UPPER;",
31
+ "19": "Upper;",
32
+ "20": "lower;",
33
+ "21": "UPPER-",
34
+ "22": "Upper-",
35
+ "23": "lower-"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "label2id": {
39
+ "UPPER!": 9,
40
+ "UPPER,": 6,
41
+ "UPPER-": 21,
42
+ "UPPER.": 3,
43
+ "UPPER:": 15,
44
+ "UPPER;": 18,
45
+ "UPPER?": 12,
46
+ "UPPER_": 0,
47
+ "Upper!": 10,
48
+ "Upper,": 7,
49
+ "Upper-": 22,
50
+ "Upper.": 4,
51
+ "Upper:": 16,
52
+ "Upper;": 19,
53
+ "Upper?": 13,
54
+ "Upper_": 1,
55
+ "lower!": 11,
56
+ "lower,": 8,
57
+ "lower-": 23,
58
+ "lower.": 5,
59
+ "lower:": 17,
60
+ "lower;": 20,
61
+ "lower?": 14,
62
+ "lower_": 2
63
+ },
64
+ "max_position_embeddings": 512,
65
+ "model_type": "distilbert",
66
+ "n_heads": 12,
67
+ "n_layers": 6,
68
+ "pad_token_id": 0,
69
+ "qa_dropout": 0.1,
70
+ "seq_classif_dropout": 0.2,
71
+ "sinusoidal_pos_embds": false,
72
+ "tie_weights_": true,
73
+ "transformers_version": "4.33.2",
74
+ "vocab_size": 30522
75
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1d06c881123528fb489babe78898f92d5d130cb6b1fe4b743989e30e2b6c8a2
3
+ size 265660494
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33aca3a1941b1d464a8f76cb0394cb5aa1c88ab6e08cf05f58ad1658c79e6657
3
+ size 67000287
quantize_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Softmax",
8
+ "Where",
9
+ "Div",
10
+ "Reshape",
11
+ "Gather",
12
+ "Sqrt",
13
+ "Constant",
14
+ "Cast",
15
+ "Concat",
16
+ "Sub",
17
+ "Unsqueeze",
18
+ "Equal",
19
+ "MatMul",
20
+ "Expand",
21
+ "Shape",
22
+ "Slice",
23
+ "Add",
24
+ "ReduceMean",
25
+ "Pow",
26
+ "Mul",
27
+ "Transpose",
28
+ "Erf"
29
+ ],
30
+ "weight_type": "QInt8"
31
+ }
32
+ }
33
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "max_length": 512,
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "stride": 0,
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "DistilBertTokenizer",
14
+ "truncation_side": "right",
15
+ "truncation_strategy": "longest_first",
16
+ "unk_token": "[UNK]"
17
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff