DeBERTa-V2-FT-EMR-data / config.json
ShayDuane's picture
On branch main
5bb6671
{
"_name_or_path": "/workspace/shuaiqi/Model/Erlangshen-DeBERTa-v2-710M-Chinese",
"architectures": [
"DebertaV2ForTokenClassification"
],
"attention_head_size": 64,
"attention_probs_dropout_prob": 0.1,
"conv_act": "gelu",
"conv_kernel_size": 3,
"finetuning_task": "text_segment",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1536,
"id2label": {
"0": "B-MEDICAL",
"1": "I-MEDICAL",
"2": "B-OVERVIEW",
"3": "I-OVERVIEW"
},
"initializer_range": 0.02,
"intermediate_size": 6144,
"label2id": {
"B-MEDICAL": 0,
"B-OVERVIEW": 2,
"I-MEDICAL": 1,
"I-OVERVIEW": 3
},
"layer_norm_eps": 1e-07,
"max_position_embeddings": 1024,
"max_relative_positions": -1,
"model_type": "deberta-v2",
"norm_rel_ebd": "layer_norm",
"num_attention_heads": 24,
"num_hidden_layers": 24,
"pad_token_id": 0,
"pooler_dropout": 0,
"pooler_hidden_act": "gelu",
"pooler_hidden_size": 1536,
"pos_att_type": [
"p2c",
"c2p"
],
"position_biased_input": false,
"position_buckets": 256,
"relative_attention": true,
"share_att_key": true,
"torch_dtype": "float32",
"transformers_version": "4.35.0.dev0",
"type_vocab_size": 0,
"vocab_size": 12800
}