{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "3ad128a6-2959-431f-b5ff-d9e15761c9c0", "metadata": { "tags": [] }, "outputs": [], "source": [ "from pythainlp.chat.core import ChatBotModel\n", "import torch" ] }, { "cell_type": "code", "execution_count": 2, "id": "35760aec-f47a-4d33-ad1c-a8230194180c", "metadata": { "tags": [] }, "outputs": [], "source": [ "chatbot = ChatBotModel()" ] }, { "cell_type": "code", "execution_count": 3, "id": "99129184-3a9f-4871-bfb9-ce611e80ff55", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Setting ds_accelerator to cuda (auto detect)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "54dd6a2c6afa41959bfb11ec98b30562", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Loading checkpoint shards: 0%| | 0/98 [00:00