nemo_rl.data.hf_datasets.geometry3k
#
Module Contents#
Classes#
Functions#
Format the Geometry3K dataset into an OpenAI-API-like message log. |
|
API#
- nemo_rl.data.hf_datasets.geometry3k.format_geometry3k_dataset(
- example: dict[str, Any],
- return_pil: bool = False,
Format the Geometry3K dataset into an OpenAI-API-like message log.
- nemo_rl.data.hf_datasets.geometry3k.prepare_geometry3k_dataset(
- split: str = 'train',
- task_name: str = 'geometry3k',
- class nemo_rl.data.hf_datasets.geometry3k.Geometry3KDataset(
- split: str = 'train',
- prompt_file: Optional[str] = None,
Initialization
Simple wrapper around the Geometry3K dataset.
- Parameters:
split – The split of the dataset to use.
prompt_file – The file containing the prompt for the dataset.