MSey commited on
Commit
3f2058f
·
verified ·
1 Parent(s): f1b1237

Upload BertForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/jovyan/work/Ca-Test/_table_CaBERT_0003_gbert-base_fl32/checkpoint-15852",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-DIAGNOSIS",
14
+ "2": "I-DIAGNOSIS",
15
+ "3": "B-DIAGNOSTIC",
16
+ "4": "I-DIAGNOSTIC",
17
+ "5": "B-DRUG",
18
+ "6": "I-DRUG",
19
+ "7": "B-MEDICAL_FINDING",
20
+ "8": "I-MEDICAL_FINDING",
21
+ "9": "B-THERAPY",
22
+ "10": "I-THERAPY"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "B-DIAGNOSIS": 1,
28
+ "B-DIAGNOSTIC": 3,
29
+ "B-DRUG": 5,
30
+ "B-MEDICAL_FINDING": 7,
31
+ "B-THERAPY": 9,
32
+ "I-DIAGNOSIS": 2,
33
+ "I-DIAGNOSTIC": 4,
34
+ "I-DRUG": 6,
35
+ "I-MEDICAL_FINDING": 8,
36
+ "I-THERAPY": 10,
37
+ "O": 0
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "max_position_embeddings": 512,
41
+ "model_type": "bert",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 0,
45
+ "position_embedding_type": "absolute",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.45.0.dev0",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 31102
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fd7b87bd3e72c87e4ce2c20b8448d6cae8d16589a4a6779ed6f31837243fb2b
3
+ size 437405532