cheesechaser.datapool.nozomi
This module provides a data pool implementation for Nozomi datasets.
It extends the functionality of the IncrementIDDataPool class to specifically handle Nozomi datasets stored in a Hugging Face repository. The module defines a constant for the repository name and a class that initializes the data pool with the appropriate repository and revision information.
NozomiDataPool
- class cheesechaser.datapool.nozomi.NozomiDataPool(revision: str = 'main')[source]
A data pool class specifically designed for Nozomi datasets.
This class inherits from IncrementIDDataPool and initializes it with the Nozomi-specific repository information. It provides a simple way to create a data pool for Nozomi datasets with optional revision specification.
- Parameters:
revision (str) – The revision of the Nozomi dataset to use, defaults to ‘main’
- Usage:
>>> nozomi_pool = NozomiDataPool() # Uses the 'main' revision >>> nozomi_pool_dev = NozomiDataPool(revision='dev') # Uses the 'dev' revision