test
Browse files- dataset_infos.json +1 -1
- test.ipynb +85 -0
- test → test.py +0 -0
dataset_infos.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
"dtype": "int32"
|
10 |
},
|
11 |
"name": {
|
12 |
-
"dtype": "
|
13 |
},
|
14 |
"age": {
|
15 |
"dtype": "int32"
|
|
|
9 |
"dtype": "int32"
|
10 |
},
|
11 |
"name": {
|
12 |
+
"dtype": "string"
|
13 |
},
|
14 |
"age": {
|
15 |
"dtype": "int32"
|
test.ipynb
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": 1,
|
6 |
+
"metadata": {},
|
7 |
+
"outputs": [
|
8 |
+
{
|
9 |
+
"name": "stderr",
|
10 |
+
"output_type": "stream",
|
11 |
+
"text": [
|
12 |
+
"/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",
|
13 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
14 |
+
"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"
|
15 |
+
]
|
16 |
+
}
|
17 |
+
],
|
18 |
+
"source": [
|
19 |
+
"from datasets import load_dataset\n",
|
20 |
+
"dataset = load_dataset('iszhaoxin/test', name='customers') # Replace 'customers' with the appropriate subset name\n"
|
21 |
+
]
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"cell_type": "code",
|
25 |
+
"execution_count": 2,
|
26 |
+
"metadata": {},
|
27 |
+
"outputs": [
|
28 |
+
{
|
29 |
+
"data": {
|
30 |
+
"text/plain": [
|
31 |
+
"DatasetDict({\n",
|
32 |
+
" train: Dataset({\n",
|
33 |
+
" features: ['customer_id', 'name', 'age'],\n",
|
34 |
+
" num_rows: 70\n",
|
35 |
+
" })\n",
|
36 |
+
" validation: Dataset({\n",
|
37 |
+
" features: ['customer_id', 'name', 'age'],\n",
|
38 |
+
" num_rows: 15\n",
|
39 |
+
" })\n",
|
40 |
+
" test: Dataset({\n",
|
41 |
+
" features: ['customer_id', 'name', 'age'],\n",
|
42 |
+
" num_rows: 15\n",
|
43 |
+
" })\n",
|
44 |
+
"})"
|
45 |
+
]
|
46 |
+
},
|
47 |
+
"execution_count": 2,
|
48 |
+
"metadata": {},
|
49 |
+
"output_type": "execute_result"
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"source": [
|
53 |
+
"dataset"
|
54 |
+
]
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"cell_type": "code",
|
58 |
+
"execution_count": null,
|
59 |
+
"metadata": {},
|
60 |
+
"outputs": [],
|
61 |
+
"source": []
|
62 |
+
}
|
63 |
+
],
|
64 |
+
"metadata": {
|
65 |
+
"kernelspec": {
|
66 |
+
"display_name": "base",
|
67 |
+
"language": "python",
|
68 |
+
"name": "python3"
|
69 |
+
},
|
70 |
+
"language_info": {
|
71 |
+
"codemirror_mode": {
|
72 |
+
"name": "ipython",
|
73 |
+
"version": 3
|
74 |
+
},
|
75 |
+
"file_extension": ".py",
|
76 |
+
"mimetype": "text/x-python",
|
77 |
+
"name": "python",
|
78 |
+
"nbconvert_exporter": "python",
|
79 |
+
"pygments_lexer": "ipython3",
|
80 |
+
"version": "3.10.9"
|
81 |
+
}
|
82 |
+
},
|
83 |
+
"nbformat": 4,
|
84 |
+
"nbformat_minor": 2
|
85 |
+
}
|
test → test.py
RENAMED
File without changes
|