jordigonzm commited on
Commit
01a68ee
·
verified ·
1 Parent(s): cc2807f

update model

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "MoritzLaurer/mDeBERTa-v3-base-mnli-xnli",
3
  "architectures": [
4
  "DebertaV2ForTokenClassification"
5
  ],
@@ -8,20 +8,20 @@
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
  "id2label": {
11
- "0": "LABEL_0",
12
- "1": "LABEL_1",
13
- "2": "LABEL_2",
14
- "3": "LABEL_3",
15
- "4": "LABEL_4"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "LABEL_0": 0,
21
- "LABEL_1": 1,
22
- "LABEL_2": 2,
23
- "LABEL_3": 3,
24
- "LABEL_4": 4
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:a83bb13755d4a3791303df600d054b18bb67e2644931c2d92efb84b23d871b49
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": true,
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:0c405b11c22d1def92c599a77ffa8a37b2f7d35654651510aa834cd2d54d5328
3
- size 16316126
 
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": true,
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": true,
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
  }