|
{ |
|
"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-CTRY", |
|
"1": "B-NBHD", |
|
"2": "B-ST", |
|
"3": "B-CITY", |
|
"4": "B-DIST", |
|
"5": "B-NPOI", |
|
"6": "B-HPOI", |
|
"7": "B-PROV", |
|
"8": "B-OTHR", |
|
"9": "I-CTRY", |
|
"10": "I-NBHD", |
|
"11": "I-ST", |
|
"12": "I-CITY", |
|
"13": "I-DIST", |
|
"14": "I-NPOI", |
|
"15": "I-HPOI", |
|
"16": "I-PROV", |
|
"17": "I-OTHR", |
|
"18": "L-CTRY", |
|
"19": "L-NBHD", |
|
"20": "L-ST", |
|
"21": "L-CITY", |
|
"22": "L-DIST", |
|
"23": "L-NPOI", |
|
"24": "L-HPOI", |
|
"25": "L-PROV", |
|
"26": "L-OTHR", |
|
"27": "U-CTRY", |
|
"28": "U-NBHD", |
|
"29": "U-ST", |
|
"30": "U-CITY", |
|
"31": "U-DIST", |
|
"32": "U-NPOI", |
|
"33": "U-HPOI", |
|
"34": "U-PROV", |
|
"35": "U-OTHR", |
|
"36": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-CITY": 3, |
|
"B-CTRY": 0, |
|
"B-DIST": 4, |
|
"B-HPOI": 6, |
|
"B-NBHD": 1, |
|
"B-NPOI": 5, |
|
"B-OTHR": 8, |
|
"B-PROV": 7, |
|
"B-ST": 2, |
|
"I-CITY": 12, |
|
"I-CTRY": 9, |
|
"I-DIST": 13, |
|
"I-HPOI": 15, |
|
"I-NBHD": 10, |
|
"I-NPOI": 14, |
|
"I-OTHR": 17, |
|
"I-PROV": 16, |
|
"I-ST": 11, |
|
"L-CITY": 21, |
|
"L-CTRY": 18, |
|
"L-DIST": 22, |
|
"L-HPOI": 24, |
|
"L-NBHD": 19, |
|
"L-NPOI": 23, |
|
"L-OTHR": 26, |
|
"L-PROV": 25, |
|
"L-ST": 20, |
|
"O": 36, |
|
"U-CITY": 30, |
|
"U-CTRY": 27, |
|
"U-DIST": 31, |
|
"U-HPOI": 33, |
|
"U-NBHD": 28, |
|
"U-NPOI": 32, |
|
"U-OTHR": 35, |
|
"U-PROV": 34, |
|
"U-ST": 29 |
|
}, |
|
"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": 100000 |
|
} |
|
|