Commit
·
4b8c0c1
1
Parent(s):
8c9ce09
add model
Browse files- config.json +47 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/hivbert_V3_bodysite/0",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"id2label": {
|
12 |
+
"0": "periphery-tcell",
|
13 |
+
"1": "periphery-monocyte",
|
14 |
+
"2": "CNS",
|
15 |
+
"3": "breast-milk",
|
16 |
+
"4": "female-genitals",
|
17 |
+
"5": "male-genitals",
|
18 |
+
"6": "gastric",
|
19 |
+
"7": "lung",
|
20 |
+
"8": "organ"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 4096,
|
24 |
+
"label2id": {
|
25 |
+
"CNS": 2,
|
26 |
+
"breast-milk": 3,
|
27 |
+
"female-genitals": 4,
|
28 |
+
"gastric": 6,
|
29 |
+
"lung": 7,
|
30 |
+
"male-genitals": 5,
|
31 |
+
"organ": 8,
|
32 |
+
"periphery-monocyte": 1,
|
33 |
+
"periphery-tcell": 0
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"max_position_embeddings": 40000,
|
37 |
+
"model_type": "bert",
|
38 |
+
"num_attention_heads": 16,
|
39 |
+
"num_hidden_layers": 30,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.16.2",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 30
|
47 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8f903af9db6aa0f2cc3e87c68eb8c76e3d066e3b9dde93cd3be76a5916358b0
|
3 |
+
size 1680270829
|