Xenova HF staff commited on
Commit
455f8d8
1 Parent(s): e4fd1f2

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "pythainlp/thainer-corpus-v2-base-model",
3
+ "architectures": [
4
+ "CamembertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B-PERSON",
16
+ "1": "I-PERSON",
17
+ "2": "O",
18
+ "3": "B-ORGANIZATION",
19
+ "4": "B-LOCATION",
20
+ "5": "I-ORGANIZATION",
21
+ "6": "I-LOCATION",
22
+ "7": "B-DATE",
23
+ "8": "I-DATE",
24
+ "9": "B-TIME",
25
+ "10": "I-TIME",
26
+ "11": "B-MONEY",
27
+ "12": "I-MONEY",
28
+ "13": "B-FACILITY",
29
+ "14": "I-FACILITY",
30
+ "15": "B-URL",
31
+ "16": "I-URL",
32
+ "17": "B-PERCENT",
33
+ "18": "I-PERCENT",
34
+ "19": "B-LEN",
35
+ "20": "I-LEN",
36
+ "21": "B-AGO",
37
+ "22": "I-AGO",
38
+ "23": "B-LAW",
39
+ "24": "I-LAW",
40
+ "25": "B-PHONE",
41
+ "26": "I-PHONE",
42
+ "27": "B-EMAIL",
43
+ "28": "I-EMAIL",
44
+ "29": "B-ZIP",
45
+ "30": "B-TEMPERATURE",
46
+ "31": "I-TEMPERATURE",
47
+ "32": "B-DTAE",
48
+ "33": "I-DTAE",
49
+ "34": "B-DATA",
50
+ "35": "I-DATA"
51
+ },
52
+ "initializer_range": 0.02,
53
+ "intermediate_size": 3072,
54
+ "label2id": {
55
+ "B-AGO": 21,
56
+ "B-DATA": 34,
57
+ "B-DATE": 7,
58
+ "B-DTAE": 32,
59
+ "B-EMAIL": 27,
60
+ "B-FACILITY": 13,
61
+ "B-LAW": 23,
62
+ "B-LEN": 19,
63
+ "B-LOCATION": 4,
64
+ "B-MONEY": 11,
65
+ "B-ORGANIZATION": 3,
66
+ "B-PERCENT": 17,
67
+ "B-PERSON": 0,
68
+ "B-PHONE": 25,
69
+ "B-TEMPERATURE": 30,
70
+ "B-TIME": 9,
71
+ "B-URL": 15,
72
+ "B-ZIP": 29,
73
+ "I-AGO": 22,
74
+ "I-DATA": 35,
75
+ "I-DATE": 8,
76
+ "I-DTAE": 33,
77
+ "I-EMAIL": 28,
78
+ "I-FACILITY": 14,
79
+ "I-LAW": 24,
80
+ "I-LEN": 20,
81
+ "I-LOCATION": 6,
82
+ "I-MONEY": 12,
83
+ "I-ORGANIZATION": 5,
84
+ "I-PERCENT": 18,
85
+ "I-PERSON": 1,
86
+ "I-PHONE": 26,
87
+ "I-TEMPERATURE": 31,
88
+ "I-TIME": 10,
89
+ "I-URL": 16,
90
+ "O": 2
91
+ },
92
+ "layer_norm_eps": 1e-12,
93
+ "max_position_embeddings": 512,
94
+ "model_type": "camembert",
95
+ "num_attention_head": 12,
96
+ "num_attention_heads": 12,
97
+ "num_hidden_layers": 12,
98
+ "pad_token_id": 1,
99
+ "position_embedding_type": "absolute",
100
+ "transformers_version": "4.34.0.dev0",
101
+ "type_vocab_size": 1,
102
+ "use_cache": true,
103
+ "vocab_size": 25005
104
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ed8e1d616da91ce844a96f4eee86d489933a5eebfc0897965dccb8a2054aa85
3
+ size 419007377
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ba8681058b6cbcf93c900a83e683a753b744325ac14688be3c417c668fa56c5
3
+ size 105930674
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
+ "CumSum",
8
+ "Gather",
9
+ "Not",
10
+ "Pow",
11
+ "Concat",
12
+ "Erf",
13
+ "ReduceMean",
14
+ "Softmax",
15
+ "Mul",
16
+ "Where",
17
+ "Slice",
18
+ "MatMul",
19
+ "Sqrt",
20
+ "Unsqueeze",
21
+ "Shape",
22
+ "Reshape",
23
+ "Sub",
24
+ "Add",
25
+ "Div",
26
+ "Equal",
27
+ "ConstantOfShape",
28
+ "Cast",
29
+ "Constant",
30
+ "Expand",
31
+ "Transpose"
32
+ ],
33
+ "weight_type": "QInt8"
34
+ }
35
+ }
36
+ }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49c4ba4e495ddf31eb2fdba7fc6aef3c233091d25d35bc9d24694ccf48ae114c
3
+ size 904693
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED",
5
+ "<_>"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "cls_token": "<s>",
9
+ "eos_token": "</s>",
10
+ "mask_token": {
11
+ "content": "<mask>",
12
+ "lstrip": true,
13
+ "normalized": true,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s>NOTUSED",
4
+ "</s>NOTUSED",
5
+ "<_>"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "clean_up_tokenization_spaces": true,
9
+ "cls_token": "<s>",
10
+ "eos_token": "</s>",
11
+ "mask_token": {
12
+ "__type": "AddedToken",
13
+ "content": "<mask>",
14
+ "lstrip": true,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "model_max_length": 1000000000000000019884624838656,
20
+ "pad_token": "<pad>",
21
+ "sep_token": "</s>",
22
+ "sp_model_kwargs": {},
23
+ "tokenizer_class": "CamembertTokenizer",
24
+ "unk_token": "<unk>"
25
+ }