From 417f2ecca4ef747f0a1e49aa78ffa356f7dc08e3 Mon Sep 17 00:00:00 2001 From: Benjamin Gorlick Date: Thu, 6 Jun 2024 14:28:22 -0700 Subject: [PATCH] created examples folder --- examples/example_getai_stanfordnlp_imdb_dataset.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/example_getai_stanfordnlp_imdb_dataset.py diff --git a/examples/example_getai_stanfordnlp_imdb_dataset.py b/examples/example_getai_stanfordnlp_imdb_dataset.py new file mode 100644 index 0000000..6ef2425 --- /dev/null +++ b/examples/example_getai_stanfordnlp_imdb_dataset.py @@ -0,0 +1,13 @@ +from getai import download_dataset +import asyncio + +async def download_dataset_example(): + await download_dataset( + identifier="stanfordnlp/imdb", + hf_token="None", + max_connections=5, + output_dir="datasets/stardfordnlp/imdb" + ) + +if __name__ == "__main__": + asyncio.run(download_dataset_example())