autointent.load_dataset#
- autointent.load_dataset(path)#
Load data from a specified path or use default sample data.
This function loads a dataset from a JSON file. If the path doesn’t exist, it attempts to load from the Hugging Face hub.
- Parameters:
path (str | pathlib.Path) – Path to the dataset file or hugging face repo name.
- Return type: