Upload folder using huggingface_hub
Browse files- config.json +46 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Davlan/distilbert-base-multilingual-cased-ner-hrl",
|
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": "O",
|
13 |
+
"1": "B-DATE",
|
14 |
+
"2": "I-DATE",
|
15 |
+
"3": "B-PER",
|
16 |
+
"4": "I-PER",
|
17 |
+
"5": "B-ORG",
|
18 |
+
"6": "I-ORG",
|
19 |
+
"7": "B-LOC",
|
20 |
+
"8": "I-LOC"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"label2id": {
|
24 |
+
"B-DATE": 1,
|
25 |
+
"B-LOC": 7,
|
26 |
+
"B-ORG": 5,
|
27 |
+
"B-PER": 3,
|
28 |
+
"I-DATE": 2,
|
29 |
+
"I-LOC": 8,
|
30 |
+
"I-ORG": 6,
|
31 |
+
"I-PER": 4,
|
32 |
+
"O": 0
|
33 |
+
},
|
34 |
+
"max_position_embeddings": 512,
|
35 |
+
"model_type": "distilbert",
|
36 |
+
"n_heads": 12,
|
37 |
+
"n_layers": 6,
|
38 |
+
"output_past": true,
|
39 |
+
"pad_token_id": 0,
|
40 |
+
"qa_dropout": 0.1,
|
41 |
+
"seq_classif_dropout": 0.2,
|
42 |
+
"sinusoidal_pos_embds": false,
|
43 |
+
"tie_weights_": true,
|
44 |
+
"transformers_version": "4.28.1",
|
45 |
+
"vocab_size": 119547
|
46 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e417a4035609af5f676e7ddf3f7450864a68e1d74daf6edf04af0d7dee3ff66a
|
3 |
+
size 539099157
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e7d64ef9486acc2836336c82cedd15c8abdd720dfbbf62ad29e0dc62a770b82
|
3 |
+
size 135152245
|
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,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": false,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 512,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "DistilBertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|