|
{ |
|
"_name_or_path": "emilyalsentzer/Bio_ClinicalBERT", |
|
"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-Gene_or_gene_product", |
|
"2": "B-Cell", |
|
"3": "I-Cell", |
|
"4": "I-Gene_or_gene_product", |
|
"5": "B-Cancer", |
|
"6": "I-Cancer", |
|
"7": "B-Organ", |
|
"8": "I-Organ" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-Cancer": 5, |
|
"B-Cell": 2, |
|
"B-Gene_or_gene_product": 1, |
|
"B-Organ": 7, |
|
"I-Cancer": 6, |
|
"I-Cell": 3, |
|
"I-Gene_or_gene_product": 4, |
|
"I-Organ": 8, |
|
"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.22.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 28996 |
|
} |
|
|