Update config.json
Browse files- config.json +5 -8
config.json
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"XLMRobertaForTokenClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 1024,
|
@@ -19,7 +21,6 @@
|
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 4096,
|
22 |
-
"is_decoder": false,
|
23 |
"label2id": {
|
24 |
"B-LOC": 0,
|
25 |
"B-MISC": 1,
|
@@ -32,15 +33,11 @@
|
|
32 |
},
|
33 |
"layer_norm_eps": 1e-05,
|
34 |
"max_position_embeddings": 514,
|
|
|
35 |
"num_attention_heads": 16,
|
36 |
"num_hidden_layers": 24,
|
37 |
-
"num_labels": 8,
|
38 |
-
"output_attentions": false,
|
39 |
-
"output_hidden_states": false,
|
40 |
"output_past": true,
|
41 |
-
"
|
42 |
-
"torchscript": false,
|
43 |
"type_vocab_size": 1,
|
44 |
-
"use_bfloat16": false,
|
45 |
"vocab_size": 250002
|
46 |
}
|
|
|
1 |
{
|
2 |
+
"_num_labels": 8,
|
3 |
"architectures": [
|
4 |
"XLMRobertaForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 1024,
|
|
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 4096,
|
|
|
24 |
"label2id": {
|
25 |
"B-LOC": 0,
|
26 |
"B-MISC": 1,
|
|
|
33 |
},
|
34 |
"layer_norm_eps": 1e-05,
|
35 |
"max_position_embeddings": 514,
|
36 |
+
"model_type": "xlm-roberta",
|
37 |
"num_attention_heads": 16,
|
38 |
"num_hidden_layers": 24,
|
|
|
|
|
|
|
39 |
"output_past": true,
|
40 |
+
"pad_token_id": 1,
|
|
|
41 |
"type_vocab_size": 1,
|
|
|
42 |
"vocab_size": 250002
|
43 |
}
|