gyr66 commited on
Commit
4728148
β€’
1 Parent(s): e4a7c04

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +14 -14
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "gyr66/RoBERTa-finetuned-privacy-detection",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
@@ -10,10 +10,18 @@
10
  "eos_token_id": 2,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
- "hidden_size": 768,
14
  "id2label": {
15
  "0": "O",
16
  "1": "B-position",
 
 
 
 
 
 
 
 
17
  "10": "I-company",
18
  "11": "B-book",
19
  "12": "I-book",
@@ -24,7 +32,6 @@
24
  "17": "B-mobile",
25
  "18": "I-mobile",
26
  "19": "B-email",
27
- "2": "I-position",
28
  "20": "I-email",
29
  "21": "B-game",
30
  "22": "I-game",
@@ -33,17 +40,10 @@
33
  "25": "B-QQ",
34
  "26": "I-QQ",
35
  "27": "B-vx",
36
- "28": "I-vx",
37
- "3": "B-name",
38
- "4": "I-name",
39
- "5": "B-movie",
40
- "6": "I-movie",
41
- "7": "B-organization",
42
- "8": "I-organization",
43
- "9": "B-company"
44
  },
45
  "initializer_range": 0.02,
46
- "intermediate_size": 3072,
47
  "label2id": {
48
  "B-QQ": "25",
49
  "B-address": "13",
@@ -78,8 +78,8 @@
78
  "layer_norm_eps": 1e-12,
79
  "max_position_embeddings": 512,
80
  "model_type": "bert",
81
- "num_attention_heads": 12,
82
- "num_hidden_layers": 12,
83
  "output_past": true,
84
  "pad_token_id": 0,
85
  "pooler_fc_size": 768,
 
1
  {
2
+ "_name_or_path": "./RoBERTa-finetuned-privacy-detection/checkpoint-3312",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
 
10
  "eos_token_id": 2,
11
  "hidden_act": "gelu",
12
  "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
  "id2label": {
15
  "0": "O",
16
  "1": "B-position",
17
+ "2": "I-position",
18
+ "3": "B-name",
19
+ "4": "I-name",
20
+ "5": "B-movie",
21
+ "6": "I-movie",
22
+ "7": "B-organization",
23
+ "8": "I-organization",
24
+ "9": "B-company",
25
  "10": "I-company",
26
  "11": "B-book",
27
  "12": "I-book",
 
32
  "17": "B-mobile",
33
  "18": "I-mobile",
34
  "19": "B-email",
 
35
  "20": "I-email",
36
  "21": "B-game",
37
  "22": "I-game",
 
40
  "25": "B-QQ",
41
  "26": "I-QQ",
42
  "27": "B-vx",
43
+ "28": "I-vx"
 
 
 
 
 
 
 
44
  },
45
  "initializer_range": 0.02,
46
+ "intermediate_size": 4096,
47
  "label2id": {
48
  "B-QQ": "25",
49
  "B-address": "13",
 
78
  "layer_norm_eps": 1e-12,
79
  "max_position_embeddings": 512,
80
  "model_type": "bert",
81
+ "num_attention_heads": 16,
82
+ "num_hidden_layers": 24,
83
  "output_past": true,
84
  "pad_token_id": 0,
85
  "pooler_fc_size": 768,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:276fba9274cf625b0c95cb7fe94a3127ec1de93f153e4a3446c8b4ecd6bf7a42
3
- size 406869549
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:273e818904b4e361db814c15d98cfebf686d59abcf0f0bc977532a01a00ea0b5
3
+ size 1298142893