-
Notifications
You must be signed in to change notification settings - Fork 8
/
sample_sweep.yaml
66 lines (66 loc) · 1.18 KB
/
sample_sweep.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
program: train.py
method: random
metric:
name: Test Loss
goal: minimize
parameters:
seed:
distribution: int_uniform
min: 1
max: 9999
learning_rate:
value: 2e-4
weight_decay:
value: 1e-6
pretrained:
value: jcblaise/electra-tagalog-small-cased-discriminator
train_data:
value: data/hatespeech/train.csv
valid_data:
value: data/hatespeech/valid.csv
test_data:
value: data/hatespeech/test.csv
text_columns:
value: text
label_columns:
value: label
save_cache:
value: false
checkpoint:
value: model.pt
do_train:
value: true
do_eval:
value: true
msl:
value: 128
epochs:
value: 3
add_token:
value: '[LINK],[MENTION],[HASHTAG]'
data_pct:
value: 1.0
batch_size:
value: 32
warmup_pct:
value: 0.1
random_init:
value: false
accumulation:
value: 1
adam_epsilon:
value: 1e-6
use_scheduler:
value: true
retokenize_data:
value: false
no_cuda:
value: false
dont_save:
value: false
use_wandb:
value: true
wandb_username:
value: username
wandb_project_name:
value: project