mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-27 08:28:46 +00:00
33 lines
512 B
TOML
33 lines
512 B
TOML
[mock_callback]
|
|
on_batch_end_interval = "3:step"
|
|
on_batch_end_seed = 42
|
|
on_optimizer_step_interval = "2:iteration"
|
|
|
|
|
|
[mock_model]
|
|
requires_grad = true
|
|
use_activation = true
|
|
|
|
[clock]
|
|
verbose = false
|
|
|
|
[training]
|
|
duration = "100:epoch"
|
|
seed = 0
|
|
device = "cpu"
|
|
dtype = "float32"
|
|
gradient_accumulation = "4:step"
|
|
gradient_clipping_max_norm = 1.0
|
|
|
|
[data_loader]
|
|
batch_size = 4
|
|
|
|
[optimizer]
|
|
optimizer = "SGD"
|
|
learning_rate = 1
|
|
|
|
[lr_scheduler]
|
|
type = "ConstantLR"
|
|
update_interval = "1:iteration"
|
|
warmup = "20:iteration"
|