MSey commited on
Commit
bf07ca5
·
verified ·
1 Parent(s): cc63505

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
+ "dtype": "float32",
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-DRUG",
16
+ "4": "I-DRUG",
17
+ "5": "B-THERAPY",
18
+ "6": "I-THERAPY"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "B-DIAGNOSIS": 1,
24
+ "B-DRUG": 3,
25
+ "B-THERAPY": 5,
26
+ "I-DIAGNOSIS": 2,
27
+ "I-DRUG": 4,
28
+ "I-THERAPY": 6,
29
+ "O": 0
30
+ },
31
+ "layer_norm_eps": 1e-12,
32
+ "max_position_embeddings": 512,
33
+ "model_type": "bert",
34
+ "num_attention_heads": 8,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 0,
37
+ "position_embedding_type": "absolute",
38
+ "transformers_version": "4.57.1",
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:24557838ec701b15512bd8a1c98c0775bef0695352f8dcc71b79bf0bd0e375a5
3
+ size 434007876