RobotDocNLP / config.json
mdecot's picture
Update config.json
a408b12
raw
history blame
1.23 kB
{
"_name_or_path": "allenai/scibert_scivocab_uncased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {"0":"0",
"1":"B-Age",
"2":"I-Age",
"3":"B-Sex",
"4":"I-Sex",
"5":"B-Disease_disorder",
"6":"I-Disease_disorder",
"7":"B-Sign_symptom",
"8":"I-Sign_symptom",
"9":"I-Biological_structure",
"10":"B-Biological_structure",
"11":"I-Lab_value",
"12":"B-Lab_value"},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id":
{"O":0,
"B-Age":1,
"I-Age":2,
"B-Sex":3,
"I-Sex":4,
"B-Disease_disorder":5,
"I-Disease_disorder":6,
"B-Sign_symptom":7,
"I-Sign_symptom":8,
'I-Biological_structure':9,'B-Biological_structure':10,'I-Lab_value':11,'B-Lab_value':12}
,
"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.28.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 31090
}