system's picture
system HF staff
Update config.json
59b4adb
raw
history blame
1.74 kB
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"do_sample": false,
"eos_token_ids": 0,
"finetuning_task": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-WRK",
"1": "I-PER",
"2": "I-LOC",
"3": "I-OBJ",
"4": "B-EVN",
"5": "I-EVN",
"6": "B-LOC",
"7": "B-MSR",
"8": "B-OBJ",
"9": "B-PRSWRK",
"10": "I-TME",
"11": "B-OBJORG",
"12": "I-MSR",
"13": "B-LOCPRS",
"14": "B-LOCORG",
"15": "B-TME",
"16": "I-WRK",
"17": "B-ORG",
"18": "B-PER",
"19": "B-ORGPRS",
"20": "I-ORG",
"21": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"B-EVN": 4,
"B-LOC": 6,
"B-LOCORG": 14,
"B-LOCPRS": 13,
"B-MSR": 7,
"B-OBJ": 8,
"B-OBJORG": 11,
"B-ORG": 17,
"B-ORGPRS": 19,
"B-PER": 18,
"B-PRSWRK": 9,
"B-TME": 15,
"B-WRK": 0,
"I-EVN": 5,
"I-LOC": 2,
"I-MSR": 12,
"I-OBJ": 3,
"I-ORG": 20,
"I-PER": 1,
"I-TME": 10,
"I-WRK": 16,
"O": 21
},
"layer_norm_eps": 1e-12,
"length_penalty": 1.0,
"max_length": 20,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_beams": 1,
"num_hidden_layers": 12,
"num_labels": 22,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_past": true,
"pad_token_id": 0,
"pruned_heads": {},
"repetition_penalty": 1.0,
"temperature": 1.0,
"top_k": 50,
"top_p": 1.0,
"torchscript": false,
"type_vocab_size": 2,
"use_bfloat16": false,
"vocab_size": 50325
}