pubmedbert-chia-ner / config.json
ptanwar's picture
Upload folder using huggingface_hub
531bdc5 verified
Raw
History Blame Contribute Delete
2.12 kB
{
"add_cross_attention": false,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-Person",
"2": "I-Person",
"3": "B-Condition",
"4": "I-Condition",
"5": "B-Drug",
"6": "I-Drug",
"7": "B-Observation",
"8": "I-Observation",
"9": "B-Measurement",
"10": "I-Measurement",
"11": "B-Procedure",
"12": "I-Procedure",
"13": "B-Device",
"14": "I-Device",
"15": "B-Visit",
"16": "I-Visit",
"17": "B-Negation",
"18": "I-Negation",
"19": "B-Qualifier",
"20": "I-Qualifier",
"21": "B-Temporal",
"22": "I-Temporal",
"23": "B-Value",
"24": "I-Value",
"25": "B-Multiplier",
"26": "I-Multiplier",
"27": "B-Reference_point",
"28": "I-Reference_point",
"29": "B-Mood",
"30": "I-Mood"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"B-Condition": 3,
"B-Device": 13,
"B-Drug": 5,
"B-Measurement": 9,
"B-Mood": 29,
"B-Multiplier": 25,
"B-Negation": 17,
"B-Observation": 7,
"B-Person": 1,
"B-Procedure": 11,
"B-Qualifier": 19,
"B-Reference_point": 27,
"B-Temporal": 21,
"B-Value": 23,
"B-Visit": 15,
"I-Condition": 4,
"I-Device": 14,
"I-Drug": 6,
"I-Measurement": 10,
"I-Mood": 30,
"I-Multiplier": 26,
"I-Negation": 18,
"I-Observation": 8,
"I-Person": 2,
"I-Procedure": 12,
"I-Qualifier": 20,
"I-Reference_point": 28,
"I-Temporal": 22,
"I-Value": 24,
"I-Visit": 16,
"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,
"tie_word_embeddings": true,
"transformers_version": "5.14.1",
"type_vocab_size": 2,
"use_cache": false,
"vocab_size": 30522
}