Transformer-DeID: Deidentification of free-text clinical notes with transformers 1.0.0
(894 bytes)
{
"_name_or_path": "distilbert-base-cased",
"activation": "gelu",
"architectures": [
"DistilBertForTokenClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "O",
"1": "AGE",
"2": "CONTACT",
"3": "DATE",
"4": "ID",
"5": "LOCATION",
"6": "NAME",
"7": "PROFESSION"
},
"initializer_range": 0.02,
"label2id": {
"AGE": 1,
"CONTACT": 2,
"DATE": 3,
"ID": 4,
"LOCATION": 5,
"NAME": 6,
"O": 0,
"PROFESSION": 7
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"output_past": true,
"pad_token_id": 0,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.21.2",
"vocab_size": 28996
}