Upload 2 files
Browse files- ner_args.json +98 -0
- pytorch_model_ner.bin +3 -0
ner_args.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bert_dir": "./model_hub/chinese-bert-wwm-ext/",
|
3 |
+
"output_dir": "./checkpoint/cluener",
|
4 |
+
"data_dir": "./data/",
|
5 |
+
"data_path": "./data/cluener/ner_data",
|
6 |
+
"labels": [
|
7 |
+
"address",
|
8 |
+
"book",
|
9 |
+
"company",
|
10 |
+
"game",
|
11 |
+
"government",
|
12 |
+
"movie",
|
13 |
+
"name",
|
14 |
+
"organization",
|
15 |
+
"position",
|
16 |
+
"scene"
|
17 |
+
],
|
18 |
+
"bio_labels": [
|
19 |
+
"O",
|
20 |
+
"B-address",
|
21 |
+
"I-address",
|
22 |
+
"B-book",
|
23 |
+
"I-book",
|
24 |
+
"B-company",
|
25 |
+
"I-company",
|
26 |
+
"B-game",
|
27 |
+
"I-game",
|
28 |
+
"B-government",
|
29 |
+
"I-government",
|
30 |
+
"B-movie",
|
31 |
+
"I-movie",
|
32 |
+
"B-name",
|
33 |
+
"I-name",
|
34 |
+
"B-organization",
|
35 |
+
"I-organization",
|
36 |
+
"B-position",
|
37 |
+
"I-position",
|
38 |
+
"B-scene",
|
39 |
+
"I-scene"
|
40 |
+
],
|
41 |
+
"num_labels": 21,
|
42 |
+
"label2id": {
|
43 |
+
"O": 0,
|
44 |
+
"B-address": 1,
|
45 |
+
"I-address": 2,
|
46 |
+
"B-book": 3,
|
47 |
+
"I-book": 4,
|
48 |
+
"B-company": 5,
|
49 |
+
"I-company": 6,
|
50 |
+
"B-game": 7,
|
51 |
+
"I-game": 8,
|
52 |
+
"B-government": 9,
|
53 |
+
"I-government": 10,
|
54 |
+
"B-movie": 11,
|
55 |
+
"I-movie": 12,
|
56 |
+
"B-name": 13,
|
57 |
+
"I-name": 14,
|
58 |
+
"B-organization": 15,
|
59 |
+
"I-organization": 16,
|
60 |
+
"B-position": 17,
|
61 |
+
"I-position": 18,
|
62 |
+
"B-scene": 19,
|
63 |
+
"I-scene": 20
|
64 |
+
},
|
65 |
+
"id2label": {
|
66 |
+
"0": "O",
|
67 |
+
"1": "B-address",
|
68 |
+
"2": "I-address",
|
69 |
+
"3": "B-book",
|
70 |
+
"4": "I-book",
|
71 |
+
"5": "B-company",
|
72 |
+
"6": "I-company",
|
73 |
+
"7": "B-game",
|
74 |
+
"8": "I-game",
|
75 |
+
"9": "B-government",
|
76 |
+
"10": "I-government",
|
77 |
+
"11": "B-movie",
|
78 |
+
"12": "I-movie",
|
79 |
+
"13": "B-name",
|
80 |
+
"14": "I-name",
|
81 |
+
"15": "B-organization",
|
82 |
+
"16": "I-organization",
|
83 |
+
"17": "B-position",
|
84 |
+
"18": "I-position",
|
85 |
+
"19": "B-scene",
|
86 |
+
"20": "I-scene"
|
87 |
+
},
|
88 |
+
"max_seq_len": 512,
|
89 |
+
"epochs": 3,
|
90 |
+
"train_batch_size": 12,
|
91 |
+
"dev_batch_size": 12,
|
92 |
+
"bert_learning_rate": 3e-05,
|
93 |
+
"crf_learning_rate": 0.003,
|
94 |
+
"adam_epsilon": 1e-08,
|
95 |
+
"weight_decay": 0.01,
|
96 |
+
"warmup_proportion": 0.01,
|
97 |
+
"save_step": 500
|
98 |
+
}
|
pytorch_model_ner.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f47d9ee95851adb0eff3755869e7b4b7871bd04dba452dda9e7496b20fa07bd
|
3 |
+
size 412859365
|