-
Notifications
You must be signed in to change notification settings - Fork 0
/
ner_config.yaml
52 lines (40 loc) · 1018 Bytes
/
ner_config.yaml
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
upload_artifact: false
checkpoint: ~
cuda: 0
checkpoint_path: checkpoints
name: distemist-ner
link: false
run_full_training: false
wand_db_project: 'distemist-ner'
# Default training parameters
output_file : "models"
random_seed: 42
label_all_tokens: false
# Hugging Face training parameters
base_model_checkpoint : PlanTL-GOB-ES/roberta-base-biomedical-clinical-es
batch_size: 32
num_train_epochs: 100
fp16: true
lr_scheduler_type: "linear"
warmup_ratio: 0.0
gradient_checkpointing: true
weight_decay: 0.2
learning_rate: 1e-5
label_smoothing_factor: 0.0
# Checkpointing
save_steps: 10000
keep_all_checkpoints: false
# Hydra settings
version: 1
handlers:
console:
class: rich.logging.RichHandler
disable_existing_loggers: false
output_base_path: ./outputs/${name}
date_run: ${name}/${now:%Y-%m-%d_%H-%M-%S}
hydra:
run:
dir: ${output_base_path}/${now:%Y-%m-%d_%H-%M-%S}
sweep:
dir: ./multirun/${name}/${now:%Y-%m-%d_%H-%M-%S}
subdir: ${hydra.job.num}_${hydra.job.override_dirname}