|
{
|
|
"_name_or_path": "./pretrained-models/TCMRoBERTa",
|
|
"architectures": [
|
|
"RobertaForTokenClassification"
|
|
],
|
|
"attention_probs_dropout_prob": 0.1,
|
|
"bos_token_id": 0,
|
|
"classifier_dropout": null,
|
|
"eos_token_id": 2,
|
|
"gradient_checkpointing": false,
|
|
"hidden_act": "gelu",
|
|
"hidden_dropout_prob": 0.1,
|
|
"hidden_size": 768,
|
|
"id2label": {
|
|
"0": "O",
|
|
"1": "B-\u6765\u6e90",
|
|
"2": "I-\u6765\u6e90",
|
|
"3": "B-\u65b9\u5242",
|
|
"4": "I-\u65b9\u5242",
|
|
"5": "B-\u8bc1\u578b",
|
|
"6": "I-\u8bc1\u578b",
|
|
"7": "B-\u75c5\u540d",
|
|
"8": "I-\u75c5\u540d",
|
|
"9": "B-\u75c7\u72b6",
|
|
"10": "I-\u75c7\u72b6",
|
|
"11": "B-\u672c\u8349",
|
|
"12": "I-\u672c\u8349"
|
|
},
|
|
"initializer_range": 0.02,
|
|
"intermediate_size": 3072,
|
|
"label2id": {
|
|
"B-\u65b9\u5242": 3,
|
|
"B-\u672c\u8349": 11,
|
|
"B-\u6765\u6e90": 1,
|
|
"B-\u75c5\u540d": 7,
|
|
"B-\u75c7\u72b6": 9,
|
|
"B-\u8bc1\u578b": 5,
|
|
"I-\u65b9\u5242": 4,
|
|
"I-\u672c\u8349": 12,
|
|
"I-\u6765\u6e90": 2,
|
|
"I-\u75c5\u540d": 8,
|
|
"I-\u75c7\u72b6": 10,
|
|
"I-\u8bc1\u578b": 6,
|
|
"O": 0
|
|
},
|
|
"layer_norm_eps": 1e-05,
|
|
"max_position_embeddings": 514,
|
|
"model_type": "roberta",
|
|
"num_attention_heads": 12,
|
|
"num_hidden_layers": 12,
|
|
"pad_token_id": 1,
|
|
"position_embedding_type": "absolute",
|
|
"tokenizer_class": "BertTokenizer",
|
|
"torch_dtype": "float32",
|
|
"transformers_version": "4.26.1",
|
|
"type_vocab_size": 1,
|
|
"use_cache": true,
|
|
"vocab_size": 26318
|
|
}
|
|
|