univi.refinement.RefinementConfig#
- class univi.refinement.RefinementConfig(max_epochs=1000, warmup_epochs=10, lr_head=0.0001, lr_encoder=1e-05, weight_decay_head=1e-06, weight_decay_encoder=1e-06, latent_weight=0.0, replay_weight=0.0, replay_epoch=10000, patience=50, min_delta=0.0, grad_clip=5.0, log_every=25)[source]#
Bases:
objectSettings for head warmup followed by encoder/head fine-tuning.
max_epochsincludes warmup.latent_weightanchors posterior means to an eval-mode copy of the original reference.replay_weightadds the original generative objective on a separate paired training loader.- __init__(max_epochs=1000, warmup_epochs=10, lr_head=0.0001, lr_encoder=1e-05, weight_decay_head=1e-06, weight_decay_encoder=1e-06, latent_weight=0.0, replay_weight=0.0, replay_epoch=10000, patience=50, min_delta=0.0, grad_clip=5.0, log_every=25)#
Methods
__init__([max_epochs, warmup_epochs, ...])Attributes
grad_cliplatent_weightlog_everylr_encoderlr_headmax_epochsmin_deltapatiencereplay_epochreplay_weightwarmup_epochsweight_decay_encoderweight_decay_head