Skip to main content

pb.datasets.download

pb.datasets.download(dataset_ref=None)

Download specified dataset

Parameters:

dataset_ref: str

Name of dataset to return.

By default, the dataset is searched for under the file_uploads connection. If the dataset is connected another way, please specify the connection name in dataset_ref like so: f"{connection_name}/{file_name}"

dest: str

Destination for the downloaded dataset to be saved

Returns:

   Dataset

Example:

    pb.datasets.download(dataset_ref=dataset, dest="augmented_dataset.jsonl")