Browse Source

Fixed an import, with many thanks to student Dr John S for pointing out

pull/40/head
Edward Donner 7 months ago
parent
commit
2c35264cc4
  1. 17
      week6/day1.ipynb

17
week6/day1.ipynb

@ -35,7 +35,6 @@
"from dotenv import load_dotenv\n", "from dotenv import load_dotenv\n",
"from huggingface_hub import login\n", "from huggingface_hub import login\n",
"from datasets import load_dataset, Dataset, DatasetDict\n", "from datasets import load_dataset, Dataset, DatasetDict\n",
"from items import Item\n",
"import matplotlib.pyplot as plt" "import matplotlib.pyplot as plt"
] ]
}, },
@ -67,6 +66,22 @@
"login(hf_token, add_to_git_credential=True)" "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", "cell_type": "code",
"execution_count": null, "execution_count": null,

Loading…
Cancel
Save