wikiser-bert-base / config.json
taidng's picture
initial commit for wikiser-bert-base
da7b78c
raw
history blame
1.93 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": "B-Algorithm",
"1": "I-Algorithm",
"2": "B-Application",
"3": "I-Application",
"4": "B-Architecture",
"5": "I-Architecture",
"6": "B-Data_Structure",
"7": "I-Data_Structure",
"8": "B-Device",
"9": "I-Device",
"10": "B-Error_Name",
"11": "I-Error_Name",
"12": "B-General_Concept",
"13": "I-General_Concept",
"14": "B-Language",
"15": "I-Language",
"16": "B-Library",
"17": "I-Library",
"18": "B-License",
"19": "I-License",
"20": "B-Operating_System",
"21": "I-Operating_System",
"22": "B-Protocol",
"23": "I-Protocol",
"24": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Algorithm": 0,
"B-Application": 2,
"B-Architecture": 4,
"B-Data_Structure": 6,
"B-Device": 8,
"B-Error_Name": 10,
"B-General_Concept": 12,
"B-Language": 14,
"B-Library": 16,
"B-License": 18,
"B-Operating_System": 20,
"B-Protocol": 22,
"I-Algorithm": 1,
"I-Application": 3,
"I-Architecture": 5,
"I-Data_Structure": 7,
"I-Device": 9,
"I-Error_Name": 11,
"I-General_Concept": 13,
"I-Language": 15,
"I-Library": 17,
"I-License": 19,
"I-Operating_System": 21,
"I-Protocol": 23,
"O": 24
},
"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.28.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}