{ | |
"_name_or_path": "/data/wangfeng/bert_model/distilbert-base-uncased", | |
"activation": "gelu", | |
"architectures": [ | |
"DistilBertForTokenClassification" | |
], | |
"attention_dropout": 0.1, | |
"dim": 768, | |
"dropout": 0.1, | |
"hidden_dim": 3072, | |
"id2label": { | |
"0": "O", | |
"1": "B-corporation", | |
"2": "I-corporation", | |
"3": "B-creative-work", | |
"4": "I-creative-work", | |
"5": "B-group", | |
"6": "I-group", | |
"7": "B-location", | |
"8": "I-location", | |
"9": "B-person", | |
"10": "I-person", | |
"11": "B-product", | |
"12": "I-product" | |
}, | |
"initializer_range": 0.02, | |
"label2id": { | |
"B-corporation": 1, | |
"B-creative-work": 3, | |
"B-group": 5, | |
"B-location": 7, | |
"B-person": 9, | |
"B-product": 11, | |
"I-corporation": 2, | |
"I-creative-work": 4, | |
"I-group": 6, | |
"I-location": 8, | |
"I-person": 10, | |
"I-product": 12, | |
"O": 0 | |
}, | |
"max_position_embeddings": 512, | |
"model_type": "distilbert", | |
"n_heads": 12, | |
"n_layers": 6, | |
"pad_token_id": 0, | |
"qa_dropout": 0.1, | |
"seq_classif_dropout": 0.2, | |
"sinusoidal_pos_embds": false, | |
"tie_weights_": true, | |
"torch_dtype": "float32", | |
"transformers_version": "4.27.4", | |
"vocab_size": 30522 | |
} | |