fabner-ner / config.json
kalexa2's picture
Upload DistilBertForTokenClassification
2fc0875 verified
{
"_name_or_path": "distilbert-base-cased",
"activation": "gelu",
"architectures": [
"DistilBertForTokenClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "O",
"1": "B-MATE",
"2": "I-MATE",
"3": "E-MATE",
"4": "S-MATE",
"5": "B-MANP",
"6": "I-MANP",
"7": "E-MANP",
"8": "S-MANP",
"9": "B-MACEQ",
"10": "I-MACEQ",
"11": "E-MACEQ",
"12": "S-MACEQ",
"13": "B-APPL",
"14": "I-APPL",
"15": "E-APPL",
"16": "S-APPL",
"17": "B-FEAT",
"18": "I-FEAT",
"19": "E-FEAT",
"20": "S-FEAT",
"21": "B-PRO",
"22": "I-PRO",
"23": "E-PRO",
"24": "S-PRO",
"25": "B-CHAR",
"26": "I-CHAR",
"27": "E-CHAR",
"28": "S-CHAR",
"29": "B-PARA",
"30": "I-PARA",
"31": "E-PARA",
"32": "S-PARA",
"33": "B-ENAT",
"34": "I-ENAT",
"35": "E-ENAT",
"36": "S-ENAT",
"37": "B-CONPRI",
"38": "I-CONPRI",
"39": "E-CONPRI",
"40": "S-CONPRI",
"41": "B-MANS",
"42": "I-MANS",
"43": "E-MANS",
"44": "S-MANS",
"45": "B-BIOP",
"46": "I-BIOP",
"47": "E-BIOP",
"48": "S-BIOP"
},
"initializer_range": 0.02,
"label2id": {
"B-APPL": 13,
"B-BIOP": 45,
"B-CHAR": 25,
"B-CONPRI": 37,
"B-ENAT": 33,
"B-FEAT": 17,
"B-MACEQ": 9,
"B-MANP": 5,
"B-MANS": 41,
"B-MATE": 1,
"B-PARA": 29,
"B-PRO": 21,
"E-APPL": 15,
"E-BIOP": 47,
"E-CHAR": 27,
"E-CONPRI": 39,
"E-ENAT": 35,
"E-FEAT": 19,
"E-MACEQ": 11,
"E-MANP": 7,
"E-MANS": 43,
"E-MATE": 3,
"E-PARA": 31,
"E-PRO": 23,
"I-APPL": 14,
"I-BIOP": 46,
"I-CHAR": 26,
"I-CONPRI": 38,
"I-ENAT": 34,
"I-FEAT": 18,
"I-MACEQ": 10,
"I-MANP": 6,
"I-MANS": 42,
"I-MATE": 2,
"I-PARA": 30,
"I-PRO": 22,
"O": 0,
"S-APPL": 16,
"S-BIOP": 48,
"S-CHAR": 28,
"S-CONPRI": 40,
"S-ENAT": 36,
"S-FEAT": 20,
"S-MACEQ": 12,
"S-MANP": 8,
"S-MANS": 44,
"S-MATE": 4,
"S-PARA": 32,
"S-PRO": 24
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"output_past": true,
"pad_token_id": 0,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.42.3",
"vocab_size": 28996
}