theekshana's picture
deid_roberta_medical_reports
25b12dc verified
{
"_name_or_path": "obi/deid_roberta_i2b2",
"architectures": [
"RobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"finetuning_task": "ner",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-PATIENT",
"2": "I-PATIENT",
"3": "B-DATE",
"4": "I-DATE",
"5": "B-ID",
"6": "I-ID",
"7": "B-PHONE",
"8": "I-PHONE",
"9": "B-LOC",
"10": "I-LOC",
"11": "B-HOSP",
"12": "I-HOSP",
"13": "B-AGE",
"14": "I-AGE"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-AGE": 13,
"B-DATE": 3,
"B-HOSP": 11,
"B-ID": 5,
"B-LOC": 9,
"B-PATIENT": 1,
"B-PHONE": 7,
"I-AGE": 14,
"I-DATE": 4,
"I-HOSP": 12,
"I-ID": 6,
"I-LOC": 10,
"I-PATIENT": 2,
"I-PHONE": 8,
"O": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.44.2",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}