|
{ |
|
"_name_or_path": "models/chinese_punctuator", |
|
"activation": "gelu", |
|
"architectures": [ |
|
"DistilBertForTokenClassification" |
|
], |
|
"attention_dropout": 0.1, |
|
"dim": 768, |
|
"dropout": 0.2, |
|
"hidden_dim": 3072, |
|
"id2label": { |
|
"0": "C_EXLAMATIONMARK", |
|
"1": "C_DUNHAO", |
|
"2": "C_COMMA", |
|
"3": "C_QUESTIONMARK", |
|
"4": "O", |
|
"5": "C_PERIOD" |
|
}, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"C_COMMA": 2, |
|
"C_DUNHAO": 1, |
|
"C_EXLAMATIONMARK": 0, |
|
"C_PERIOD": 5, |
|
"C_QUESTIONMARK": 3, |
|
"O": 4 |
|
}, |
|
"max_position_embeddings": 512, |
|
"model_type": "distilbert", |
|
"n_heads": 12, |
|
"n_layers": 6, |
|
"output_hidden_states": true, |
|
"pad_token_id": 0, |
|
"qa_dropout": 0.1, |
|
"seq_classif_dropout": 0.2, |
|
"sinusoidal_pos_embds": true, |
|
"tie_weights_": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.12.5", |
|
"vocab_size": 21128 |
|
} |
|
|