MSey commited on
Commit
892e6d3
·
verified ·
1 Parent(s): eb866ef

Upload BertForTokenClassification

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