chrisvoncsefalvay commited on
Commit
e619e01
·
verified ·
1 Parent(s): a879755

Upload DistilBertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +45 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "No event",
13
+ "1": "ER_VISIT",
14
+ "2": "ER_VISIT, HOSPITAL",
15
+ "3": "DIED",
16
+ "4": "HOSPITAL",
17
+ "5": "ER_VISIT, HOSPITAL, DIED",
18
+ "6": "HOSPITAL, DIED",
19
+ "7": "ER_VISIT, DIED"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "label2id": {
23
+ "DIED": 3,
24
+ "ER_VISIT": 1,
25
+ "ER_VISIT, DIED": 7,
26
+ "ER_VISIT, HOSPITAL": 2,
27
+ "ER_VISIT, HOSPITAL, DIED": 5,
28
+ "HOSPITAL": 4,
29
+ "HOSPITAL, DIED": 6,
30
+ "No event": 0
31
+ },
32
+ "max_position_embeddings": 512,
33
+ "model_type": "distilbert",
34
+ "n_heads": 12,
35
+ "n_layers": 6,
36
+ "pad_token_id": 0,
37
+ "problem_type": "single_label_classification",
38
+ "qa_dropout": 0.1,
39
+ "seq_classif_dropout": 0.2,
40
+ "sinusoidal_pos_embds": false,
41
+ "tie_weights_": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.37.1",
44
+ "vocab_size": 30522
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78f0543d3f809eab5809f95e26034dca336707eabcb8231cb139e5d43293cbe4
3
+ size 267851024