| { |
| "_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": "0", |
| "1": "B_address", |
| "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", |
| "2": "I_address", |
| "20": "I_scene", |
| "3": "B_book", |
| "4": "I_book", |
| "5": "B_company", |
| "6": "I_company", |
| "7": "B_game", |
| "8": "I_game", |
| "9": "B_government" |
| }, |
| "initializer_range": 0.02, |
| "intermediate_size": 3072, |
| "label2id": { |
| "0": 0, |
| "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 |
| }, |
| "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.19.2", |
| "type_vocab_size": 2, |
| "use_cache": true, |
| "vocab_size": 21128 |
| } |
|
|