nemo_automodel.components.datasets.llm.xlam
nemo_automodel.components.datasets.llm.xlam
Module Contents
Classes
Functions
Data
API
Construction-time configuration for the xLAM function-calling dataset (tokenizer is a build arg).
Identifier for the HuggingFace dataset to load.
Flag reserved for future mixed-precision use (currently unused).
If set, limit the number of examples loaded from the split.
Optional padding strategy.
If set, pad/truncate each example to this length.
Which split of the dataset to load (e.g. train, validation).
Optional truncation strategy.
Build the xLAM :class:LazyMappedDataset from this :class:XlamConfig and a runtime tokenizer.
Convert xLAM answers field into OpenAI tool_calls messages.
Convert xLAM tool definitions into OpenAI tool schema.
Load and preprocess the xLAM function-calling dataset to OpenAI messages compatible with the bulbasaur chat template (tool-calling aware).