nemo_automodel.components.models.nemotron_decision.model
nemo_automodel.components.models.nemotron_decision.model
Native NemotronForDecision: a bidirectional Ministral 3 encoder with the decision readout head.
Nemotron 3.5 Decision checkpoints ship architectures: ["NemotronForDecision"] with remote code that needs a newer
Transformers than this repository pins. This class loads the same checkpoint natively: the encoder is
Ministral3BidirectionalModel (non-causal attention over the whole sequence) and the head keeps the checkpoint’s
weight name, diffusion_head (named after the checkpoint it was initialized from), so the safetensors load and
export without renaming.
Module Contents
Classes
Data
API
Bases: PreTrainedModel
Bidirectional Ministral 3 encoder plus a vocabulary head read at the decision mask token.
Read the sequence bidirectionally.
Parameters:
Token ids [batch, sequence].
Optional padding mask [batch, sequence].
Optional positions [batch, sequence]; defaults to 0..sequence-1.
Optional embeddings instead of input_ids.
Return the encoder’s last hidden state without projecting the
[batch, sequence, vocab] logits.
Passed to the encoder (use_cache is ignored; decision reads keep no cache).
Returns: BaseModelOutput | MaskedLMOutput
BaseModelOutput(last_hidden_state) or MaskedLMOutput(logits).
Token embeddings of the encoder.
The decision readout head.
Replace the encoder’s token embeddings.
Replace the decision readout head.
True for text Ministral 3 decision checkpoints (no vision tower, no quantization).