summaryrefslogtreecommitdiff
path: root/training/conf/model/lit_vqvae.yaml
blob: 90780b787c2bd5884aa9d13789e861852c208f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# @package _group_
type: LitVQVAEModel
args:
    optimizer:
        type: MADGRAD
        args:
            lr: 1.0e-3
            momentum: 0.9
            weight_decay: 0
            eps: 1.0e-6
    lr_scheduler:
        type: OneCycleLR
        args:
            interval: step
            max_lr: 1.0e-3
            three_phase: true
            epochs: 64
            steps_per_epoch: 633 # num_samples / batch_size
    criterion:
        type: MSELoss
        args:
            reduction: mean
    monitor: val_loss
    mapping: sentence_piece