bert_de_ner / config.json
system's picture
system HF staff
Update config.json
8f8d84e
raw
history blame
1.54 kB
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-LOC",
"2": "B-LOCderiv",
"3": "B-LOCpart",
"4": "B-ORG",
"5": "B-ORGderiv",
"6": "B-ORGpart",
"7": "B-OTH",
"8": "B-OTHderiv",
"9": "B-OTHpart",
"10": "B-PER",
"11": "B-PERderiv",
"12": "B-PERpart",
"13": "I-LOC",
"14": "I-LOCderiv",
"15": "I-LOCpart",
"16": "I-ORG",
"17": "I-ORGderiv",
"18": "I-ORGpart",
"19": "I-OTH",
"20": "I-OTHderiv",
"21": "I-OTHpart",
"22": "I-PER",
"23": "I-PERderiv",
"24": "I-PERpart"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-LOC": 1,
"B-LOCderiv": 2,
"B-LOCpart": 3,
"B-ORG": 4,
"B-ORGderiv": 5,
"B-ORGpart": 6,
"B-OTH": 7,
"B-OTHderiv": 8,
"B-OTHpart": 9,
"B-PER": 10,
"B-PERderiv": 11,
"B-PERpart": 12,
"I-LOC": 13,
"I-LOCderiv": 14,
"I-LOCpart": 15,
"I-ORG": 16,
"I-ORGderiv": 17,
"I-ORGpart": 18,
"I-OTH": 19,
"I-OTHderiv": 20,
"I-OTHpart": 21,
"I-PER": 22,
"I-PERderiv": 23,
"I-PERpart": 24,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"type_vocab_size": 2,
"vocab_size": 31102
}