Angelakeke commited on
Commit
b53a7ed
·
verified ·
1 Parent(s): 41458cd

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +26 -2
config.json CHANGED
@@ -1,14 +1,38 @@
1
  {
2
- "_name_or_path": "deberta-v3-base",
3
  "architectures": [
4
- "DebertaV2Model"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
 
 
 
 
 
 
 
 
 
 
 
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
 
 
 
 
12
  "layer_norm_eps": 1e-07,
13
  "max_position_embeddings": 512,
14
  "max_relative_positions": -1,
 
1
  {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
3
  "architectures": [
4
+ "DebertaV2ForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "B-ABNORMALITY",
12
+ "1": "I-ABNORMALITY",
13
+ "2": "B-NON-ABNORMALITY",
14
+ "3": "I-NON-ABNORMALITY",
15
+ "4": "B-DISEASE",
16
+ "5": "I-DISEASE",
17
+ "6": "B-NON-DISEASE",
18
+ "7": "I-NON-DISEASE",
19
+ "8": "B-ANATOMY",
20
+ "9": "I-ANATOMY",
21
+ "10": "O"},
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-ABNORMALITY": 0,
26
+ "I-ABNORMALITY": 1,
27
+ "B-NON-ABNORMALITY": 2,
28
+ "I-NON-ABNORMALITY": 3,
29
+ "B-DISEASE": 4,
30
+ "I-DISEASE": 5,
31
+ "B-NON-DISEASE": 6,
32
+ "I-NON-DISEASE": 7,
33
+ "B-ANATOMY": 8,
34
+ "I-ANATOMY": 9,
35
+ "O": 10}
36
  "layer_norm_eps": 1e-07,
37
  "max_position_embeddings": 512,
38
  "max_relative_positions": -1,