Readme updates and link to pkl files based on great community feedback

This commit is contained in:
Edward Donner
2024-10-15 16:56:46 -04:00
parent 3fa38267a4
commit 11b0a64542
2 changed files with 18 additions and 3 deletions

View File

@@ -228,9 +228,9 @@ ANTHROPIC_API_KEY=xxxx
HF_TOKEN=xxxx
```
3. Go to File > Save As. In the "Save as type" dropdown, select All Files. In the "File name" field, type ".env". Choose the root of the project folder and click Save.
3. Go to File > Save As. In the "Save as type" dropdown, select All Files. In the "File name" field, type ".env". Choose the root of the project folder (the folder called `llm_engineering`) and click Save.
4. Navigate to the foler where you saved the file in Explorer and ensure it was saved as ".env" not ".env.txt" - if necessary rename it to ".env"
4. Navigate to the foler where you saved the file in Explorer and ensure it was saved as ".env" not ".env.txt" - if necessary rename it to ".env" - you might need to ensure that "Show file extensions" is set to "On" so that you see the file extensions. Message or email me if that doesn't make sense!
**For Mac users:**

View File

@@ -133,6 +133,21 @@
"%matplotlib inline"
]
},
{
"cell_type": "markdown",
"id": "5105e13c-bca0-4c70-bfaa-649345f53322",
"metadata": {},
"source": [
"# Loading the pkl files\n",
"\n",
"Let's avoid curating all our data again! Load in the pickle files\n",
"\n",
"If you didn't already create these in Day 2, you can also download them from my google drive (you'll also find the slides here): \n",
"https://drive.google.com/drive/folders/1JwNorpRHdnf_pU0GE5yYtfKlyrKC3CoV?usp=sharing\n",
"\n",
"But note that the files are quite large - you might need to get a coffee!"
]
},
{
"cell_type": "code",
"execution_count": null,
@@ -140,7 +155,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Let's avoid curating all our data again! Load in the pickle files:\n",
"\n",
"\n",
"with open('train.pkl', 'rb') as file:\n",
" train = pickle.load(file)\n",