bert4ner-base-uncased / config.json
shibing624's picture
Update config.json
e6a0f29 verified
{
"_name_or_path": "bert-base-uncased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "E-ORG",
"1": "E-LOC",
"2": "S-MISC",
"3": "I-MISC",
"4": "S-PER",
"5": "E-PER",
"6": "B-MISC",
"7": "O",
"8": "S-LOC",
"9": "E-MISC",
"10": "B-ORG",
"11": "S-ORG",
"12": "I-ORG",
"13": "B-LOC",
"14": "I-LOC",
"15": "B-PER",
"16": "I-PER"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"E-ORG": 0,
"E-LOC": 1,
"S-MISC": 2,
"I-MISC": 3,
"S-PER": 4,
"E-PER": 5,
"B-MISC": 6,
"O": 7,
"S-LOC": 8,
"E-MISC": 9,
"B-ORG": 10,
"S-ORG": 11,
"I-ORG": 12,
"B-LOC": 13,
"I-LOC": 14,
"B-PER": 15,
"I-PER": 16
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.12.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}