From c72fbbfc1a8e5960df011e158e494179991cfff8 Mon Sep 17 00:00:00 2001 From: jeremymanning Date: Sun, 23 Jul 2023 08:49:47 -0400 Subject: [PATCH] update notebooks --- chatify/process_notebooks.py | 4 +- .../Bonus_Autoencoders/Bonus_Tutorial1.ipynb | 50 ++++++++++++++++++- .../Bonus_Autoencoders/Bonus_Tutorial2.ipynb | 50 ++++++++++++++++++- .../Bonus_Autoencoders/Bonus_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/Bonus_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/Bonus_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/Bonus_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W1D1_ModelTypes/W1D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W1D1_ModelTypes/W1D1_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W1D1_ModelTypes/W1D1_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W1D1_ModelTypes/W1D1_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W1D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W1D1_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W1D1_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W1D1_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial5.ipynb | 50 ++++++++++++++++++- .../W1D2_ModelFitting/W1D2_Tutorial6.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial5.ipynb | 50 ++++++++++++++++++- .../instructor/W1D2_Tutorial6.ipynb | 50 ++++++++++++++++++- .../W1D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W1D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W1D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W1D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W1D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W1D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W1D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W1D4_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W1D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W1D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W1D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W1D4_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W1D5_DeepLearning/W1D5_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W1D5_DeepLearning/W1D5_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W1D5_DeepLearning/W1D5_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W1D5_DeepLearning/W1D5_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W1D5_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W1D5_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W1D5_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W1D5_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W2D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W2D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W2D2_LinearSystems/W2D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W2D2_LinearSystems/W2D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W2D2_LinearSystems/W2D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W2D2_LinearSystems/W2D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W2D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W2D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W2D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W2D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W2D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W2D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W2D3_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W2D3_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W2D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W2D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W2D3_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W2D3_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W2D4_DynamicNetworks/W2D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W2D4_DynamicNetworks/W2D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W2D4_DynamicNetworks/W2D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W2D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W2D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W2D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W3D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W3D1_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W3D1_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W3D1_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W3D1_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W3D1_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W3D2_HiddenDynamics/W3D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W3D2_HiddenDynamics/W3D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W3D2_HiddenDynamics/W3D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W3D2_HiddenDynamics/W3D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W3D2_HiddenDynamics/W3D2_Tutorial5.ipynb | 50 ++++++++++++++++++- .../instructor/W3D2_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W3D2_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W3D2_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W3D2_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W3D2_Tutorial5.ipynb | 50 ++++++++++++++++++- .../W3D3_OptimalControl/W3D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W3D3_OptimalControl/W3D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W3D3_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W3D3_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W3D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W3D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W3D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W3D4_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W3D4_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W3D4_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W3D4_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W3D4_Tutorial4.ipynb | 50 ++++++++++++++++++- .../W3D5_Tutorial1.ipynb | 50 ++++++++++++++++++- .../W3D5_Tutorial2.ipynb | 50 ++++++++++++++++++- .../W3D5_Tutorial3.ipynb | 50 ++++++++++++++++++- .../W3D5_Tutorial4.ipynb | 50 ++++++++++++++++++- .../instructor/W3D5_Tutorial1.ipynb | 50 ++++++++++++++++++- .../instructor/W3D5_Tutorial2.ipynb | 50 ++++++++++++++++++- .../instructor/W3D5_Tutorial3.ipynb | 50 ++++++++++++++++++- .../instructor/W3D5_Tutorial4.ipynb | 50 ++++++++++++++++++- 107 files changed, 5197 insertions(+), 107 deletions(-) diff --git a/chatify/process_notebooks.py b/chatify/process_notebooks.py index 0f60542105..1ef03a1a54 100644 --- a/chatify/process_notebooks.py +++ b/chatify/process_notebooks.py @@ -21,7 +21,9 @@ def get_tutorial_notebooks(basedir): - return lsdir(os.path.join(basedir, 'tutorials', '*', 'student', '*Tutorial*.ipynb')) + return lsdir(os.path.join(basedir, 'tutorials', '*', 'student', '*Tutorial*.ipynb')) + \ + lsdir(os.path.join(basedir, 'tutorials', '*', 'instructor', '*Tutorial*.ipynb')) + \ + lsdir(os.path.join(basedir, 'tutorials', '*', '*Tutorial*.ipynb')) def chatified(fname): diff --git a/tutorials/Bonus_Autoencoders/Bonus_Tutorial1.ipynb b/tutorials/Bonus_Autoencoders/Bonus_Tutorial1.ipynb index 83b60022b4..b145d15626 100644 --- a/tutorials/Bonus_Autoencoders/Bonus_Tutorial1.ipynb +++ b/tutorials/Bonus_Autoencoders/Bonus_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/Bonus_Autoencoders/Bonus_Tutorial2.ipynb b/tutorials/Bonus_Autoencoders/Bonus_Tutorial2.ipynb index 8d85902da7..c05b67c43b 100644 --- a/tutorials/Bonus_Autoencoders/Bonus_Tutorial2.ipynb +++ b/tutorials/Bonus_Autoencoders/Bonus_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -69,6 +69,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/Bonus_Autoencoders/Bonus_Tutorial3.ipynb b/tutorials/Bonus_Autoencoders/Bonus_Tutorial3.ipynb index 2e8d7ce7ca..a73b8d1bf1 100644 --- a/tutorials/Bonus_Autoencoders/Bonus_Tutorial3.ipynb +++ b/tutorials/Bonus_Autoencoders/Bonus_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -71,6 +71,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial1.ipynb b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial1.ipynb index 02ff356af6..bb8df4c085 100644 --- a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial1.ipynb +++ b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial2.ipynb b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial2.ipynb index b572d0b615..fa9a3bf463 100644 --- a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial2.ipynb +++ b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -69,6 +69,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial3.ipynb b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial3.ipynb index 6ea2287dae..eef8d0bfaa 100644 --- a/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial3.ipynb +++ b/tutorials/Bonus_Autoencoders/instructor/Bonus_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -71,6 +71,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/W1D1_Tutorial1.ipynb b/tutorials/W1D1_ModelTypes/W1D1_Tutorial1.ipynb index 4d2d327a8e..7a4c7a7c12 100644 --- a/tutorials/W1D1_ModelTypes/W1D1_Tutorial1.ipynb +++ b/tutorials/W1D1_ModelTypes/W1D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/W1D1_Tutorial2.ipynb b/tutorials/W1D1_ModelTypes/W1D1_Tutorial2.ipynb index 38f88726e5..9167c7aefb 100644 --- a/tutorials/W1D1_ModelTypes/W1D1_Tutorial2.ipynb +++ b/tutorials/W1D1_ModelTypes/W1D1_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/W1D1_Tutorial3.ipynb b/tutorials/W1D1_ModelTypes/W1D1_Tutorial3.ipynb index 75e0872c14..9ba0abcb27 100644 --- a/tutorials/W1D1_ModelTypes/W1D1_Tutorial3.ipynb +++ b/tutorials/W1D1_ModelTypes/W1D1_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -134,6 +134,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/W1D1_Tutorial4.ipynb b/tutorials/W1D1_ModelTypes/W1D1_Tutorial4.ipynb index bec2772dd0..4560e6b391 100644 --- a/tutorials/W1D1_ModelTypes/W1D1_Tutorial4.ipynb +++ b/tutorials/W1D1_ModelTypes/W1D1_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -70,6 +70,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial1.ipynb b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial1.ipynb index b37c16d1c1..34e2e3311f 100644 --- a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial1.ipynb +++ b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial2.ipynb b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial2.ipynb index 999ba2765e..c35b13ca4c 100644 --- a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial2.ipynb +++ b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial3.ipynb b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial3.ipynb index d4175f163b..2a87c05a79 100644 --- a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial3.ipynb +++ b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -134,6 +134,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial4.ipynb b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial4.ipynb index cca06dda80..36b8146dd7 100644 --- a/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial4.ipynb +++ b/tutorials/W1D1_ModelTypes/instructor/W1D1_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -70,6 +70,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial1.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial1.ipynb index fbb612b79b..51f0ff8a16 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial2.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial2.ipynb index 0ee0561ba3..f7daf615a2 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial2.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -78,6 +78,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial3.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial3.ipynb index b4f3e13fa6..a5c1aa8060 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial3.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial4.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial4.ipynb index 119eba119e..f058ebc599 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial4.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -78,6 +78,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial5.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial5.ipynb index 5647526e30..60831b1303 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial5.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial5.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/W1D2_Tutorial6.ipynb b/tutorials/W1D2_ModelFitting/W1D2_Tutorial6.ipynb index aaf04e6783..f1d0aca576 100644 --- a/tutorials/W1D2_ModelFitting/W1D2_Tutorial6.ipynb +++ b/tutorials/W1D2_ModelFitting/W1D2_Tutorial6.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -74,6 +74,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial1.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial1.ipynb index 182e765976..55fb82cdf3 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial1.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial2.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial2.ipynb index 4b1905ea4a..75a01048ff 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial2.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -78,6 +78,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial3.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial3.ipynb index bed356aa06..43f6f170cd 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial3.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial4.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial4.ipynb index 099760ee68..1d5f1183b0 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial4.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -78,6 +78,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial5.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial5.ipynb index 5d9dcb5497..1663bcc279 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial5.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial5.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial6.ipynb b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial6.ipynb index 1ce0db9b82..030a01b447 100644 --- a/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial6.ipynb +++ b/tutorials/W1D2_ModelFitting/instructor/W1D2_Tutorial6.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -74,6 +74,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial1.ipynb b/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial1.ipynb index f871b5b962..b13810a261 100644 --- a/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -81,6 +81,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial2.ipynb b/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial2.ipynb index f42e73af59..7762105086 100644 --- a/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial2.ipynb +++ b/tutorials/W1D3_GeneralizedLinearModels/W1D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial1.ipynb b/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial1.ipynb index abccbd314d..7cde9a30a3 100644 --- a/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial1.ipynb +++ b/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -81,6 +81,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial2.ipynb b/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial2.ipynb index da503aaeb1..2227b4f85d 100644 --- a/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial2.ipynb +++ b/tutorials/W1D3_GeneralizedLinearModels/instructor/W1D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial1.ipynb b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial1.ipynb index 676a71e614..7bd2a921ab 100644 --- a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial2.ipynb b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial2.ipynb index ee120428da..20a3b7af07 100644 --- a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial2.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial3.ipynb b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial3.ipynb index afdb58160b..6803fcf8f6 100644 --- a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial3.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -135,6 +135,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial4.ipynb b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial4.ipynb index 065f203498..8bf28a7e25 100644 --- a/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial4.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/W1D4_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -130,6 +130,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial1.ipynb b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial1.ipynb index e4201e82d3..8f41b66d6f 100644 --- a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial1.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial2.ipynb b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial2.ipynb index 18cd2203ae..b22088b703 100644 --- a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial2.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial3.ipynb b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial3.ipynb index 6161f0c5a6..577874fdcb 100644 --- a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial3.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -135,6 +135,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial4.ipynb b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial4.ipynb index 5a8a08e686..14e310a6c2 100644 --- a/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial4.ipynb +++ b/tutorials/W1D4_DimensionalityReduction/instructor/W1D4_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -130,6 +130,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/W1D5_Tutorial1.ipynb b/tutorials/W1D5_DeepLearning/W1D5_Tutorial1.ipynb index 1f713d937f..1293de8b07 100644 --- a/tutorials/W1D5_DeepLearning/W1D5_Tutorial1.ipynb +++ b/tutorials/W1D5_DeepLearning/W1D5_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -81,6 +81,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/W1D5_Tutorial2.ipynb b/tutorials/W1D5_DeepLearning/W1D5_Tutorial2.ipynb index a92533ddf8..605c469aad 100644 --- a/tutorials/W1D5_DeepLearning/W1D5_Tutorial2.ipynb +++ b/tutorials/W1D5_DeepLearning/W1D5_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/W1D5_Tutorial3.ipynb b/tutorials/W1D5_DeepLearning/W1D5_Tutorial3.ipynb index 4bd27a8147..cef88f14ba 100644 --- a/tutorials/W1D5_DeepLearning/W1D5_Tutorial3.ipynb +++ b/tutorials/W1D5_DeepLearning/W1D5_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/W1D5_Tutorial4.ipynb b/tutorials/W1D5_DeepLearning/W1D5_Tutorial4.ipynb index 0d7bec7204..022d023bab 100644 --- a/tutorials/W1D5_DeepLearning/W1D5_Tutorial4.ipynb +++ b/tutorials/W1D5_DeepLearning/W1D5_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -51,6 +51,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial1.ipynb b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial1.ipynb index e359130ba3..1dd8930b08 100644 --- a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial1.ipynb +++ b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -81,6 +81,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial2.ipynb b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial2.ipynb index c5d655637d..69aefe81bf 100644 --- a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial2.ipynb +++ b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial3.ipynb b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial3.ipynb index e5a4ca376c..a2177a8fe5 100644 --- a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial3.ipynb +++ b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial4.ipynb b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial4.ipynb index 994767d8a6..b87f00b96e 100644 --- a/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial4.ipynb +++ b/tutorials/W1D5_DeepLearning/instructor/W1D5_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -51,6 +51,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D1_ModelingPractice/W2D1_Tutorial1.ipynb b/tutorials/W2D1_ModelingPractice/W2D1_Tutorial1.ipynb index 419118a605..be9bd00ace 100644 --- a/tutorials/W2D1_ModelingPractice/W2D1_Tutorial1.ipynb +++ b/tutorials/W2D1_ModelingPractice/W2D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -73,6 +73,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D1_ModelingPractice/instructor/W2D1_Tutorial1.ipynb b/tutorials/W2D1_ModelingPractice/instructor/W2D1_Tutorial1.ipynb index d37acdc28e..293a54bdf7 100644 --- a/tutorials/W2D1_ModelingPractice/instructor/W2D1_Tutorial1.ipynb +++ b/tutorials/W2D1_ModelingPractice/instructor/W2D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -73,6 +73,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/W2D2_Tutorial1.ipynb b/tutorials/W2D2_LinearSystems/W2D2_Tutorial1.ipynb index cc5f77c207..d82e409ea7 100644 --- a/tutorials/W2D2_LinearSystems/W2D2_Tutorial1.ipynb +++ b/tutorials/W2D2_LinearSystems/W2D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -84,6 +84,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/W2D2_Tutorial2.ipynb b/tutorials/W2D2_LinearSystems/W2D2_Tutorial2.ipynb index 99cff4cddb..72a5a8729e 100644 --- a/tutorials/W2D2_LinearSystems/W2D2_Tutorial2.ipynb +++ b/tutorials/W2D2_LinearSystems/W2D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -83,6 +83,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/W2D2_Tutorial3.ipynb b/tutorials/W2D2_LinearSystems/W2D2_Tutorial3.ipynb index 1ddfc41f88..2555d1e589 100644 --- a/tutorials/W2D2_LinearSystems/W2D2_Tutorial3.ipynb +++ b/tutorials/W2D2_LinearSystems/W2D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/W2D2_Tutorial4.ipynb b/tutorials/W2D2_LinearSystems/W2D2_Tutorial4.ipynb index d85926d1dd..13d87edb1e 100644 --- a/tutorials/W2D2_LinearSystems/W2D2_Tutorial4.ipynb +++ b/tutorials/W2D2_LinearSystems/W2D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -75,6 +75,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial1.ipynb b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial1.ipynb index ac7ba05ba7..761525f71e 100644 --- a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial1.ipynb +++ b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -84,6 +84,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial2.ipynb b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial2.ipynb index 53b2ee1d18..916baec728 100644 --- a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial2.ipynb +++ b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -83,6 +83,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial3.ipynb b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial3.ipynb index 9a71bf5af8..8ed876f9b6 100644 --- a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial3.ipynb +++ b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial4.ipynb b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial4.ipynb index 1bdf538dfa..9917893618 100644 --- a/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial4.ipynb +++ b/tutorials/W2D2_LinearSystems/instructor/W2D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -75,6 +75,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial1.ipynb b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial1.ipynb index 712380d7fa..cb23d38c67 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial1.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial2.ipynb b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial2.ipynb index b05fdeca3f..7b6def8e8d 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial2.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial3.ipynb b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial3.ipynb index 986df00fde..aba0972f93 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial3.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -83,6 +83,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial4.ipynb b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial4.ipynb index ff82c0df4f..de12d40a14 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial4.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/W2D3_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -61,6 +61,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial1.ipynb b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial1.ipynb index 6524127f6c..5dbe341163 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial1.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial2.ipynb b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial2.ipynb index 69e0c196e5..3989a0fab3 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial2.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial3.ipynb b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial3.ipynb index 855a689ac0..cec1bacea4 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial3.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -83,6 +83,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial4.ipynb b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial4.ipynb index 925ff8074d..b46288832c 100644 --- a/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial4.ipynb +++ b/tutorials/W2D3_BiologicalNeuronModels/instructor/W2D3_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -61,6 +61,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial1.ipynb b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial1.ipynb index bcfaa6262a..ea9c1ccd22 100644 --- a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial1.ipynb +++ b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -86,6 +86,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial2.ipynb b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial2.ipynb index 59c258f8f0..4e1b1daebb 100644 --- a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial2.ipynb +++ b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -94,6 +94,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial3.ipynb b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial3.ipynb index 0b5e410eb8..73d5ad019d 100644 --- a/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial3.ipynb +++ b/tutorials/W2D4_DynamicNetworks/W2D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -67,6 +67,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial1.ipynb b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial1.ipynb index b61aa5fbe3..503bba8922 100644 --- a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial1.ipynb +++ b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -86,6 +86,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial2.ipynb b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial2.ipynb index 3af0273fe6..f020836fd3 100644 --- a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial2.ipynb +++ b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -94,6 +94,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial3.ipynb b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial3.ipynb index e115bdb60e..ff8350dd2b 100644 --- a/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial3.ipynb +++ b/tutorials/W2D4_DynamicNetworks/instructor/W2D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -67,6 +67,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial1.ipynb b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial1.ipynb index 877b6735bc..77c8c83b9f 100644 --- a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial1.ipynb +++ b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial2.ipynb b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial2.ipynb index 0b0465e4e6..d14039b6f0 100644 --- a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial2.ipynb +++ b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial3.ipynb b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial3.ipynb index dae21605e9..a899431104 100644 --- a/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial3.ipynb +++ b/tutorials/W3D1_BayesianDecisions/W3D1_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -91,6 +91,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial1.ipynb b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial1.ipynb index b88d17fd5f..64761f2566 100644 --- a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial1.ipynb +++ b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial2.ipynb b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial2.ipynb index d52e7fd571..ec511c6af8 100644 --- a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial2.ipynb +++ b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -77,6 +77,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial3.ipynb b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial3.ipynb index cb2e7e71fb..b705b2cd27 100644 --- a/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial3.ipynb +++ b/tutorials/W3D1_BayesianDecisions/instructor/W3D1_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -91,6 +91,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial1.ipynb b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial1.ipynb index 11f4fee22a..89e63906b7 100644 --- a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial1.ipynb +++ b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -72,6 +72,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial2.ipynb b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial2.ipynb index fde7cba7d5..b8c4820d1e 100644 --- a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial2.ipynb +++ b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -69,6 +69,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial3.ipynb b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial3.ipynb index c4d6af54db..1dd75c7652 100644 --- a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial3.ipynb +++ b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -68,6 +68,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial4.ipynb b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial4.ipynb index ea9ab067c4..caabb6b186 100644 --- a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial4.ipynb +++ b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -73,6 +73,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial5.ipynb b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial5.ipynb index edf9c19b4a..15678f96ea 100644 --- a/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial5.ipynb +++ b/tutorials/W3D2_HiddenDynamics/W3D2_Tutorial5.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -67,6 +67,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial1.ipynb b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial1.ipynb index ad7a593fd9..7476defdc8 100644 --- a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial1.ipynb +++ b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -72,6 +72,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial2.ipynb b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial2.ipynb index 1b5301fb99..5dd27ae93d 100644 --- a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial2.ipynb +++ b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -69,6 +69,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial3.ipynb b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial3.ipynb index 5fa1f4ca47..4397992855 100644 --- a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial3.ipynb +++ b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -68,6 +68,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial4.ipynb b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial4.ipynb index 836de715d7..b2a4255bef 100644 --- a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial4.ipynb +++ b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -73,6 +73,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial5.ipynb b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial5.ipynb index 8fd7a140d9..816ad26f45 100644 --- a/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial5.ipynb +++ b/tutorials/W3D2_HiddenDynamics/instructor/W3D2_Tutorial5.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -67,6 +67,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D3_OptimalControl/W3D3_Tutorial1.ipynb b/tutorials/W3D3_OptimalControl/W3D3_Tutorial1.ipynb index a4dcffd3af..939911353b 100644 --- a/tutorials/W3D3_OptimalControl/W3D3_Tutorial1.ipynb +++ b/tutorials/W3D3_OptimalControl/W3D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D3_OptimalControl/W3D3_Tutorial2.ipynb b/tutorials/W3D3_OptimalControl/W3D3_Tutorial2.ipynb index ba931dbb91..c67a297581 100644 --- a/tutorials/W3D3_OptimalControl/W3D3_Tutorial2.ipynb +++ b/tutorials/W3D3_OptimalControl/W3D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial1.ipynb b/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial1.ipynb index b64285ed84..f7f5d2e1d0 100644 --- a/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial1.ipynb +++ b/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial2.ipynb b/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial2.ipynb index 096dbc0170..e1d15a8155 100644 --- a/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial2.ipynb +++ b/tutorials/W3D3_OptimalControl/instructor/W3D3_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -80,6 +80,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial1.ipynb b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial1.ipynb index 68297bf12a..56d184e614 100644 --- a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial1.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -93,6 +93,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial2.ipynb b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial2.ipynb index 9b698294a2..d8f018e4b5 100644 --- a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial2.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial3.ipynb b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial3.ipynb index d814074cf1..ac5a200415 100644 --- a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial3.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial4.ipynb b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial4.ipynb index b7281dc80b..14be60ac2b 100644 --- a/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial4.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/W3D4_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial1.ipynb b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial1.ipynb index bf0f1e5bcd..755e410adf 100644 --- a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial1.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -93,6 +93,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial2.ipynb b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial2.ipynb index 7e175e4356..1d2c91cd38 100644 --- a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial2.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -76,6 +76,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial3.ipynb b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial3.ipynb index 0de8e9878b..ebeb021084 100644 --- a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial3.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -82,6 +82,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial4.ipynb b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial4.ipynb index 47bf012dc8..0d2520fcf8 100644 --- a/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial4.ipynb +++ b/tutorials/W3D4_ReinforcementLearning/instructor/W3D4_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -79,6 +79,54 @@ "# Setup\n" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial1.ipynb b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial1.ipynb index 2f27ed943f..d5297b6580 100644 --- a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial1.ipynb +++ b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -94,6 +94,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial2.ipynb b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial2.ipynb index 9417fcd03f..9e5527d4e7 100644 --- a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial2.ipynb +++ b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -105,6 +105,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial3.ipynb b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial3.ipynb index 2979ed1c54..e1a691e254 100644 --- a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial3.ipynb +++ b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -90,6 +90,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial4.ipynb b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial4.ipynb index 7e8fd3ee1b..65310b1b68 100644 --- a/tutorials/W3D5_NetworkCausality/W3D5_Tutorial4.ipynb +++ b/tutorials/W3D5_NetworkCausality/W3D5_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -90,6 +90,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial1.ipynb b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial1.ipynb index 1d98271d78..58ad4c3c13 100644 --- a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial1.ipynb +++ b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial1.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -94,6 +94,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial2.ipynb b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial2.ipynb index db2c2ad304..b23ddb7204 100644 --- a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial2.ipynb +++ b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial2.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -105,6 +105,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial3.ipynb b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial3.ipynb index f5963e0803..44cd59fb7c 100644 --- a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial3.ipynb +++ b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial3.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -90,6 +90,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial4.ipynb b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial4.ipynb index b23c3518d6..c9a26aefa9 100644 --- a/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial4.ipynb +++ b/tutorials/W3D5_NetworkCausality/instructor/W3D5_Tutorial4.ipynb @@ -8,7 +8,7 @@ "id": "view-in-github" }, "source": [ - "\"Open   \"Open" + "\"Open   \"Open" ] }, { @@ -90,6 +90,54 @@ "# Setup" ] }, + { + "cell_type": "markdown", + "metadata": { + "execution": {} + }, + "source": [ + "**⚠ Experimental LLM-enhanced tutorial ⚠**\n", + "\n", + "This notebook includes Neuromatch's experimental [Chatify](https://github.com/ContextLab/chatify) 🤖 functionality. The Chatify notebook extension adds support for a large language model-based \"coding tutor\" to the materials. The tutor provides automatically generated text to help explain any code cell in this notebook.\n", + "\n", + "Note that using Chatify may cause breaking changes and/or provide incorrect or misleading information. If you wish to proceed by installing and enabling the Chatify extension, you should run the next two code blocks (hidden by default). If you do *not* want to use this experimental version of the Neuromatch materials, please use the [stable](https://compneuro.neuromatch.io/tutorials/intro.html) materials instead.\n", + "\n", + "To use the Chatify helper, insert the `%%explain` magic command at the start of any code cell and then run it (shift + enter) to access an interface for receiving LLM-based assitance. You can then select different options from the dropdown menus depending on what sort of assitance you want. To disable Chatify and run the code block as usual, simply delete the `%%explain` command and re-run the cell.\n", + "\n", + "Note that, by default, all of Chatify's responses are generated locally. This often takes several minutes per response. Once you click the \"Submit request\" button, just be patient-- stuff is happening even if you can't see it right away!\n", + "\n", + "Thanks for giving Chatify a try! Love it? Hate it? Either way, we'd love to hear from you about your Chatify experience! Please consider filling out our [brief survey](https://forms.gle/jNq85KVvNwj1JHZV9) to provide feedback and help us make Chatify more awesome!\n", + "\n", + "**Run the next two cells to install and configure Chatify...**" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "%pip install -q davos\n", + "import davos\n", + "davos.config.suppress_stdout = True" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "cellView": "form", + "execution": {} + }, + "outputs": [], + "source": [ + "smuggle chatify # pip: git+https://github.com/ContextLab/chatify.git\n", + "%load_ext chatify" + ] + }, { "cell_type": "code", "execution_count": null,