bert-finetuned-ner / config.json
tantb's picture
Training in progress, epoch 1
86e5e68 verified
raw
history blame
3.54 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-Flash_Memory_Cards_SD_Format",
"2": "I-Flash_Memory_Cards_SD_Format",
"3": "B-Laptops_Number_of_Cores",
"4": "I-Laptops_Number_of_Cores",
"5": "B-Laptops_Screen_Size",
"6": "I-Laptops_Screen_Size",
"7": "B-Laptops_Processor_Speed",
"8": "I-Laptops_Processor_Speed",
"9": "B-Flash_Memory_Cards_Capacity",
"10": "I-Flash_Memory_Cards_Capacity",
"11": "B-Digital_Cameras_Sensor_Size",
"12": "I-Digital_Cameras_Sensor_Size",
"13": "B-Digital_Cameras_Camera_Weight",
"14": "I-Digital_Cameras_Camera_Weight",
"15": "B-Laptops_Processor_Brand",
"16": "I-Laptops_Processor_Brand",
"17": "B-Laptops_Weight",
"18": "I-Laptops_Weight",
"19": "B-Digital_Cameras_Optical_Zoom",
"20": "I-Digital_Cameras_Optical_Zoom",
"21": "B-Digital_Cameras_Sensor_Type",
"22": "I-Digital_Cameras_Sensor_Type",
"23": "B-Digital_Cameras_Resolution",
"24": "I-Digital_Cameras_Resolution",
"25": "B-Laptops_Battery_Life",
"26": "I-Laptops_Battery_Life",
"27": "B-Laptops_Resolution",
"28": "I-Laptops_Resolution",
"29": "B-Flash_Memory_Cards_Format",
"30": "I-Flash_Memory_Cards_Format",
"31": "B-Laptops_Refresh_Rate",
"32": "I-Laptops_Refresh_Rate",
"33": "B-Flash_Memory_Cards_Memory_Stick_Format",
"34": "I-Flash_Memory_Cards_Memory_Stick_Format",
"35": "B-Digital_Cameras_Type",
"36": "I-Digital_Cameras_Type"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Digital_Cameras_Camera_Weight": 13,
"B-Digital_Cameras_Optical_Zoom": 19,
"B-Digital_Cameras_Resolution": 23,
"B-Digital_Cameras_Sensor_Size": 11,
"B-Digital_Cameras_Sensor_Type": 21,
"B-Digital_Cameras_Type": 35,
"B-Flash_Memory_Cards_Capacity": 9,
"B-Flash_Memory_Cards_Format": 29,
"B-Flash_Memory_Cards_Memory_Stick_Format": 33,
"B-Flash_Memory_Cards_SD_Format": 1,
"B-Laptops_Battery_Life": 25,
"B-Laptops_Number_of_Cores": 3,
"B-Laptops_Processor_Brand": 15,
"B-Laptops_Processor_Speed": 7,
"B-Laptops_Refresh_Rate": 31,
"B-Laptops_Resolution": 27,
"B-Laptops_Screen_Size": 5,
"B-Laptops_Weight": 17,
"I-Digital_Cameras_Camera_Weight": 14,
"I-Digital_Cameras_Optical_Zoom": 20,
"I-Digital_Cameras_Resolution": 24,
"I-Digital_Cameras_Sensor_Size": 12,
"I-Digital_Cameras_Sensor_Type": 22,
"I-Digital_Cameras_Type": 36,
"I-Flash_Memory_Cards_Capacity": 10,
"I-Flash_Memory_Cards_Format": 30,
"I-Flash_Memory_Cards_Memory_Stick_Format": 34,
"I-Flash_Memory_Cards_SD_Format": 2,
"I-Laptops_Battery_Life": 26,
"I-Laptops_Number_of_Cores": 4,
"I-Laptops_Processor_Brand": 16,
"I-Laptops_Processor_Speed": 8,
"I-Laptops_Refresh_Rate": 32,
"I-Laptops_Resolution": 28,
"I-Laptops_Screen_Size": 6,
"I-Laptops_Weight": 18,
"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
}