Upload BertForTokenClassification
Browse files- config.json +70 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./models/event_type2/checkpoint-1500/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "B-Business",
|
14 |
+
"1": "B-Justice",
|
15 |
+
"2": "B-Movement",
|
16 |
+
"3": "I-Business",
|
17 |
+
"4": "I-Transaction",
|
18 |
+
"5": "I-Contact",
|
19 |
+
"6": "B-Personnel",
|
20 |
+
"7": "I-Movement",
|
21 |
+
"8": "O",
|
22 |
+
"9": "B-Transaction",
|
23 |
+
"10": "I-Personnel",
|
24 |
+
"11": "I-Life",
|
25 |
+
"12": "I-Justice",
|
26 |
+
"13": "B-Conflict",
|
27 |
+
"14": "B-Life",
|
28 |
+
"15": "I-Conflict",
|
29 |
+
"16": "B-Contact"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"B-Business": 0,
|
35 |
+
"B-Conflict": 13,
|
36 |
+
"B-Contact": 16,
|
37 |
+
"B-Justice": 1,
|
38 |
+
"B-Life": 14,
|
39 |
+
"B-Movement": 2,
|
40 |
+
"B-Personnel": 6,
|
41 |
+
"B-Transaction": 9,
|
42 |
+
"I-Business": 3,
|
43 |
+
"I-Conflict": 15,
|
44 |
+
"I-Contact": 5,
|
45 |
+
"I-Justice": 12,
|
46 |
+
"I-Life": 11,
|
47 |
+
"I-Movement": 7,
|
48 |
+
"I-Personnel": 10,
|
49 |
+
"I-Transaction": 4,
|
50 |
+
"O": 8
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"model_type": "bert",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"output_past": true,
|
58 |
+
"pad_token_id": 0,
|
59 |
+
"pooler_fc_size": 768,
|
60 |
+
"pooler_num_attention_heads": 12,
|
61 |
+
"pooler_num_fc_layers": 3,
|
62 |
+
"pooler_size_per_head": 128,
|
63 |
+
"pooler_type": "first_token_transform",
|
64 |
+
"position_embedding_type": "absolute",
|
65 |
+
"torch_dtype": "float32",
|
66 |
+
"transformers_version": "4.24.0",
|
67 |
+
"type_vocab_size": 2,
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 29794
|
70 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:081a945495470600db928242212d4bdbf86c7cc90266522eca83d586f3f0eee7
|
3 |
+
size 433451821
|