protomotions.agents.peft.sft_model module#
SFT model for PEFT adapters on a frozen discrete-token GPC prior.
- class protomotions.agents.peft.sft_model.DiscretePriorPEFTSFTModel(*args, **kwargs)[source]#
Bases:
DiscretePriorPEFTModelDiscrete-prior PEFT model used by the supervised SFT agent.
Rollout uses the frozen target encoder as the expert: encode the target motion into prior tokens, decode those tokens to an action, and store the tokens as supervision labels. Optimization replays the batch with teacher forcing and writes
latent_logitsfor the generic supervision loss.