|
{ |
|
"_name_or_path": "bert-base-chinese", |
|
"architectures": [ |
|
"BertForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"directionality": "bidi", |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "O", |
|
"1": "B-17-want", |
|
"2": "I-17-want", |
|
"3": "B-18-not_want", |
|
"4": "I-18-not_want", |
|
"5": "B-19-tone", |
|
"6": "I-19-tone", |
|
"7": "B-20-quantifier", |
|
"8": "I-20-quantifier", |
|
"9": "B-21-ma?", |
|
"10": "I-21-ma?", |
|
"11": "B-22-shop_de", |
|
"12": "I-22-shop_de", |
|
"13": "B-23-can_want", |
|
"14": "I-23-can_want", |
|
"15": "B-24-exist", |
|
"16": "I-24-exist", |
|
"17": "B-25-can_not_want", |
|
"18": "I-25-can_not_want", |
|
"19": "B-28-have", |
|
"20": "I-28-have", |
|
"21": "B-29-not_have", |
|
"22": "I-29-not_have", |
|
"23": "B-30-highest_price", |
|
"24": "I-30-highest_price", |
|
"25": "B-31-lowest_price", |
|
"26": "I-31-lowest_price", |
|
"27": "B-32-most_popular", |
|
"28": "I-32-most_popular", |
|
"29": "B-34-number", |
|
"30": "I-34-number", |
|
"31": "B-35-ignore", |
|
"32": "I-35-ignore", |
|
"33": "B-36-split", |
|
"34": "I-36-split", |
|
"35": "B-38-and", |
|
"36": "I-38-and", |
|
"37": "B-39-add", |
|
"38": "I-39-add", |
|
"39": "B-41-not_add", |
|
"40": "I-41-not_add" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-17-want": 1, |
|
"B-18-not_want": 3, |
|
"B-19-tone": 5, |
|
"B-20-quantifier": 7, |
|
"B-21-ma?": 9, |
|
"B-22-shop_de": 11, |
|
"B-23-can_want": 13, |
|
"B-24-exist": 15, |
|
"B-25-can_not_want": 17, |
|
"B-28-have": 19, |
|
"B-29-not_have": 21, |
|
"B-30-highest_price": 23, |
|
"B-31-lowest_price": 25, |
|
"B-32-most_popular": 27, |
|
"B-34-number": 29, |
|
"B-35-ignore": 31, |
|
"B-36-split": 33, |
|
"B-38-and": 35, |
|
"B-39-add": 37, |
|
"B-41-not_add": 39, |
|
"I-17-want": 2, |
|
"I-18-not_want": 4, |
|
"I-19-tone": 6, |
|
"I-20-quantifier": 8, |
|
"I-21-ma?": 10, |
|
"I-22-shop_de": 12, |
|
"I-23-can_want": 14, |
|
"I-24-exist": 16, |
|
"I-25-can_not_want": 18, |
|
"I-28-have": 20, |
|
"I-29-not_have": 22, |
|
"I-30-highest_price": 24, |
|
"I-31-lowest_price": 26, |
|
"I-32-most_popular": 28, |
|
"I-34-number": 30, |
|
"I-35-ignore": 32, |
|
"I-36-split": 34, |
|
"I-38-and": 36, |
|
"I-39-add": 38, |
|
"I-41-not_add": 40, |
|
"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, |
|
"pooler_fc_size": 768, |
|
"pooler_num_attention_heads": 12, |
|
"pooler_num_fc_layers": 3, |
|
"pooler_size_per_head": 128, |
|
"pooler_type": "first_token_transform", |
|
"position_embedding_type": "absolute", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.18.0", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 21128 |
|
} |
|
|