From 2c35264cc4a61834f745977391549cf0f43c012b Mon Sep 17 00:00:00 2001 From: Edward Donner Date: Sun, 13 Oct 2024 21:45:30 -0400 Subject: [PATCH] Fixed an import, with many thanks to student Dr John S for pointing out --- week6/day1.ipynb | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/week6/day1.ipynb b/week6/day1.ipynb index cac3060..0dd3512 100644 --- a/week6/day1.ipynb +++ b/week6/day1.ipynb @@ -35,7 +35,6 @@ "from dotenv import load_dotenv\n", "from huggingface_hub import login\n", "from datasets import load_dataset, Dataset, DatasetDict\n", - "from items import Item\n", "import matplotlib.pyplot as plt" ] }, @@ -67,6 +66,22 @@ "login(hf_token, add_to_git_credential=True)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "b5521526-0da9-42d7-99e3-f950fab71662", + "metadata": {}, + "outputs": [], + "source": [ + "# One more import - the Item class\n", + "# If you get an error that you need to agree to Meta's terms when you run this, then follow the link it provides you and follow their instructions\n", + "# You should get approved by Meta within minutes\n", + "# Any problems - message me or email me!\n", + "# With thanks to student Dr John S. for pointing out that this import needs to come after signing in to HF\n", + "\n", + "from items import Item" + ] + }, { "cell_type": "code", "execution_count": null,