File size: 1,940 Bytes
57f84df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model_name_or_path": "pretrained/ClinicalplusXLNet/",
  "tokenizer_name": "yikuan8/Clinical-Longformer",
  "output_dir": "../../model/",
  "overwrite_output_dir": true,

  "task_name": "mimic3-50",
  "max_seq_length": 4096,
  "train_file": "../../data/mimic3/50/train_data_50_level_1_new_combined.csv",
  "validation_file": "../../data/mimic3/50/dev_data_50_level_1_new_combined.csv",
  "test_file": "../../data/mimic3/50/test_data_50_level_1_new_combined.csv",
  "label_dictionary_file": "../../data/mimic3/50/labels_dictionary_50_level_1.csv",
  "ignore_keys_for_eval": ["preds", "label_attention_weights", "chunk_attention_weights"],
  "use_cached_datasets": true,
  "data_segmented": false,
  "lazy_loading": false,

  "d_model": 768,
  "dropout": 0.1,
  "dropout_att": 0.1,
  "num_chunks_per_document": 1,
  "transformer_layer_update_strategy": "all",
  "use_code_representation": false,
  "multi_head_attention": false,
  "chunk_attention": false,
  "multi_head_chunk_attention": false,
  "linear_init_mean": 0.0,
  "linear_init_std": 0.03,
  "document_pooling_strategy": "mean",

  "do_train": true,
  "do_eval": true,
  "do_predict": true,
  "evaluation_strategy": "steps",
  "per_device_train_batch_size": 4,
  "per_device_eval_batch_size": 4,
  "gradient_accumulation_steps": 2,
  "learning_rate": 5e-5,
  "weight_decay": 0.1,
  "num_train_epochs": 100,
  "max_steps": 10500,
  "warmup_steps": 500,
  "log_level": "error",
  "logging_strategy": "steps",
  "logging_steps": 500,
  "save_strategy": "steps",
  "save_steps": 500,
  "seed": 2022,
  "dataloader_drop_last": false,
  "disable_tqdm": false,
  "label_names": ["targets"],
  "load_best_model_at_end": false,
  "metric_for_best_model": "micro_f1",
  "greater_is_better": true,
  "remove_unused_columns": false,
  "report_to": "none",
  "num_hidden_layers": 16,
  "resume_from_checkpoint": "C:/Users/mkanneganti/Downloads/new/model/checkpoint-10000-Long LAT 50_5e-5"
}