|
{ |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "O", |
|
"1": "B-address", |
|
"2": "I-address", |
|
"3": "B-book", |
|
"4": "I-book", |
|
"5": "B-company", |
|
"6": "I-company", |
|
"7": "B-game", |
|
"8": "I-game", |
|
"9": "B-government", |
|
"10": "I-government", |
|
"11": "B-movie", |
|
"12": "I-movie", |
|
"13": "B-name", |
|
"14": "I-name", |
|
"15": "B-organization", |
|
"16": "I-organization", |
|
"17": "B-position", |
|
"18": "I-position", |
|
"19": "B-scene", |
|
"20": "I-scene", |
|
"21": "S-address", |
|
"22": "S-book", |
|
"23": "S-company", |
|
"24": "S-game", |
|
"25": "S-government", |
|
"26": "S-movie", |
|
"27": "S-name", |
|
"28": "S-organization", |
|
"29": "S-position", |
|
"30": "S-scene", |
|
"31": "[PAD]" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-address": 1, |
|
"B-book": 3, |
|
"B-company": 5, |
|
"B-game": 7, |
|
"B-government": 9, |
|
"B-movie": 11, |
|
"B-name": 13, |
|
"B-organization": 15, |
|
"B-position": 17, |
|
"B-scene": 19, |
|
"I-address": 2, |
|
"I-book": 4, |
|
"I-company": 6, |
|
"I-game": 8, |
|
"I-government": 10, |
|
"I-movie": 12, |
|
"I-name": 14, |
|
"I-organization": 16, |
|
"I-position": 18, |
|
"I-scene": 20, |
|
"O": 0, |
|
"S-address": 21, |
|
"S-book": 22, |
|
"S-company": 23, |
|
"S-game": 24, |
|
"S-government": 25, |
|
"S-movie": 26, |
|
"S-name": 27, |
|
"S-organization": 28, |
|
"S-position": 29, |
|
"S-scene": 30, |
|
"[PAD]": 31 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "bert", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"pad_token_id": 0, |
|
"vocab_size": 21128 |
|
} |
|
|