Upload config.json with huggingface_hub
Browse files- config.json +50 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/media/bramiozo/Storage1/bramiozo/DEV/GIT/UPOD/CardioNER.nl/output/MedRoBERTa/multilabel_maxTL512_batch20_chunk512_epochs10_10CV_wIOB/fold_6",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-DISEASE",
|
17 |
+
"2": "I-DISEASE",
|
18 |
+
"3": "B-PROCEDURE",
|
19 |
+
"4": "I-PROCEDURE",
|
20 |
+
"5": "B-MEDICATION",
|
21 |
+
"6": "I-MEDICATION",
|
22 |
+
"7": "B-SYMPTOM",
|
23 |
+
"8": "I-SYMPTOM"
|
24 |
+
},
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"B-DISEASE": 1,
|
29 |
+
"B-MEDICATION": 5,
|
30 |
+
"B-PROCEDURE": 3,
|
31 |
+
"B-SYMPTOM": 7,
|
32 |
+
"I-DISEASE": 2,
|
33 |
+
"I-MEDICATION": 6,
|
34 |
+
"I-PROCEDURE": 4,
|
35 |
+
"I-SYMPTOM": 8,
|
36 |
+
"O": 0
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-12,
|
39 |
+
"max_position_embeddings": 514,
|
40 |
+
"model_type": "roberta",
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.48.1",
|
47 |
+
"type_vocab_size": 1,
|
48 |
+
"use_cache": true,
|
49 |
+
"vocab_size": 52000
|
50 |
+
}
|