{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Note: you may need to restart the kernel to use updated packages.\n", "Note: you may need to restart the kernel to use updated packages.\n" ] } ], "source": [ "%pip install huggingface_hub --q\n", "%pip install ipywidgets --q" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "from transformers.pipelines.text_generation import TextGenerationPipeline\n", "from transformers import AutoConfig\n", "import transformers" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "f9c842f1bd7146e5a4e4d517450531ee", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='