cheesechaser.datapool.fancaps
This module provides a data pool implementation for the Fancaps dataset.
It includes a class FancapsDataPool which extends the IncrementIDDataPool base class. The module is designed to facilitate access to the Fancaps dataset, which is hosted on the Hugging Face Hub.
The constant _FANCAPS_REPO defines the repository ID for the Fancaps dataset.
FancapsDataPool
- class cheesechaser.datapool.fancaps.FancapsDataPool(revision: str = 'main')[source]
A data pool class for accessing and managing the Fancaps dataset.
This class extends the IncrementIDDataPool base class and is specifically tailored for the Fancaps dataset. It provides an interface to access the dataset stored in the Hugging Face repository.
- Parameters:
revision (str) – The specific revision of the dataset to use, defaults to ‘main’.
- Usage:
>>> fancaps_pool = FancapsDataPool()
Note
The Fancaps dataset is stored in the repository defined by _FANCAPS_REPO. Both the data and index are stored in the same repository.