bert-large-uncased-LMD / config.json
Sifr-un's picture
Upload BertForTokenClassification
90377dd verified
raw
history blame
2.49 kB
{
"_name_or_path": "bert-large-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": 1024,
"id2label": {
"0": "I-CTRY",
"1": "L-DIST",
"2": "B-NBHD",
"3": "B-CONT",
"4": "U-CTRY",
"5": "B-ST",
"6": "I-ISL",
"7": "U-NPOI",
"8": "B-CITY",
"9": "L-ISL",
"10": "U-ST",
"11": "U-DIST",
"12": "L-CONT",
"13": "I-CITY",
"14": "L-HPOI",
"15": "U-CNTY",
"16": "B-DIST",
"17": "L-NBHD",
"18": "B-HPOI",
"19": "L-STAT",
"20": "L-CNTY",
"21": "B-ISL",
"22": "O",
"23": "B-STAT",
"24": "U-ISL",
"25": "U-STAT",
"26": "I-DIST",
"27": "B-OTHR",
"28": "I-NBHD",
"29": "I-CNTY",
"30": "I-NPOI",
"31": "U-HPOI",
"32": "L-ST",
"33": "B-CTRY",
"34": "U-NBHD",
"35": "L-CITY",
"36": "I-ST",
"37": "I-HPOI",
"38": "I-STAT",
"39": "B-CNTY",
"40": "U-OTHR",
"41": "L-OTHR",
"42": "L-CTRY",
"43": "I-OTHR",
"44": "U-CONT",
"45": "L-NPOI",
"46": "B-NPOI",
"47": "U-CITY"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-CITY": 8,
"B-CNTY": 39,
"B-CONT": 3,
"B-CTRY": 33,
"B-DIST": 16,
"B-HPOI": 18,
"B-ISL": 21,
"B-NBHD": 2,
"B-NPOI": 46,
"B-OTHR": 27,
"B-ST": 5,
"B-STAT": 23,
"I-CITY": 13,
"I-CNTY": 29,
"I-CTRY": 0,
"I-DIST": 26,
"I-HPOI": 37,
"I-ISL": 6,
"I-NBHD": 28,
"I-NPOI": 30,
"I-OTHR": 43,
"I-ST": 36,
"I-STAT": 38,
"L-CITY": 35,
"L-CNTY": 20,
"L-CONT": 12,
"L-CTRY": 42,
"L-DIST": 1,
"L-HPOI": 14,
"L-ISL": 9,
"L-NBHD": 17,
"L-NPOI": 45,
"L-OTHR": 41,
"L-ST": 32,
"L-STAT": 19,
"O": 22,
"U-CITY": 47,
"U-CNTY": 15,
"U-CONT": 44,
"U-CTRY": 4,
"U-DIST": 11,
"U-HPOI": 31,
"U-ISL": 24,
"U-NBHD": 34,
"U-NPOI": 7,
"U-OTHR": 40,
"U-ST": 10,
"U-STAT": 25
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.44.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}