> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/automodel/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/automodel/_mcp/server.

# nemo_automodel.components.datasets.llm.seq_cls

## Module Contents

### Classes

| Name                                                                     | Description                                       |
| ------------------------------------------------------------------------ | ------------------------------------------------- |
| [`GLUE_MRPC`](#nemo_automodel-components-datasets-llm-seq_cls-GLUE_MRPC) | GLUE MRPC dataset (sentence pair classification). |

### API

```python
class nemo_automodel.components.datasets.llm.seq_cls.GLUE_MRPC(
    tokenizer,
    split: str = 'train',
    num_samples_limit: typing.Optional[int] = None,
    trust_remote_code: bool = True,
    max_length: typing.Optional[int] = 256
)
```

GLUE MRPC dataset (sentence pair classification).

Produces tokenized inputs with both sentence1 and sentence2 using the provided tokenizer.

```python
nemo_automodel.components.datasets.llm.seq_cls.GLUE_MRPC.__getitem__(
    idx
)
```

```python
nemo_automodel.components.datasets.llm.seq_cls.GLUE_MRPC.__len__()
```