bert-finetuned-ner / config.json
Ella01's picture
Training in progress, epoch 1
9e08153 verified
raw
history blame
1.79 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-NORP",
"2": "I-NORP",
"3": "B-ORG",
"4": "I-ORG",
"5": "B-WORK_OF_ART",
"6": "I-WORK_OF_ART",
"7": "B-PRODUCT",
"8": "I-PRODUCT",
"9": "B-GPE",
"10": "I-GPE",
"11": "B-LOC",
"12": "I-LOC",
"13": "B-PERSON",
"14": "I-PERSON",
"15": "B-ORDINAL",
"16": "I-ORDINAL",
"17": "B-DATE",
"18": "I-DATE",
"19": "B-CARDINAL",
"20": "I-CARDINAL",
"21": "B-LANGUAGE",
"22": "I-LANGUAGE",
"23": "B-EVENT",
"24": "I-EVENT",
"25": "B-FAC",
"26": "I-FAC"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CARDINAL": 19,
"B-DATE": 17,
"B-EVENT": 23,
"B-FAC": 25,
"B-GPE": 9,
"B-LANGUAGE": 21,
"B-LOC": 11,
"B-NORP": 1,
"B-ORDINAL": 15,
"B-ORG": 3,
"B-PERSON": 13,
"B-PRODUCT": 7,
"B-WORK_OF_ART": 5,
"I-CARDINAL": 20,
"I-DATE": 18,
"I-EVENT": 24,
"I-FAC": 26,
"I-GPE": 10,
"I-LANGUAGE": 22,
"I-LOC": 12,
"I-NORP": 2,
"I-ORDINAL": 16,
"I-ORG": 4,
"I-PERSON": 14,
"I-PRODUCT": 8,
"I-WORK_OF_ART": 6,
"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.41.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}