copious_ner / config_hf.json
leonhardhennig's picture
Rename config.json to config_hf.json
9a217ee
raw
history blame
1.02 kB
{
"_num_labels": 11,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-GeographicalLocation",
"2": "I-GeographicalLocation",
"3": "B-Habitat",
"4": "I-Habitat",
"5": "B-Person",
"6": "I-Person",
"7": "B-Taxon",
"8": "I-Taxon",
"9": "B-TemporalExpression",
"10": "I-TemporalExpression"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"O": 0,
"B-GeographicalLocation": 1,
"I-GeographicalLocation": 2,
"B-Habitat": 3,
"I-Habitat": 4,
"B-Person": 5,
"I-Person": 6,
"B-Taxon": 7,
"I-Taxon": 8,
"B-TemporalExpression": 9,
"I-TemporalExpression": 10
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"type_vocab_size": 2,
"vocab_size": 30522
}