|
{ |
|
"_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": "O", |
|
"1": "I-WORK_OF_ART", |
|
"2": "I-WORK_OF_ART", |
|
"3": "I-WORK_OF_ART", |
|
"4": "I-WORK_OF_ART", |
|
"5": "I-WORK_OF_ART", |
|
"6": "I-WORK_OF_ART", |
|
"7": "I-building-airport", |
|
"8": "I-building-hospital", |
|
"9": "I-building-hotel", |
|
"10": "I-building-library", |
|
"11": "I-building-other", |
|
"12": "I-building-restaurant", |
|
"13": "I-FAC", |
|
"14": "I-building-theater", |
|
"15": "I-EVENT", |
|
"16": "I-EVENT", |
|
"17": "I-EVENT", |
|
"18": "I-EVENT", |
|
"19": "I-EVENT", |
|
"20": "I-EVENT", |
|
"21": "I-GPE", |
|
"22": "I-LOC", |
|
"23": "I-LOC", |
|
"24": "I-LOC", |
|
"25": "I-LOC", |
|
"26": "I-LOC", |
|
"27": "I-LOC", |
|
"28": "I-ORG", |
|
"29": "I-ORG", |
|
"30": "I-ORG", |
|
"31": "I-ORG", |
|
"32": "I-ORG", |
|
"33": "I-NORP", |
|
"34": "I-NORP", |
|
"35": "I-ORG", |
|
"36": "I-ORG", |
|
"37": "I-ORG", |
|
"38": "I-MISC", |
|
"39": "I-MISC", |
|
"40": "I-MISC", |
|
"41": "I-MISC", |
|
"42": "I-MISC", |
|
"43": "I-MISC", |
|
"44": "I-MISC", |
|
"45": "I-MISC", |
|
"46": "I-LANGUAGE", |
|
"47": "I-LAW", |
|
"48": "I-other-livingthing", |
|
"49": "I-other-medical", |
|
"50": "I-PER", |
|
"51": "I-PER", |
|
"52": "I-PER", |
|
"53": "I-PER", |
|
"54": "I-PER", |
|
"55": "I-PER", |
|
"56": "I-PER", |
|
"57": "I-PER", |
|
"58": "I-VEHICLE", |
|
"59": "I-VEHICLE", |
|
"60": "I-PRODUCT", |
|
"61": "I-PRODUCT", |
|
"62": "I-PRODUCT", |
|
"63": "I-VEHICLE", |
|
"64": "I-SOFTWARE_PRODUCT", |
|
"65": "I-VEHICLE", |
|
"66": "I-WEAPON" |
|
}, |
|
"label2id": { |
|
"O": "0", |
|
"I-art-broadcastprogram": "1", |
|
"I-art-film": "2", |
|
"I-art-music": "3", |
|
"I-art-other": "4", |
|
"I-art-painting": "5", |
|
"I-art-writtenart": "6", |
|
"I-building-airport": "7", |
|
"I-building-hospital": "8", |
|
"I-building-hotel": "9", |
|
"I-building-library": "10", |
|
"I-building-other": "11", |
|
"I-building-restaurant": "12", |
|
"I-building-sportsfacility": "13", |
|
"I-building-theater": "14", |
|
"I-event-attack/battle/war/militaryconflict": "15", |
|
"I-event-disaster": "16", |
|
"I-event-election": "17", |
|
"I-event-other": "18", |
|
"I-event-protest": "19", |
|
"I-event-sportsevent": "20", |
|
"I-location-GPE": "21", |
|
"I-location-bodiesofwater": "22", |
|
"I-location-island": "23", |
|
"I-location-mountain": "24", |
|
"I-location-other": "25", |
|
"I-location-park": "26", |
|
"I-location-road/railway/highway/transit": "27", |
|
"I-organization-company": "28", |
|
"I-organization-education": "29", |
|
"I-organization-government/governmentagency": "30", |
|
"I-organization-media/newspaper": "31", |
|
"I-organization-other": "32", |
|
"I-organization-politicalparty": "33", |
|
"I-organization-religion": "34", |
|
"I-organization-showorganization": "35", |
|
"I-organization-sportsleague": "36", |
|
"I-organization-sportsteam": "37", |
|
"I-other-astronomything": "38", |
|
"I-other-award": "39", |
|
"I-other-biologything": "40", |
|
"I-other-chemicalthing": "41", |
|
"I-other-currency": "42", |
|
"I-other-disease": "43", |
|
"I-other-educationaldegree": "44", |
|
"I-other-god": "45", |
|
"I-other-language": "46", |
|
"I-other-law": "47", |
|
"I-other-livingthing": "48", |
|
"I-other-medical": "49", |
|
"I-person-actor": "50", |
|
"I-person-artist/author": "51", |
|
"I-person-athlete": "52", |
|
"I-person-director": "53", |
|
"I-person-other": "54", |
|
"I-person-politician": "55", |
|
"I-person-scholar": "56", |
|
"I-person-soldier": "57", |
|
"I-product-airplane": "58", |
|
"I-product-car": "59", |
|
"I-product-food": "60", |
|
"I-product-game": "61", |
|
"I-product-other": "62", |
|
"I-product-ship": "63", |
|
"I-product-software": "64", |
|
"I-product-train": "65", |
|
"I-product-weapon": "66" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"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.24.0", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|