system's picture
system HF staff
Update config.json
ca98b54
raw
history blame
1.41 kB
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"directionality": "bidi",
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-EVENT",
"1": "B-GROUP",
"2": "B-LOC",
"3": "B-ORG",
"4": "B-OTHER",
"5": "B-PER",
"6": "B-PROD",
"7": "B-TIME",
"8": "B-TITLE",
"9": "I-EVENT",
"10": "I-GROUP",
"11": "I-LOC",
"12": "I-ORG",
"13": "I-OTHER",
"14": "I-PER",
"15": "I-PROD",
"16": "I-TIME",
"17": "I-TITLE",
"18": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-EVENT": 0,
"B-GROUP": 1,
"B-LOC": 2,
"B-ORG": 3,
"B-OTHER": 4,
"B-PER": 5,
"B-PROD": 6,
"B-TIME": 7,
"B-TITLE": 8,
"I-EVENT": 9,
"I-GROUP": 10,
"I-LOC": 11,
"I-ORG": 12,
"I-OTHER": 13,
"I-PER": 14,
"I-PROD": 15,
"I-TIME": 16,
"I-TITLE": 17,
"O": 18
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"type_vocab_size": 2,
"vocab_size": 119547
}