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