From fe4b44d8067d1032505ed320c48a288b250b281b Mon Sep 17 00:00:00 2001
From: Yuxuan Mei <yuxuan.mei@icloud.com>
Date: Wed, 7 Aug 2024 14:38:47 -0700
Subject: [PATCH] fix some issues in the notes

---
 language-models.ipynb       | 10 ++++++++++
 large-language-models.ipynb | 22 ++++++++++++++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/language-models.ipynb b/language-models.ipynb
index b0c4760..c2bcf32 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 8e6db90..59918c4 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>"
    ]
   },
-- 
GitLab