{ | |
"_name_or_path": "bert-base-cased", | |
"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": [ | |
"O", | |
"B-AGE", | |
"I-AGE", | |
"B-BIOID", | |
"I-BIOID", | |
"B-CITY", | |
"I-CITY", | |
"B-COUNTRY", | |
"I-COUNTRY", | |
"B-DATE", | |
"I-DATE", | |
"B-DEVICE", | |
"I-DEVICE", | |
"B-DOCTOR", | |
"I-DOCTOR", | |
"B-EMAIL", | |
"I-EMAIL", | |
"B-FAX", | |
"I-FAX", | |
"B-HEALTHPLAN", | |
"I-HEALTHPLAN", | |
"B-HOSPITAL", | |
"I-HOSPITAL", | |
"B-IDNUM", | |
"I-IDNUM", | |
"B-LOCATION-OTHER", | |
"I-LOCATION-OTHER", | |
"B-MEDICALRECORD", | |
"I-MEDICALRECORD", | |
"B-ORGANIZATION", | |
"I-ORGANIZATION", | |
"B-PATIENT", | |
"I-PATIENT", | |
"B-PHONE", | |
"I-PHONE", | |
"B-PROFESSION", | |
"I-PROFESSION", | |
"B-STATE", | |
"I-STATE", | |
"B-STREET", | |
"I-STREET", | |
"B-URL", | |
"I-URL", | |
"B-USERNAME", | |
"I-USERNAME", | |
"B-ZIP", | |
"I-ZIP" | |
], | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"B-AGE": 1, | |
"B-BIOID": 3, | |
"B-CITY": 5, | |
"B-COUNTRY": 7, | |
"B-DATE": 9, | |
"B-DEVICE": 11, | |
"B-DOCTOR": 13, | |
"B-EMAIL": 15, | |
"B-FAX": 17, | |
"B-HEALTHPLAN": 19, | |
"B-HOSPITAL": 21, | |
"B-IDNUM": 23, | |
"B-LOCATION-OTHER": 25, | |
"B-MEDICALRECORD": 27, | |
"B-ORGANIZATION": 29, | |
"B-PATIENT": 31, | |
"B-PHONE": 33, | |
"B-PROFESSION": 35, | |
"B-STATE": 37, | |
"B-STREET": 39, | |
"B-URL": 41, | |
"B-USERNAME": 43, | |
"B-ZIP": 45, | |
"I-AGE": 2, | |
"I-BIOID": 4, | |
"I-CITY": 6, | |
"I-COUNTRY": 8, | |
"I-DATE": 10, | |
"I-DEVICE": 12, | |
"I-DOCTOR": 14, | |
"I-EMAIL": 16, | |
"I-FAX": 18, | |
"I-HEALTHPLAN": 20, | |
"I-HOSPITAL": 22, | |
"I-IDNUM": 24, | |
"I-LOCATION-OTHER": 26, | |
"I-MEDICALRECORD": 28, | |
"I-ORGANIZATION": 30, | |
"I-PATIENT": 32, | |
"I-PHONE": 34, | |
"I-PROFESSION": 36, | |
"I-STATE": 38, | |
"I-STREET": 40, | |
"I-URL": 42, | |
"I-USERNAME": 44, | |
"I-ZIP": 46, | |
"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.12.5", | |
"type_vocab_size": 2, | |
"use_cache": true, | |
"vocab_size": 28996 | |
} | |