Upload data_creation.ipynb
Browse files- data_creation.ipynb +3 -21
data_creation.ipynb
CHANGED
@@ -103,16 +103,7 @@
|
|
103 |
"cell_type": "code",
|
104 |
"execution_count": null,
|
105 |
"metadata": {},
|
106 |
-
"outputs": [
|
107 |
-
{
|
108 |
-
"name": "stderr",
|
109 |
-
"output_type": "stream",
|
110 |
-
"text": [
|
111 |
-
"/home/gmongaras/miniconda3/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",
|
112 |
-
" from .autonotebook import tqdm as notebook_tqdm\n"
|
113 |
-
]
|
114 |
-
}
|
115 |
-
],
|
116 |
"source": [
|
117 |
"# Create huggingface dataset\n",
|
118 |
"from datasets import Dataset\n",
|
@@ -1214,18 +1205,9 @@
|
|
1214 |
},
|
1215 |
{
|
1216 |
"cell_type": "code",
|
1217 |
-
"execution_count":
|
1218 |
"metadata": {},
|
1219 |
-
"outputs": [
|
1220 |
-
{
|
1221 |
-
"name": "stderr",
|
1222 |
-
"output_type": "stream",
|
1223 |
-
"text": [
|
1224 |
-
"/home/gmongaras/miniconda3/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",
|
1225 |
-
" from .autonotebook import tqdm as notebook_tqdm\n"
|
1226 |
-
]
|
1227 |
-
}
|
1228 |
-
],
|
1229 |
"source": [
|
1230 |
"from datasets import load_from_disk\n",
|
1231 |
"dataset = load_from_disk(\"reddit_political_2019\")"
|
|
|
103 |
"cell_type": "code",
|
104 |
"execution_count": null,
|
105 |
"metadata": {},
|
106 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
"source": [
|
108 |
"# Create huggingface dataset\n",
|
109 |
"from datasets import Dataset\n",
|
|
|
1205 |
},
|
1206 |
{
|
1207 |
"cell_type": "code",
|
1208 |
+
"execution_count": null,
|
1209 |
"metadata": {},
|
1210 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1211 |
"source": [
|
1212 |
"from datasets import load_from_disk\n",
|
1213 |
"dataset = load_from_disk(\"reddit_political_2019\")"
|