agr505 commited on
Commit
ed1ca37
·
1 Parent(s): f5cfb44

Upload BertForSequenceClassification (#1)

Browse files

- Upload BertForSequenceClassification (e043dbb7a6dc06c3690dd91aad4a3dd228f48cb1)

Files changed (2) hide show
  1. config.json +40 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bvanaken/clinical-assertion-negation-bert",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "text_classification",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.15,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "PRESENT",
15
+ "1": "ABSENT",
16
+ "2": "POSSIBLE"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "ABSENT": 1,
22
+ "POSSIBLE": 2,
23
+ "PRESENT": 0
24
+ },
25
+ "language": "english",
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "name": "Bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.28.0",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 28997
40
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9ed84fc44e6619e2639933c0deb5bca23b96c2087b4aebc67c444a2e216dda2
3
+ size 433323381