{ | |
"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": "O", | |
"1": "B-CARDINAL", | |
"2": "B-DATE", | |
"3": "B-EVENT", | |
"4": "B-FAC", | |
"5": "B-GPE", | |
"6": "B-LANGUAGE", | |
"7": "B-LAW", | |
"8": "B-LOC", | |
"9": "B-MONEY", | |
"10": "B-NORP", | |
"11": "B-ORDINAL", | |
"12": "B-ORG", | |
"13": "B-PERCENT", | |
"14": "B-PERSON", | |
"15": "B-PRODUCT", | |
"16": "B-QUANTITY", | |
"17": "B-TIME", | |
"18": "B-WORK_OF_ART", | |
"19": "I-CARDINAL", | |
"20": "I-DATE", | |
"21": "I-EVENT", | |
"22": "I-FAC", | |
"23": "I-GPE", | |
"24": "I-LANGUAGE", | |
"25": "I-LAW", | |
"26": "I-LOC", | |
"27": "I-MONEY", | |
"28": "I-NORP", | |
"29": "I-ORDINAL", | |
"30": "I-ORG", | |
"31": "I-PERCENT", | |
"32": "I-PERSON", | |
"33": "I-PRODUCT", | |
"34": "I-QUANTITY", | |
"35": "I-TIME", | |
"36": "I-WORK_OF_ART", | |
"37": "E-CARDINAL", | |
"38": "E-DATE", | |
"39": "E-EVENT", | |
"40": "E-FAC", | |
"41": "E-GPE", | |
"42": "E-LANGUAGE", | |
"43": "E-LAW", | |
"44": "E-LOC", | |
"45": "E-MONEY", | |
"46": "E-NORP", | |
"47": "E-ORDINAL", | |
"48": "E-ORG", | |
"49": "E-PERCENT", | |
"50": "E-PERSON", | |
"51": "E-PRODUCT", | |
"52": "E-QUANTITY", | |
"53": "E-TIME", | |
"54": "E-WORK_OF_ART", | |
"55": "S-CARDINAL", | |
"56": "S-DATE", | |
"57": "S-EVENT", | |
"58": "S-FAC", | |
"59": "S-GPE", | |
"60": "S-LANGUAGE", | |
"61": "S-LAW", | |
"62": "S-LOC", | |
"63": "S-MONEY", | |
"64": "S-NORP", | |
"65": "S-ORDINAL", | |
"66": "S-ORG", | |
"67": "S-PERCENT", | |
"68": "S-PERSON", | |
"69": "S-PRODUCT", | |
"70": "S-QUANTITY", | |
"71": "S-TIME", | |
"72": "S-WORK_OF_ART" | |
}, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"B-CARDINAL": 1, | |
"B-DATE": 2, | |
"B-EVENT": 3, | |
"B-FAC": 4, | |
"B-GPE": 5, | |
"B-LANGUAGE": 6, | |
"B-LAW": 7, | |
"B-LOC": 8, | |
"B-MONEY": 9, | |
"B-NORP": 10, | |
"B-ORDINAL": 11, | |
"B-ORG": 12, | |
"B-PERCENT": 13, | |
"B-PERSON": 14, | |
"B-PRODUCT": 15, | |
"B-QUANTITY": 16, | |
"B-TIME": 17, | |
"B-WORK_OF_ART": 18, | |
"E-CARDINAL": 37, | |
"E-DATE": 38, | |
"E-EVENT": 39, | |
"E-FAC": 40, | |
"E-GPE": 41, | |
"E-LANGUAGE": 42, | |
"E-LAW": 43, | |
"E-LOC": 44, | |
"E-MONEY": 45, | |
"E-NORP": 46, | |
"E-ORDINAL": 47, | |
"E-ORG": 48, | |
"E-PERCENT": 49, | |
"E-PERSON": 50, | |
"E-PRODUCT": 51, | |
"E-QUANTITY": 52, | |
"E-TIME": 53, | |
"E-WORK_OF_ART": 54, | |
"I-CARDINAL": 19, | |
"I-DATE": 20, | |
"I-EVENT": 21, | |
"I-FAC": 22, | |
"I-GPE": 23, | |
"I-LANGUAGE": 24, | |
"I-LAW": 25, | |
"I-LOC": 26, | |
"I-MONEY": 27, | |
"I-NORP": 28, | |
"I-ORDINAL": 29, | |
"I-ORG": 30, | |
"I-PERCENT": 31, | |
"I-PERSON": 32, | |
"I-PRODUCT": 33, | |
"I-QUANTITY": 34, | |
"I-TIME": 35, | |
"I-WORK_OF_ART": 36, | |
"O": 0, | |
"S-CARDINAL": 55, | |
"S-DATE": 56, | |
"S-EVENT": 57, | |
"S-FAC": 58, | |
"S-GPE": 59, | |
"S-LANGUAGE": 60, | |
"S-LAW": 61, | |
"S-LOC": 62, | |
"S-MONEY": 63, | |
"S-NORP": 64, | |
"S-ORDINAL": 65, | |
"S-ORG": 66, | |
"S-PERCENT": 67, | |
"S-PERSON": 68, | |
"S-PRODUCT": 69, | |
"S-QUANTITY": 70, | |
"S-TIME": 71, | |
"S-WORK_OF_ART": 72 | |
}, | |
"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", | |
"tokenizer_class": "BertTokenizerFast", | |
"type_vocab_size": 2, | |
"vocab_size": 21128 | |
} | |