|
{ |
|
"_num_labels": 2, |
|
"architectures": [ |
|
"ElectraForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"embedding_size": 768, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "B-academic", |
|
"1": "B-academic_person", |
|
"2": "B-aircraft", |
|
"3": "B-album_person", |
|
"4": "B-anatomy", |
|
"5": "B-animal", |
|
"6": "B-architect_person", |
|
"7": "B-capital", |
|
"8": "B-chemical", |
|
"9": "B-clothes", |
|
"10": "B-country", |
|
"11": "B-culture", |
|
"12": "B-currency", |
|
"13": "B-date", |
|
"14": "B-food", |
|
"15": "B-genre", |
|
"16": "B-government", |
|
"17": "B-government_person", |
|
"18": "B-language", |
|
"19": "B-location", |
|
"20": "B-material", |
|
"21": "B-measure", |
|
"22": "B-medical", |
|
"23": "B-military", |
|
"24": "B-military_person", |
|
"25": "B-nation", |
|
"26": "B-newspaper", |
|
"27": "B-organization", |
|
"28": "B-organization_person", |
|
"29": "B-person", |
|
"30": "B-production_art_music", |
|
"31": "B-production_art_music_person", |
|
"32": "B-quantity", |
|
"33": "B-religion", |
|
"34": "B-science", |
|
"35": "B-shape", |
|
"36": "B-ship", |
|
"37": "B-software", |
|
"38": "B-space", |
|
"39": "B-space_person", |
|
"40": "B-sport", |
|
"41": "B-sport_name", |
|
"42": "B-sport_person", |
|
"43": "B-structure", |
|
"44": "B-subject", |
|
"45": "B-tech", |
|
"46": "B-train", |
|
"47": "B-vehicle", |
|
"48": "I-academic", |
|
"49": "I-academic_person", |
|
"50": "I-aircraft", |
|
"51": "I-album_person", |
|
"52": "I-anatomy", |
|
"53": "I-animal", |
|
"54": "I-architect_person", |
|
"55": "I-capital", |
|
"56": "I-chemical", |
|
"57": "I-clothes", |
|
"58": "I-country", |
|
"59": "I-culture", |
|
"60": "I-currency", |
|
"61": "I-date", |
|
"62": "I-food", |
|
"63": "I-genre", |
|
"64": "I-government", |
|
"65": "I-government_person", |
|
"66": "I-language", |
|
"67": "I-location", |
|
"68": "I-material", |
|
"69": "I-measure", |
|
"70": "I-medical", |
|
"71": "I-military", |
|
"72": "I-military_person", |
|
"73": "I-nation", |
|
"74": "I-newspaper", |
|
"75": "I-organization", |
|
"76": "I-organization_person", |
|
"77": "I-person", |
|
"78": "I-production_art_music", |
|
"79": "I-production_art_music_person", |
|
"80": "I-religion", |
|
"81": "I-science", |
|
"82": "I-ship", |
|
"83": "I-software", |
|
"84": "I-space", |
|
"85": "I-space_person", |
|
"86": "I-sport", |
|
"87": "I-sport_name", |
|
"88": "I-sport_person", |
|
"89": "I-structure", |
|
"90": "I-subject", |
|
"91": "I-tech", |
|
"92": "I-train", |
|
"93": "I-vehicle", |
|
"94": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-academic": 0, |
|
"B-academic_person": 1, |
|
"B-aircraft": 2, |
|
"B-album_person": 3, |
|
"B-anatomy": 4, |
|
"B-animal": 5, |
|
"B-architect_person": 6, |
|
"B-capital": 7, |
|
"B-chemical": 8, |
|
"B-clothes": 9, |
|
"B-country": 10, |
|
"B-culture": 11, |
|
"B-currency": 12, |
|
"B-date": 13, |
|
"B-food": 14, |
|
"B-genre": 15, |
|
"B-government": 16, |
|
"B-government_person": 17, |
|
"B-language": 18, |
|
"B-location": 19, |
|
"B-material": 20, |
|
"B-measure": 21, |
|
"B-medical": 22, |
|
"B-military": 23, |
|
"B-military_person": 24, |
|
"B-nation": 25, |
|
"B-newspaper": 26, |
|
"B-organization": 27, |
|
"B-organization_person": 28, |
|
"B-person": 29, |
|
"B-production_art_music": 30, |
|
"B-production_art_music_person": 31, |
|
"B-quantity": 32, |
|
"B-religion": 33, |
|
"B-science": 34, |
|
"B-shape": 35, |
|
"B-ship": 36, |
|
"B-software": 37, |
|
"B-space": 38, |
|
"B-space_person": 39, |
|
"B-sport": 40, |
|
"B-sport_name": 41, |
|
"B-sport_person": 42, |
|
"B-structure": 43, |
|
"B-subject": 44, |
|
"B-tech": 45, |
|
"B-train": 46, |
|
"B-vehicle": 47, |
|
"I-academic": 48, |
|
"I-academic_person": 49, |
|
"I-aircraft": 50, |
|
"I-album_person": 51, |
|
"I-anatomy": 52, |
|
"I-animal": 53, |
|
"I-architect_person": 54, |
|
"I-capital": 55, |
|
"I-chemical": 56, |
|
"I-clothes": 57, |
|
"I-country": 58, |
|
"I-culture": 59, |
|
"I-currency": 60, |
|
"I-date": 61, |
|
"I-food": 62, |
|
"I-genre": 63, |
|
"I-government": 64, |
|
"I-government_person": 65, |
|
"I-language": 66, |
|
"I-location": 67, |
|
"I-material": 68, |
|
"I-measure": 69, |
|
"I-medical": 70, |
|
"I-military": 71, |
|
"I-military_person": 72, |
|
"I-nation": 73, |
|
"I-newspaper": 74, |
|
"I-organization": 75, |
|
"I-organization_person": 76, |
|
"I-person": 77, |
|
"I-production_art_music": 78, |
|
"I-production_art_music_person": 79, |
|
"I-religion": 80, |
|
"I-science": 81, |
|
"I-ship": 82, |
|
"I-software": 83, |
|
"I-space": 84, |
|
"I-space_person": 85, |
|
"I-sport": 86, |
|
"I-sport_name": 87, |
|
"I-sport_person": 88, |
|
"I-structure": 89, |
|
"I-subject": 90, |
|
"I-tech": 91, |
|
"I-train": 92, |
|
"I-vehicle": 93, |
|
"O": 94 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "electra", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"output_past": true, |
|
"pad_token_id": 0, |
|
"summary_activation": "gelu", |
|
"summary_last_dropout": 0.1, |
|
"summary_type": "first", |
|
"summary_use_proj": true, |
|
"type_vocab_size": 2, |
|
"vocab_size": 32000 |
|
} |
|
|