nemo_automodel.components.models.d1.vl_model
nemo_automodel.components.models.d1.vl_model
D1-3B causal image/text backbone with its released tied vocabulary readout.
Module Contents
Classes
API
Bases: HFCheckpointingMixin, HFLfm2VlForConditionalGeneration
D1-3B’s chain execution, using HF vision and native precision-correct LFM2.
Questions are independent causal chains. The release’s shared-trunk tree batching is an inference optimization and is not used by this training path. Parameter names and the checkpoint’s input/output tying policy are retained. Ordinary LFM2-VL checkpoints retain the inherited HuggingFace generation, cache, forward-output and image-feature interfaces.
Device holding the text embedding table.
Dtype of the text embedding table.
Return the released text embedding table.
Return the vocabulary projection, honoring the checkpoint’s tying policy.
Prepare the released answer-alias adapter for text-only adaptation.
Parameters:
Publisher-encoded questions used to select answer vocabulary rows.
Returns: D1CausalTextReadout
Final-token feature extractor and zero-initialized answer-row adapter.
Replace and retie the text embedding table.
Select D1 arithmetic only for the publisher’s explicit D1 model mapping.
Honor the checkpoint’s tied or independently initialized vocabulary head.