bert-finetuned-ner / config.json
tr-aravindan's picture
Training in progress, epoch 1
1cce2b0 verified
raw
history blame
1.32 kB
{
"_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": {
"0": "O",
"1": "B-NAME_STUDENT",
"2": "I-NAME_STUDENT",
"3": "B-EMAIL",
"4": "B-ID_NUM",
"5": "I-ID_NUM",
"6": "B-PHONE_NUM",
"7": "I-PHONE_NUM",
"8": "B-STREET_ADDRESS",
"9": "I-STREET_ADDRESS",
"10": "B-URL_PERSONAL",
"11": "I-URL_PERSONAL",
"12": "B-USERNAME"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-EMAIL": 3,
"B-ID_NUM": 4,
"B-NAME_STUDENT": 1,
"B-PHONE_NUM": 6,
"B-STREET_ADDRESS": 8,
"B-URL_PERSONAL": 10,
"B-USERNAME": 12,
"I-ID_NUM": 5,
"I-NAME_STUDENT": 2,
"I-PHONE_NUM": 7,
"I-STREET_ADDRESS": 9,
"I-URL_PERSONAL": 11,
"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.38.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}