Update config.json
This commit is contained in:
parent
628ee3bdc8
commit
487461922f
20
config.json
20
config.json
|
@ -1,10 +1,9 @@
|
||||||
{
|
{
|
||||||
|
"_num_labels": 9,
|
||||||
"architectures": [
|
"architectures": [
|
||||||
"BertForTokenClassification"
|
"BertForTokenClassification"
|
||||||
],
|
],
|
||||||
"attention_probs_dropout_prob": 0.1,
|
"attention_probs_dropout_prob": 0.1,
|
||||||
"do_sample": false,
|
|
||||||
"finetuning_task": null,
|
|
||||||
"hidden_act": "gelu",
|
"hidden_act": "gelu",
|
||||||
"hidden_dropout_prob": 0.1,
|
"hidden_dropout_prob": 0.1,
|
||||||
"hidden_size": 768,
|
"hidden_size": 768,
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
},
|
},
|
||||||
"initializer_range": 0.02,
|
"initializer_range": 0.02,
|
||||||
"intermediate_size": 3072,
|
"intermediate_size": 3072,
|
||||||
"is_decoder": false,
|
|
||||||
"label2id": {
|
"label2id": {
|
||||||
"B-LOC": 7,
|
"B-LOC": 7,
|
||||||
"B-MISC": 1,
|
"B-MISC": 1,
|
||||||
|
@ -34,26 +32,12 @@
|
||||||
"O": 0
|
"O": 0
|
||||||
},
|
},
|
||||||
"layer_norm_eps": 1e-12,
|
"layer_norm_eps": 1e-12,
|
||||||
"length_penalty": 1.0,
|
|
||||||
"max_length": 20,
|
|
||||||
"max_position_embeddings": 512,
|
"max_position_embeddings": 512,
|
||||||
"model_type": "bert",
|
"model_type": "bert",
|
||||||
"num_attention_heads": 12,
|
"num_attention_heads": 12,
|
||||||
"num_beams": 1,
|
|
||||||
"num_hidden_layers": 12,
|
"num_hidden_layers": 12,
|
||||||
"num_labels": 9,
|
|
||||||
"num_return_sequences": 1,
|
|
||||||
"output_attentions": false,
|
|
||||||
"output_hidden_states": false,
|
|
||||||
"output_past": true,
|
"output_past": true,
|
||||||
"pad_token_id": 0,
|
"pad_token_id": 0,
|
||||||
"pruned_heads": {},
|
|
||||||
"repetition_penalty": 1.0,
|
|
||||||
"temperature": 1.0,
|
|
||||||
"top_k": 50,
|
|
||||||
"top_p": 1.0,
|
|
||||||
"torchscript": false,
|
|
||||||
"type_vocab_size": 2,
|
"type_vocab_size": 2,
|
||||||
"use_bfloat16": false,
|
|
||||||
"vocab_size": 28996
|
"vocab_size": 28996
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue