def __init__(
        self,
        iterable: Union[
            Iterable[Dict[str, Array]], Iterable[Tuple[Dict[str, Array], Array]]
        ],
        num_unique_labels: int = None,
        num_inputs: Optional[int] = None,
    ):
        """
        A data loader class.

        Parameters
        ----------
        iterable : Union[Iterable[Dict[str, Array]], Iterable[Tuple[Dict[str, Array],Array]]]
            A data loader obtained via :func:`~HuggingFaceClassificationDataset.get_dataloader`.
        num_unique_labels: int
            Number of unique target labels in the task (classification only)
        num_inputs: Optional[int]
            Number of data points.
        """
        super().__init__(iterable, num_unique_labels)
        self._num_inputs = num_inputs

        A data loader class.

        Parameters
        ----------
        iterable : Union[Iterable[Dict[str, Array]], Iterable[Tuple[Dict[str, Array],Array]]]
            A data loader obtained via :func:`~HuggingFaceClassificationDataset.get_dataloader`.
        num_unique_labels: int
            Number of unique target labels in the task (classification only)
        num_inputs: Optional[int]
            Number of data points.
        
fortuna/data/loader/huggingface_loaders.py