swardiantara
commited on
Commit
•
35b36b0
1
Parent(s):
0a45622
Upload ElectraForTokenClassification
Browse files- config.json +52 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "experiments/llm-based/electra-base-discriminator_15",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 768,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-Event",
|
15 |
+
"2": "I-Event",
|
16 |
+
"3": "E-Event",
|
17 |
+
"4": "S-Event",
|
18 |
+
"5": "B-NonEvent",
|
19 |
+
"6": "I-NonEvent",
|
20 |
+
"7": "E-NonEvent",
|
21 |
+
"8": "S-NonEvent"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"B-Event": 1,
|
27 |
+
"B-NonEvent": 5,
|
28 |
+
"E-Event": 3,
|
29 |
+
"E-NonEvent": 7,
|
30 |
+
"I-Event": 2,
|
31 |
+
"I-NonEvent": 6,
|
32 |
+
"O": 0,
|
33 |
+
"S-Event": 4,
|
34 |
+
"S-NonEvent": 8
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"max_position_embeddings": 512,
|
38 |
+
"model_type": "electra",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"position_embedding_type": "absolute",
|
43 |
+
"summary_activation": "gelu",
|
44 |
+
"summary_last_dropout": 0.1,
|
45 |
+
"summary_type": "first",
|
46 |
+
"summary_use_proj": true,
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.24.0",
|
49 |
+
"type_vocab_size": 2,
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 30522
|
52 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9f544e625f6a96e2ec8695c73b104ae5ccb3906c247222f8da205211c38e76c8
|
3 |
+
size 435664237
|