loaders
HFLoader
¶
Bases: GlobalStep
Class to load a dataset using the Hugging Face datasets library. Can use either a HuggingFace tag or a local file.
Caching is disabled as this step does not manipulate the dataset hence no need for caching.
Source code in ragfit/processing/dataset_loaders/loaders.py
LocalLoader
¶
Bases: GlobalStep
Class to load a local dataset, in a JSON format.
Caching is disabled as this step does not manipulate the dataset hence no need for caching.