EvSys

SDFTConfig

Config for :class:SDFT. Inherits the shared training/save/eval knobs from :class:BaseAlgorithmConfig; adds SDFT-only fields.

Attributes

attributetopkint
= 20
attributeteacher_sync_everyint | None
= None
attributemax_context_lengthint
= 2048
attributedemo_templatestr
= DEFAULT_DEMO_TEMPLATE
attributesystem_promptstr | None
= None
attributeskip_first_n_tokensint
= 3
attributeuser_templatestr
= '{question}'
attributemax_tokensint
= 256
attributetemperaturefloat
= 1.0

On this page