bert-finetuned-ner / config.json
tantb's picture
Training in progress, epoch 1
aec370c verified
raw
history blame contribute delete
No virus
2.6 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-Laptops_Processor_Speed",
"2": "I-Laptops_Processor_Speed",
"3": "B-Flash_Memory_Cards_Capacity",
"4": "I-Flash_Memory_Cards_Capacity",
"5": "B-Laptops_Number_of_Cores",
"6": "I-Laptops_Number_of_Cores",
"7": "B-Laptops_Resolution",
"8": "I-Laptops_Resolution",
"9": "B-Laptops_Screen_Size",
"10": "I-Laptops_Screen_Size",
"11": "B-Digital_Cameras_Optical_Zoom",
"12": "I-Digital_Cameras_Optical_Zoom",
"13": "B-Digital_Cameras_Resolution",
"14": "I-Digital_Cameras_Resolution",
"15": "B-Flash_Memory_Cards_SD_Format",
"16": "I-Flash_Memory_Cards_SD_Format",
"17": "B-Digital_Cameras_Sensor_Type",
"18": "I-Digital_Cameras_Sensor_Type",
"19": "B-Laptops_Battery_Life",
"20": "I-Laptops_Battery_Life",
"21": "B-Laptops_Processor_Brand",
"22": "I-Laptops_Processor_Brand",
"23": "B-Digital_Cameras_Sensor_Size",
"24": "I-Digital_Cameras_Sensor_Size"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Digital_Cameras_Optical_Zoom": 11,
"B-Digital_Cameras_Resolution": 13,
"B-Digital_Cameras_Sensor_Size": 23,
"B-Digital_Cameras_Sensor_Type": 17,
"B-Flash_Memory_Cards_Capacity": 3,
"B-Flash_Memory_Cards_SD_Format": 15,
"B-Laptops_Battery_Life": 19,
"B-Laptops_Number_of_Cores": 5,
"B-Laptops_Processor_Brand": 21,
"B-Laptops_Processor_Speed": 1,
"B-Laptops_Resolution": 7,
"B-Laptops_Screen_Size": 9,
"I-Digital_Cameras_Optical_Zoom": 12,
"I-Digital_Cameras_Resolution": 14,
"I-Digital_Cameras_Sensor_Size": 24,
"I-Digital_Cameras_Sensor_Type": 18,
"I-Flash_Memory_Cards_Capacity": 4,
"I-Flash_Memory_Cards_SD_Format": 16,
"I-Laptops_Battery_Life": 20,
"I-Laptops_Number_of_Cores": 6,
"I-Laptops_Processor_Brand": 22,
"I-Laptops_Processor_Speed": 2,
"I-Laptops_Resolution": 8,
"I-Laptops_Screen_Size": 10,
"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
}