diff --git a/language-models.ipynb b/language-models.ipynb index b0c47605c0d585f3c64760f97ad5600d14181c99..c2bcf32ce2a326172c9a630ba7ff643364d8736c 100644 --- a/language-models.ipynb +++ b/language-models.ipynb @@ -91,6 +91,16 @@ "A **bigram language model**, for instance, takes the immediately preceding word to determine the probabilities for the next word. We use `<s>` to indicate the start token. Modify this code snippet so that each `prev` term (key) has a dictionary consisting of the number of times the `curr` term appears afterwards." ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "71a7ec72", + "metadata": {}, + "outputs": [], + "source": [ + "os.chdir(\"assessments\")" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/large-language-models.ipynb b/large-language-models.ipynb index 8e6db90948400a353ca86a6f3924578e6d744c53..59918c4430533228733ccd6dfc2ccadedeb85738 100644 --- a/large-language-models.ipynb +++ b/large-language-models.ipynb @@ -22,16 +22,30 @@ ] }, { - "cell_type": "markdown", - "metadata": {}, + "cell_type": "code", + "execution_count": null, + "metadata": { + "vscode": { + "languageId": "plaintext" + } + }, + "outputs": [], "source": [ + "%%html\n", "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube-nocookie.com/embed/lnA9DMvHtfI?si=QJRk0fEHZNbuKf8b\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>" ] }, { - "cell_type": "markdown", - "metadata": {}, + "cell_type": "code", + "execution_count": null, + "metadata": { + "vscode": { + "languageId": "plaintext" + } + }, + "outputs": [], "source": [ + "%%html\n", "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube-nocookie.com/embed/YDiSFS-yHwk?si=KY34lWBCaoIzNCEW\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>" ] },