pitoneros commited on
Commit
43463ae
1 Parent(s): e19abd6

add config

Browse files
Files changed (1) hide show
  1. config.json +11 -11
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "D:/tmp2/test-ner/",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
@@ -13,20 +13,20 @@
13
  "hidden_dropout_prob": 0.0,
14
  "hidden_size": 768,
15
  "id2label": {
16
- "0": 0,
17
- "1": 1,
18
- "2": 2,
19
- "3": 3,
20
- "4": 4
21
  },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
  "label2id": {
25
- "0": 0,
26
- "1": 1,
27
- "2": 2,
28
- "3": 3,
29
- "4": 4
30
  },
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 514,
 
1
  {
2
+ "_name_or_path": "pitoneros/NER_LAW_MONEY4",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
 
13
  "hidden_dropout_prob": 0.0,
14
  "hidden_size": 768,
15
  "id2label": {
16
+ "0": "O",
17
+ "1": "B-MONEY",
18
+ "2": "I-MONEY",
19
+ "3": "B-LAW",
20
+ "4": "I-LAW"
21
  },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
  "label2id": {
25
+ "B-LAW": "3",
26
+ "B-MONEY": "1",
27
+ "I-LAW": "4",
28
+ "I-MONEY": "2",
29
+ "O": "0"
30
  },
31
  "layer_norm_eps": 1e-05,
32
  "max_position_embeddings": 514,