Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion examples/Datasets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
],
"source": [
"import pathlib\n",
"import urllib.request\n",
"\n",
"dataset_path = pathlib.Path(\"dataset.jsonl\")\n",
"\n",
Expand All @@ -143,7 +144,10 @@
" files.upload_file(filename=str(dataset_path))\n",
"else:\n",
" # Alternatively, you can try the system out with these sample logs.\n",
" !wget https://storage.googleapis.com/generativeai-downloads/data/spam_dataset.jsonl -O {dataset_path}"
" urllib.request.urlretrieve(\n",
" \"https://storage.googleapis.com/generativeai-downloads/data/spam_dataset.jsonl\",\n",
" dataset_path,\n",
" )"
]
},
{
Expand Down
Loading