Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoyi-wu committed Aug 13, 2023
1 parent a1ac60b commit ccca86f
Show file tree
Hide file tree
Showing 7 changed files with 58,039 additions and 40 deletions.
27 changes: 27 additions & 0 deletions Quick_demo/MedKEBERT/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"_name_or_path": "xmcmic/Med-KEBERT",
"architectures": [
"BertModel"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_hidden_states": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}
7 changes: 7 additions & 0 deletions Quick_demo/MedKEBERT/special_tokens_map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cls_token": "[CLS]",
"mask_token": "[MASK]",
"pad_token": "[PAD]",
"sep_token": "[SEP]",
"unk_token": "[UNK]"
}
Loading

0 comments on commit ccca86f

Please sign in to comment.