Refreshed notebooks, particularly with new Week 1

This commit is contained in:
Edward Donner
2024-11-13 15:46:22 +00:00
parent 6ba1875cd3
commit 21c7a8155c
34 changed files with 2331 additions and 410 deletions

View File

@@ -101,6 +101,23 @@
" documents.append(doc)"
]
},
{
"cell_type": "markdown",
"id": "f065d4b1-80b7-4e15-abd4-60a83e752ea8",
"metadata": {},
"source": [
"# Please note:\n",
"\n",
"In the next cell, we split the text into chunks.\n",
"\n",
"2 students let me know that the next cell crashed their computer. \n",
"They were able to fix it by changing the chunk_size from 1,000 to 2,000 and the chunk_overlap from 200 to 400. \n",
"This shouldn't be required; but if it happens to you, please make that change! \n",
"(Note that LangChain may give a warning about a chunk being larger than 1,000 - this can be safely ignored).\n",
"\n",
"_With much thanks to Steven W and Nir P for this valuable contribution._"
]
},
{
"cell_type": "code",
"execution_count": null,