{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Chatbot Development\n", "\n", "Use this notebook to load the model and then initialize, update, and test the chatbot." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Setup and Imports" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/Users/rishikabansal/Git/6.s041-chatbot/6s041_chatbot/lib/python3.13/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", " from .autonotebook import tqdm as notebook_tqdm\n" ] } ], "source": [ "import torch\n", "from huggingface_hub import login\n", "\n", "\n", "from src.chat import SchoolChatbot\n", "from config import BASE_MODEL, MY_MODEL" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "f9bdccb75b8447a886ac8ca2fdfed506", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='