system's picture
system HF staff
Update config.json
6304d27
raw
history blame
1.97 kB
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-CRD",
"1": "B-DAT",
"2": "B-EVT",
"3": "B-FAC",
"4": "B-GPE",
"5": "B-LAN",
"6": "B-LAW",
"7": "B-LOC",
"8": "B-MON",
"9": "B-NOR",
"10": "B-ORD",
"11": "B-ORG",
"12": "B-PER",
"13": "B-PRC",
"14": "B-PRD",
"15": "B-QTY",
"16": "B-REG",
"17": "B-TIM",
"18": "B-WOA",
"19": "I-CRD",
"20": "I-DAT",
"21": "I-EVT",
"22": "I-FAC",
"23": "I-GPE",
"24": "I-LAN",
"25": "I-LAW",
"26": "I-LOC",
"27": "I-MON",
"28": "I-NOR",
"29": "I-ORD",
"30": "I-ORG",
"31": "I-PER",
"32": "I-PRC",
"33": "I-PRD",
"34": "I-QTY",
"35": "I-REG",
"36": "I-TIM",
"37": "I-WOA",
"38": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CRD": "0",
"B-DAT": "1",
"B-EVT": "2",
"B-FAC": "3",
"B-GPE": "4",
"B-LAN": "5",
"B-LAW": "6",
"B-LOC": "7",
"B-MON": "8",
"B-NOR": "9",
"B-ORD": "10",
"B-ORG": "11",
"B-PER": "12",
"B-PRC": "13",
"B-PRD": "14",
"B-QTY": "15",
"B-REG": "16",
"B-TIM": "17",
"B-WOA": "18",
"I-CRD": "19",
"I-DAT": "20",
"I-EVT": "21",
"I-FAC": "22",
"I-GPE": "23",
"I-LAN": "24",
"I-LAW": "25",
"I-LOC": "26",
"I-MON": "27",
"I-NOR": "28",
"I-ORD": "29",
"I-ORG": "30",
"I-PER": "31",
"I-PRC": "32",
"I-PRD": "33",
"I-QTY": "34",
"I-REG": "35",
"I-TIM": "36",
"I-WOA": "37",
"O": "38"
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"type_vocab_size": 2,
"vocab_size": 32000
}