bert-finetuned-ner / config.json
Elytum's picture
Training in progress, epoch 1
3e8e2d8
raw
history blame
No virus
1.35 kB
{
"_name_or_path": "gaunernst/bert-small-uncased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 512,
"id2label": {
"0": "O",
"1": "B-NAME",
"2": "B-JOB",
"3": "B-EMAIL",
"4": "B-PHONE",
"5": "B-COUNTRY",
"6": "B-POSTAL_CODE",
"7": "B-STATE",
"8": "B-CITY",
"9": "I-NAME",
"10": "I-JOB",
"11": "I-EMAIL",
"12": "I-PHONE",
"13": "I-COUNTRY",
"14": "I-POSTAL_CODE",
"15": "I-STATE",
"16": "I-CITY"
},
"initializer_range": 0.02,
"intermediate_size": 2048,
"label2id": {
"B-CITY": 8,
"B-COUNTRY": 5,
"B-EMAIL": 3,
"B-JOB": 2,
"B-NAME": 1,
"B-PHONE": 4,
"B-POSTAL_CODE": 6,
"B-STATE": 7,
"I-CITY": 16,
"I-COUNTRY": 13,
"I-EMAIL": 11,
"I-JOB": 10,
"I-NAME": 9,
"I-PHONE": 12,
"I-POSTAL_CODE": 14,
"I-STATE": 15,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 8,
"num_hidden_layers": 4,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.26.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}