{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/Users/xinzhao/anaconda3/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", " from .autonotebook import tqdm as notebook_tqdm\n", "Using the latest cached version of the module from /Users/xinzhao/.cache/huggingface/modules/datasets_modules/datasets/iszhaoxin--test/ca8172e7372b0c39741729fdfe907438e4d8633843d1f170ac4d65686e2e2300 (last modified on Tue Nov 19 09:59:57 2024) since it couldn't be found locally at iszhaoxin/test, or remotely on the Hugging Face Hub.\n" ] } ], "source": [ "from datasets import load_dataset\n", "dataset = load_dataset('iszhaoxin/test', name='customers') # Replace 'customers' with the appropriate subset name\n" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "from datasets import get_dataset_config_names" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "['customers', 'products']" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "get_dataset_config_names(\"iszhaoxin/test\", trust_remote_code=True)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "base", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.9" } }, "nbformat": 4, "nbformat_minor": 2 }