nemo_automodel.components.models.mistral_large4.config
nemo_automodel.components.models.mistral_large4.config
Configuration for Mistral Large 4.
Module Contents
Classes
Functions
Data
API
Bases: PretrainedConfig
Native Large 4 contract read from the released Transformers config.
Vision settings are consumed by the conditional-generation class. The causal class remains text-only; draft execution is not enabled.
Read either the released Transformers config or a saved native config.
Parameters:
config.json contents. The released checkpoint nests
text and vision settings under text_config/vision_config;
configs saved by this class use the flat native fields.
Existing PretrainedConfig.from_dict overrides.
Returns: MistralLarge4Config | tuple[MistralLarge4Config, dict[str, ConfigValue]]
The configuration, plus unused kwargs when requested by the caller.
Reject settings that would silently change the checkpoint’s semantics.
Map the released Transformers composite config onto the native fields.
Resolve a nested JSON object at the checkpoint-format boundary.