add model
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "saidhr20/pubmed-Roberta-text-classification",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "Anatomy [A]",
|
15 |
+
"1": "Organisms [B]",
|
16 |
+
"2": "Diseases [C]",
|
17 |
+
"3": "Chemicals and Drugs [D]",
|
18 |
+
"4": "Analytical, Diagnostic and Therapeutic Techniques, and Equipment [E]",
|
19 |
+
"5": "Psychiatry and Psychology [F]",
|
20 |
+
"6": "Phenomena and Processes [G]",
|
21 |
+
"7": "Disciplines and Occupations [H]",
|
22 |
+
"8": "Anthropology, Education, Sociology, and Social Phenomena [I]",
|
23 |
+
"9": "Technology, Industry, and Agriculture [J]",
|
24 |
+
"10": "Information Science [L]",
|
25 |
+
"11": "Named Groups [M]",
|
26 |
+
"12": "Health Care [N]",
|
27 |
+
"13": "Geographicals [Z]"
|
28 |
+
},
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"label2id": {
|
32 |
+
"Analytical, Diagnostic and Therapeutic Techniques, and Equipment [E]": 4,
|
33 |
+
"Anatomy [A]": 0,
|
34 |
+
"Anthropology, Education, Sociology, and Social Phenomena [I]": 8,
|
35 |
+
"Chemicals and Drugs [D]": 3,
|
36 |
+
"Disciplines and Occupations [H]": 7,
|
37 |
+
"Diseases [C]": 2,
|
38 |
+
"Geographicals [Z]": 13,
|
39 |
+
"Health Care [N]": 12,
|
40 |
+
"Information Science [L]": 10,
|
41 |
+
"Named Groups [M]": 11,
|
42 |
+
"Organisms [B]": 1,
|
43 |
+
"Phenomena and Processes [G]": 6,
|
44 |
+
"Psychiatry and Psychology [F]": 5,
|
45 |
+
"Technology, Industry, and Agriculture [J]": 9
|
46 |
+
},
|
47 |
+
"layer_norm_eps": 1e-05,
|
48 |
+
"max_position_embeddings": 514,
|
49 |
+
"model_type": "roberta",
|
50 |
+
"num_attention_heads": 12,
|
51 |
+
"num_hidden_layers": 6,
|
52 |
+
"pad_token_id": 1,
|
53 |
+
"position_embedding_type": "absolute",
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.20.1",
|
56 |
+
"type_vocab_size": 1,
|
57 |
+
"use_cache": true,
|
58 |
+
"vocab_size": 50265
|
59 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d073d15342773fc1c3741508af501c314eabb00201bd529ecd693df098bd4613
|
3 |
+
size 328554157
|