Mojtaba aka Omid Rohanian commited on
Commit
3bcb351
1 Parent(s): fe6daca

ClinicalDistilBERT model and tokenizer

Browse files
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "clinical-models/models/ClinicalDistilBERT/final/model",
3
+ "activation": "gelu",
4
+ "adapters": {
5
+ "adapters": {},
6
+ "config_map": {},
7
+ "fusion_config_map": {},
8
+ "fusions": {}
9
+ },
10
+ "architectures": [
11
+ "DistilBertForMaskedLM"
12
+ ],
13
+ "attention_dropout": 0.1,
14
+ "dim": 768,
15
+ "dropout": 0.1,
16
+ "hidden_dim": 3072,
17
+ "initializer_range": 0.02,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "distilbert",
20
+ "n_heads": 12,
21
+ "n_layers": 6,
22
+ "output_past": true,
23
+ "pad_token_id": 0,
24
+ "qa_dropout": 0.1,
25
+ "seq_classif_dropout": 0.2,
26
+ "sinusoidal_pos_embds": false,
27
+ "tie_weights_": true,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.17.0",
30
+ "vocab_size": 28996
31
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb1dc80bc92fa1693723ff05a194d3e5f8700dbc66758a100be42ff7ec0fda90
3
+ size 263292335
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-uncased", "tokenizer_class": "BertTokenizer"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff