|
{ |
|
"_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-treatment", |
|
"2": "B-chronic_disease", |
|
"3": "B-cancer", |
|
"4": "B-gender", |
|
"5": "B-pregnancy", |
|
"6": "B-allergy_name", |
|
"7": "B-contraception_consent", |
|
"8": "B-language_literacy", |
|
"9": "B-technology_access", |
|
"10": "B-ethnicity", |
|
"11": "B-attribute_clinical_variable", |
|
"12": "B-age", |
|
"13": "B-body_mass_index", |
|
"14": "B-limit_upper_bound", |
|
"15": "B-lower_bound", |
|
"16": "I-treatment", |
|
"17": "I-chronic_disease", |
|
"18": "I-cancer", |
|
"19": "I-gender", |
|
"20": "I-pregnancy", |
|
"21": "I-allergy_name", |
|
"22": "I-contraception_consent", |
|
"23": "I-language_literacy", |
|
"24": "I-technology_access", |
|
"25": "I-ethnicity", |
|
"26": "I-attribute_clinical_variable", |
|
"27": "I-age", |
|
"28": "I-body_mass_index", |
|
"29": "I-limit_upper_bound", |
|
"30": "I-lower_bound" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-age": 12, |
|
"B-allergy_name": 6, |
|
"B-attribute_clinical_variable": 11, |
|
"B-body_mass_index": 13, |
|
"B-cancer": 3, |
|
"B-chronic_disease": 2, |
|
"B-contraception_consent": 7, |
|
"B-ethnicity": 10, |
|
"B-gender": 4, |
|
"B-language_literacy": 8, |
|
"B-limit_upper_bound": 14, |
|
"B-lower_bound": 15, |
|
"B-pregnancy": 5, |
|
"B-technology_access": 9, |
|
"B-treatment": 1, |
|
"I-age": 27, |
|
"I-allergy_name": 21, |
|
"I-attribute_clinical_variable": 26, |
|
"I-body_mass_index": 28, |
|
"I-cancer": 18, |
|
"I-chronic_disease": 17, |
|
"I-contraception_consent": 22, |
|
"I-ethnicity": 25, |
|
"I-gender": 19, |
|
"I-language_literacy": 23, |
|
"I-limit_upper_bound": 29, |
|
"I-lower_bound": 30, |
|
"I-pregnancy": 20, |
|
"I-technology_access": 24, |
|
"I-treatment": 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, |
|
"position_embedding_type": "absolute", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.41.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|