nemo_automodel.components.datasets.llm.seq_cls
nemo_automodel.components.datasets.llm.seq_cls
Module Contents
Classes
API
GLUE MRPC dataset (sentence pair classification).
Produces tokenized inputs with both sentence1 and sentence2 using the provided tokenizer.
dataset
Dataclass
Construction-time configuration for :class:GLUE_MRPC.
accepts_tokenizer
max_length
Maximum tokenization length (None derives one from the tokenizer).
num_samples_limit
If set, limit the dataset to this many samples via slicing.
split
Dataset split to use (e.g. train, validation).
trust_remote_code
Forwarded to datasets.load_dataset.
Build a :class:GLUE_MRPC dataset from this :class:GLUE_MRPCConfig and a runtime tokenizer.