dataset_config
ImageCaptionDatasetConfig
ImageCaptionDatasetConfig = Annotated[Union[HFHubImageCaptionDatasetConfig, ImageCaptionJsonlDatasetConfig, ImageCaptionDirDatasetConfig], Field(discriminator='type')]
HFHubImageCaptionDatasetConfig
dataset_config_name
The Hugging Face dataset config name. Leave as None if there's only one config.
hf_cache_dir
The Hugging Face cache directory to use for dataset downloads. If None, the default value will be used (usually '~/.cache/huggingface/datasets').