|
{ |
|
"_name_or_path": "bert-base-chinese", |
|
"architectures": [ |
|
"BertForSequenceClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"classifier_dropout": null, |
|
"directionality": "bidi", |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "name", |
|
"1": "ssn", |
|
"2": "phone", |
|
"3": "email", |
|
"4": "date_of_birth", |
|
"5": "job", |
|
"6": "gender", |
|
"7": "nickname", |
|
"8": "address", |
|
"9": "company", |
|
"10": "bank", |
|
"11": "username", |
|
"12": "password", |
|
"13": "account", |
|
"14": "search", |
|
"15": "date", |
|
"16": "number", |
|
"17": "word", |
|
"18": "uri", |
|
"19": "yzm" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"account": 13, |
|
"address": 8, |
|
"bank": 10, |
|
"company": 9, |
|
"date": 15, |
|
"date_of_birth": 4, |
|
"email": 3, |
|
"gender": 6, |
|
"job": 5, |
|
"name": 0, |
|
"nickname": 7, |
|
"number": 16, |
|
"password": 12, |
|
"phone": 2, |
|
"search": 14, |
|
"ssn": 1, |
|
"uri": 18, |
|
"username": 11, |
|
"word": 17, |
|
"yzm": 19 |
|
}, |
|
"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", |
|
"transformers_version": "4.35.2", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 21128 |
|
} |
|
|