MedTXTNER / config.json
Tomohiro's picture
Upload BertForTokenClassification
f7c2514 verified
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-d_",
"2": "I-d_",
"3": "B-d_positive",
"4": "I-d_positive",
"5": "B-d_suspicious",
"6": "I-d_suspicious",
"7": "B-d_negative",
"8": "I-d_negative",
"9": "B-d_general",
"10": "I-d_general",
"11": "B-a_",
"12": "I-a_",
"13": "B-f_",
"14": "I-f_",
"15": "B-c_",
"16": "I-c_",
"17": "B-d_other",
"18": "I-d_other",
"19": "B-timex3_",
"20": "I-timex3_",
"21": "B-timex3_date",
"22": "I-timex3_date",
"23": "B-timex3_time",
"24": "I-timex3_time",
"25": "B-timex3_duration",
"26": "I-timex3_duration",
"27": "B-timex3_set",
"28": "I-timex3_set",
"29": "B-timex3_age",
"30": "I-timex3_age",
"31": "B-timex3_med",
"32": "I-timex3_med",
"33": "B-timex3_misc",
"34": "I-timex3_misc",
"35": "B-timex3_CC",
"36": "I-timex3_CC",
"37": "B-t-test_",
"38": "I-t-test_",
"39": "B-t-test_executed",
"40": "I-t-test_executed",
"41": "B-t-test_negated",
"42": "I-t-test_negated",
"43": "B-t-test_scheduled",
"44": "I-t-test_scheduled",
"45": "B-t-test_other",
"46": "I-t-test_other",
"47": "B-t-key_",
"48": "I-t-key_",
"49": "B-t-key_scheduled",
"50": "I-t-key_scheduled",
"51": "B-t-val_",
"52": "I-t-val_",
"53": "B-t-key_other",
"54": "I-t-key_other",
"55": "B-t-key_executed",
"56": "I-t-key_executed",
"57": "B-t-key_negated",
"58": "I-t-key_negated",
"59": "B-m-key_",
"60": "I-m-key_",
"61": "B-m-key_executed",
"62": "I-m-key_executed",
"63": "B-m-key_negated",
"64": "I-m-key_negated",
"65": "B-m-key_scheduled",
"66": "I-m-key_scheduled",
"67": "B-m-key_other",
"68": "I-m-key_other",
"69": "B-m-val_",
"70": "I-m-val_",
"71": "B-m-val_negated",
"72": "I-m-val_negated",
"73": "B-m-val_executed",
"74": "I-m-val_executed",
"75": "B-m-val_scheduled",
"76": "I-m-val_scheduled",
"77": "B-m-val_other",
"78": "I-m-val_other",
"79": "B-r_scheduled",
"80": "I-r_scheduled",
"81": "B-r_executed",
"82": "I-r_executed",
"83": "B-r_negated",
"84": "I-r_negated",
"85": "B-r_other",
"86": "I-r_other",
"87": "B-cc_scheduled",
"88": "I-cc_scheduled",
"89": "B-cc_executed",
"90": "I-cc_executed",
"91": "B-cc_negated",
"92": "I-cc_negated",
"93": "B-cc_other",
"94": "I-cc_other"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-a_": 11,
"B-c_": 15,
"B-cc_executed": 89,
"B-cc_negated": 91,
"B-cc_other": 93,
"B-cc_scheduled": 87,
"B-d_": 1,
"B-d_general": 9,
"B-d_negative": 7,
"B-d_other": 17,
"B-d_positive": 3,
"B-d_suspicious": 5,
"B-f_": 13,
"B-m-key_": 59,
"B-m-key_executed": 61,
"B-m-key_negated": 63,
"B-m-key_other": 67,
"B-m-key_scheduled": 65,
"B-m-val_": 69,
"B-m-val_executed": 73,
"B-m-val_negated": 71,
"B-m-val_other": 77,
"B-m-val_scheduled": 75,
"B-r_executed": 81,
"B-r_negated": 83,
"B-r_other": 85,
"B-r_scheduled": 79,
"B-t-key_": 47,
"B-t-key_executed": 55,
"B-t-key_negated": 57,
"B-t-key_other": 53,
"B-t-key_scheduled": 49,
"B-t-test_": 37,
"B-t-test_executed": 39,
"B-t-test_negated": 41,
"B-t-test_other": 45,
"B-t-test_scheduled": 43,
"B-t-val_": 51,
"B-timex3_": 19,
"B-timex3_CC": 35,
"B-timex3_age": 29,
"B-timex3_date": 21,
"B-timex3_duration": 25,
"B-timex3_med": 31,
"B-timex3_misc": 33,
"B-timex3_set": 27,
"B-timex3_time": 23,
"I-a_": 12,
"I-c_": 16,
"I-cc_executed": 90,
"I-cc_negated": 92,
"I-cc_other": 94,
"I-cc_scheduled": 88,
"I-d_": 2,
"I-d_general": 10,
"I-d_negative": 8,
"I-d_other": 18,
"I-d_positive": 4,
"I-d_suspicious": 6,
"I-f_": 14,
"I-m-key_": 60,
"I-m-key_executed": 62,
"I-m-key_negated": 64,
"I-m-key_other": 68,
"I-m-key_scheduled": 66,
"I-m-val_": 70,
"I-m-val_executed": 74,
"I-m-val_negated": 72,
"I-m-val_other": 78,
"I-m-val_scheduled": 76,
"I-r_executed": 82,
"I-r_negated": 84,
"I-r_other": 86,
"I-r_scheduled": 80,
"I-t-key_": 48,
"I-t-key_executed": 56,
"I-t-key_negated": 58,
"I-t-key_other": 54,
"I-t-key_scheduled": 50,
"I-t-test_": 38,
"I-t-test_executed": 40,
"I-t-test_negated": 42,
"I-t-test_other": 46,
"I-t-test_scheduled": 44,
"I-t-val_": 52,
"I-timex3_": 20,
"I-timex3_CC": 36,
"I-timex3_age": 30,
"I-timex3_date": 22,
"I-timex3_duration": 26,
"I-timex3_med": 32,
"I-timex3_misc": 34,
"I-timex3_set": 28,
"I-timex3_time": 24,
"O": 0
},
"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.51.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32768
}