NER_PII_HF / config.json
machinelearningzuu's picture
Upload BertForTokenClassification
f2521fb verified
{
"_name_or_path": "dslim/bert-base-NER",
"_num_labels": 9,
"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": "I-URL_PERSONAL",
"2": "B-USERNAME",
"3": "B-STREET_ADDRESS",
"4": "B-NAME_STUDENT",
"5": "I-ID_NUM",
"6": "I-STREET_ADDRESS",
"7": "I-PHONE_NUM",
"8": "B-EMAIL",
"9": "B-PHONE_NUM",
"10": "B-URL_PERSONAL",
"11": "B-ID_NUM",
"12": "I-NAME_STUDENT"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-EMAIL": 8,
"B-ID_NUM": 11,
"B-NAME_STUDENT": 4,
"B-PHONE_NUM": 9,
"B-STREET_ADDRESS": 3,
"B-URL_PERSONAL": 10,
"B-USERNAME": 2,
"I-ID_NUM": 5,
"I-NAME_STUDENT": 12,
"I-PHONE_NUM": 7,
"I-STREET_ADDRESS": 6,
"I-URL_PERSONAL": 1,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.42.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}