File size: 2,153 Bytes
4771cc8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "_name_or_path": "/media/bramiozo/Storage2/DATA/NER/DT4H_results/NL/CardioBerta_clinical/multilabel_iob_128_paragraph/fold_7",
  "architectures": [
    "RobertaForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bos_token_id": 0,
  "classifier_dropout": null,
  "eos_token_id": 2,
  "freeze_backbone": false,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "O",
    "1": "B-MEDICATION",
    "2": "I-MEDICATION",
    "3": "B-PROCEDURE",
    "4": "I-PROCEDURE",
    "5": "B-SYMPTOM",
    "6": "I-SYMPTOM",
    "7": "B-DISEASE",
    "8": "I-DISEASE"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-DISEASE": 7,
    "B-MEDICATION": 1,
    "B-PROCEDURE": 3,
    "B-SYMPTOM": 5,
    "I-DISEASE": 8,
    "I-MEDICATION": 2,
    "I-PROCEDURE": 4,
    "I-SYMPTOM": 6,
    "O": 0
  },
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 514,
  "model_arguments": {
    "classifier_dropout": null,
    "freeze_backbone": false,
    "max_length": 128
  },
  "model_type": "roberta",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 1,
  "position_embedding_type": "absolute",
  "torch_dtype": "bfloat16",
  "training_arguments": {
    "eval_strategy": "epoch",
    "fp16": true,
    "gradient_accumulation_steps": 1,
    "learning_rate": 1e-05,
    "logging_dir": "/media/bramiozo/Storage2/DATA/NER/DT4H_results/NL/CardioBerta_clinical/multilabel_iob_128_paragraph/fold_7/logs",
    "logging_steps": 256,
    "logging_strategy": "steps",
    "metric_for_best_model": "f1_macro",
    "num_train_epochs": 20,
    "output_dir": "/media/bramiozo/Storage2/DATA/NER/DT4H_results/NL/CardioBerta_clinical/multilabel_iob_128_paragraph/fold_7",
    "per_device_eval_batch_size": 48,
    "per_device_train_batch_size": 48,
    "report_to": "tensorboard",
    "run_name": "CardioNER",
    "save_strategy": "best",
    "save_total_limit": 1,
    "use_cpu": false,
    "weight_decay": 0.0001
  },
  "transformers_version": "4.48.0",
  "type_vocab_size": 1,
  "use_cache": true,
  "vocab_size": 52000
}