test-ner / config.json
zakariyafirachine's picture
Update config.json
4d4fd67 verified
{
"_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": "B-ACTIVITY",
"2": "I-ACTIVITY",
"3": "I-ADMINISTRATION",
"4": "B-ADMINISTRATION",
"5": "B-AGE",
"6": "I-AGE",
"7": "I-AREA",
"8": "B-AREA",
"9": "B-BIOLOGICAL_ATTRIBUTE",
"10": "I-BIOLOGICAL_ATTRIBUTE",
"11": "I-BIOLOGICAL_STRUCTURE",
"12": "B-BIOLOGICAL_STRUCTURE",
"13": "B-CLINICAL_EVENT",
"14": "I-CLINICAL_EVENT",
"15": "B-COLOR",
"16": "I-COLOR",
"17": "I-COREFERENCE",
"18": "B-COREFERENCE",
"19": "B-DATE",
"20": "I-DATE",
"21": "I-DETAILED_DESCRIPTION",
"22": "B-DETAILED_DESCRIPTION",
"23": "I-DIAGNOSTIC_PROCEDURE",
"24": "B-DIAGNOSTIC_PROCEDURE",
"25": "I-DISEASE_DISORDER",
"26": "B-DISEASE_DISORDER",
"27": "B-DISTANCE",
"28": "I-DISTANCE",
"29": "B-DOSAGE",
"30": "I-DOSAGE",
"31": "I-DURATION",
"32": "B-DURATION",
"33": "I-FAMILY_HISTORY",
"34": "B-FAMILY_HISTORY",
"35": "B-FREQUENCY",
"36": "I-FREQUENCY",
"37": "I-HEIGHT",
"38": "B-HEIGHT",
"39": "B-HISTORY",
"40": "I-HISTORY",
"41": "I-LAB_VALUE",
"42": "B-LAB_VALUE",
"43": "I-MASS",
"44": "B-MASS",
"45": "I-MEDICATION",
"46": "B-MEDICATION",
"47": "I-NONBIOLOGICAL_LOCATION",
"48": "B-NONBIOLOGICAL_LOCATION",
"49": "I-OCCUPATION",
"50": "B-OCCUPATION",
"51": "B-OTHER_ENTITY",
"52": "I-OTHER_ENTITY",
"53": "B-OTHER_EVENT",
"54": "I-OTHER_EVENT",
"55": "I-OUTCOME",
"56": "B-OUTCOME",
"57": "I-PERSONAL_BACKGROUND",
"58": "B-PERSONAL_BACKGROUND",
"59": "B-QUALITATIVE_CONCEPT",
"60": "I-QUALITATIVE_CONCEPT",
"61": "I-QUANTITATIVE_CONCEPT",
"62": "B-QUANTITATIVE_CONCEPT",
"63": "B-SEVERITY",
"64": "I-SEVERITY",
"65": "B-SEX",
"66": "I-SEX",
"67": "B-SHAPE",
"68": "I-SHAPE",
"69": "B-SIGN_SYMPTOM",
"70": "I-SIGN_SYMPTOM",
"71": "B-SUBJECT",
"72": "I-SUBJECT",
"73": "B-TEXTURE",
"74": "I-TEXTURE",
"75": "B-THERAPEUTIC_PROCEDURE",
"76": "I-THERAPEUTIC_PROCEDURE",
"77": "I-TIME",
"78": "B-TIME",
"79": "B-VOLUME",
"80": "I-VOLUME",
"81": "I-WEIGHT",
"82": "B-WEIGHT"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"O": "0",
"B-ACTIVITY": "1",
"I-ACTIVITY": "2",
"I-ADMINISTRATION": "3",
"B-ADMINISTRATION": "4",
"B-AGE": "5",
"I-AGE": "6",
"I-AREA": "7",
"B-AREA": "8",
"B-BIOLOGICAL_ATTRIBUTE": "9",
"I-BIOLOGICAL_ATTRIBUTE": "10",
"I-BIOLOGICAL_STRUCTURE": "11",
"B-BIOLOGICAL_STRUCTURE": "12",
"B-CLINICAL_EVENT": "13",
"I-CLINICAL_EVENT": "14",
"B-COLOR": "15",
"I-COLOR": "16",
"I-COREFERENCE": "17",
"B-COREFERENCE": "18",
"B-DATE": "19",
"I-DATE": "20",
"I-DETAILED_DESCRIPTION": "21",
"B-DETAILED_DESCRIPTION": "22",
"I-DIAGNOSTIC_PROCEDURE": "23",
"B-DIAGNOSTIC_PROCEDURE": "24",
"I-DISEASE_DISORDER": "25",
"B-DISEASE_DISORDER": "26",
"B-DISTANCE": "27",
"I-DISTANCE": "28",
"B-DOSAGE": "29",
"I-DOSAGE": "30",
"I-DURATION": "31",
"B-DURATION": "32",
"I-FAMILY_HISTORY": "33",
"B-FAMILY_HISTORY": "34",
"B-FREQUENCY": "35",
"I-FREQUENCY": "36",
"I-HEIGHT": "37",
"B-HEIGHT": "38",
"B-HISTORY": "39",
"I-HISTORY": "40",
"I-LAB_VALUE": "41",
"B-LAB_VALUE": "42",
"I-MASS": "43",
"B-MASS": "44",
"I-MEDICATION": "45",
"B-MEDICATION": "46",
"I-NONBIOLOGICAL_LOCATION": "47",
"B-NONBIOLOGICAL_LOCATION": "48",
"I-OCCUPATION": "49",
"B-OCCUPATION": "50",
"B-OTHER_ENTITY": "51",
"I-OTHER_ENTITY": "52",
"B-OTHER_EVENT": "53",
"I-OTHER_EVENT": "54",
"I-OUTCOME": "55",
"B-OUTCOME": "56",
"I-PERSONAL_BACKGROUND": "57",
"B-PERSONAL_BACKGROUND": "58",
"B-QUALITATIVE_CONCEPT": "59",
"I-QUALITATIVE_CONCEPT": "60",
"I-QUANTITATIVE_CONCEPT": "61",
"B-QUANTITATIVE_CONCEPT": "62",
"B-SEVERITY": "63",
"I-SEVERITY": "64",
"B-SEX": "65",
"I-SEX": "66",
"B-SHAPE": "67",
"I-SHAPE": "68",
"B-SIGN_SYMPTOM": "69",
"I-SIGN_SYMPTOM": "70",
"B-SUBJECT": "71",
"I-SUBJECT": "72",
"B-TEXTURE": "73",
"I-TEXTURE": "74",
"B-THERAPEUTIC_PROCEDURE": "75",
"I-THERAPEUTIC_PROCEDURE": "76",
"I-TIME": "77",
"B-TIME": "78",
"B-VOLUME": "79",
"I-VOLUME": "80",
"I-WEIGHT": "81",
"B-WEIGHT": "82"
},
"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.38.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}