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