update model
Browse files- config.json +11 -11
- model.safetensors +1 -1
- special_tokens_map.json +1 -1
- tokenizer.json +2 -2
- tokenizer_config.json +9 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"DebertaV2ForTokenClassification"
|
5 |
],
|
@@ -8,20 +8,20 @@
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
12 |
-
"1": "
|
13 |
-
"2": "
|
14 |
-
"3": "
|
15 |
-
"4": "
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
},
|
26 |
"layer_norm_eps": 1e-07,
|
27 |
"legacy": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./mdeberta-ner",
|
3 |
"architectures": [
|
4 |
"DebertaV2ForTokenClassification"
|
5 |
],
|
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
+
"0": "O",
|
12 |
+
"1": "LOC",
|
13 |
+
"2": "PER",
|
14 |
+
"3": "MISC",
|
15 |
+
"4": "ORG"
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
"label2id": {
|
20 |
+
"LOC": 1,
|
21 |
+
"MISC": 3,
|
22 |
+
"O": 0,
|
23 |
+
"ORG": 4,
|
24 |
+
"PER": 2
|
25 |
},
|
26 |
"layer_norm_eps": 1e-07,
|
27 |
"legacy": true,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1112914884
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa4d19bbd3c0d91d0f6a0874b0d19cc32f91d00f1ca3aac13e78496ac16e3472
|
3 |
size 1112914884
|
special_tokens_map.json
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
"unk_token": {
|
45 |
"content": "[UNK]",
|
46 |
"lstrip": false,
|
47 |
-
"normalized":
|
48 |
"rstrip": false,
|
49 |
"single_word": false
|
50 |
}
|
|
|
44 |
"unk_token": {
|
45 |
"content": "[UNK]",
|
46 |
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
"rstrip": false,
|
49 |
"single_word": false
|
50 |
}
|
tokenizer.json
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:da06fa6bca6c8ccbd98d524d3baaa25a9e0f8690d9d31e52f72e1fed685ae465
|
3 |
+
size 16316380
|
tokenizer_config.json
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
"3": {
|
28 |
"content": "[UNK]",
|
29 |
"lstrip": false,
|
30 |
-
"normalized":
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
@@ -42,18 +42,25 @@
|
|
42 |
}
|
43 |
},
|
44 |
"bos_token": "[CLS]",
|
45 |
-
"clean_up_tokenization_spaces":
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": false,
|
48 |
"eos_token": "[SEP]",
|
49 |
"extra_special_tokens": {},
|
50 |
"mask_token": "[MASK]",
|
|
|
51 |
"model_max_length": 512,
|
|
|
52 |
"pad_token": "[PAD]",
|
|
|
|
|
53 |
"sep_token": "[SEP]",
|
54 |
"sp_model_kwargs": {},
|
55 |
"split_by_punct": false,
|
|
|
56 |
"tokenizer_class": "DebertaV2Tokenizer",
|
|
|
|
|
57 |
"unk_token": "[UNK]",
|
58 |
"vocab_type": "spm"
|
59 |
}
|
|
|
27 |
"3": {
|
28 |
"content": "[UNK]",
|
29 |
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
|
|
42 |
}
|
43 |
},
|
44 |
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": false,
|
46 |
"cls_token": "[CLS]",
|
47 |
"do_lower_case": false,
|
48 |
"eos_token": "[SEP]",
|
49 |
"extra_special_tokens": {},
|
50 |
"mask_token": "[MASK]",
|
51 |
+
"max_length": 512,
|
52 |
"model_max_length": 512,
|
53 |
+
"pad_to_multiple_of": null,
|
54 |
"pad_token": "[PAD]",
|
55 |
+
"pad_token_type_id": 0,
|
56 |
+
"padding_side": "right",
|
57 |
"sep_token": "[SEP]",
|
58 |
"sp_model_kwargs": {},
|
59 |
"split_by_punct": false,
|
60 |
+
"stride": 0,
|
61 |
"tokenizer_class": "DebertaV2Tokenizer",
|
62 |
+
"truncation_side": "right",
|
63 |
+
"truncation_strategy": "longest_first",
|
64 |
"unk_token": "[UNK]",
|
65 |
"vocab_type": "spm"
|
66 |
}
|