{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "LFsN8RM-81OP" }, "source": [ "# πŸš€ Homework 9: Text Generation & HuggingFace Spaces\n", "**MIS 769 - Big Data Analytics for Business | Spring 2026**\n", "\n", "**Points:** 20 | **Due:** See WebCampus for deadline\n", "\n", "**Author:** Richard Young, Ph.D. | UNLV Lee Business School\n", "\n", "**Compute:** GPU recommended β€” Spaces deployment is free\n", "\n", "---\n", "\n", "## What You'll Learn\n", "\n", "1. Use HuggingFace Transformers for text generation\n", "2. Understand generation parameters (temperature, top-k, top-p)\n", "3. Build an interactive demo with Gradio\n", "4. Deploy your application to HuggingFace Spaces\n", "\n", "---" ] }, { "cell_type": "markdown", "metadata": { "id": "4N9OKgOh81OQ" }, "source": [ "## From Notebook to Production\n", "\n", "This homework takes you through the full deployment pipeline β€” from experimenting with text generation in Colab, to building an interactive Gradio demo, to deploying a public application on HuggingFace Spaces.\n", "\n", "![deployment_pipeline.svg](data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAwIDQwMCIgd2lkdGg9IjEwMDAiIGhlaWdodD0iNDAwIj4KICA8ZGVmcz4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iY29sYWJHcmFkIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiNmOWFiMDA7c3RvcC1vcGFjaXR5OjEiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6I2UzNzQwMDtzdG9wLW9wYWNpdHk6MSIgLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImdyYWRpb0dyYWQi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PC9zdmc+Cg==)\n", "\n", "**The four stages:**\n", "1. **Local Development** β€” Experiment with models and generation parameters in Google Colab\n", "2. **Gradio Demo** β€” Wrap your model in an interactive UI with sliders and text inputs\n", "3. **HuggingFace Spaces** β€” Push your `app.py` to deploy with one command\n", "4. **Public URL** β€” Anyone in the world can use your application\n", "\n", "---" ] }, { "cell_type": "markdown", "metadata": { "id": "rUevVoHm81OQ" }, "source": [ "## Part 1: Text Generation (4 points)" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 567, "referenced_widgets": [ "ad3a7e15a4074bb389cbe2c1e418fb47", "39bbef138d484166a9464e37b332a4ff", "a80f32e773704543a3da98c0109b4c6d", "ad5a710d553842c88b6e0febf7190b0a", "8a39298ac71441319c3da581e7055b6a", "d3df61c97b684c1db74f66387c5b5a0f", "414b22e0cc91448988ce660a5b3aa29b", "ebcc2b2c5af748f2a32fa8caca097cdc", "9fc03c2932ec4c2c8a0dad20c8644619", "38d31f9e6a3c49078108a274f698b12a", "b64084fedf3a4c63b9fffedcb48dea4d", "25180c25f023415888c8de0a8d215df9", "c79ff632c9bf43d58078658742a7726e", "442b34bc44f34587957d4dcaae583363", "6fe2b2de74c4479cbae52a7cd1bf08c7", "38df14a1410c47c9b76755107788e5ba", "a32d3653387a4034ab533f053d30696b", "2b3e002785a1450eb203e1a72ca9f988", "6545a3871f974cb09e65e5ce4ecc6090", "9d5167479d52457f993d5982ec518d98", "f702e2a95c5540f1bf5cc688d07f3ff8", "34605104a0e14229b48744a766fb90d0", "22429fe584b0471f9a257ff12dbebb94", "32bc8cd0874c4455a6bcbd9b68566354", "380e2157d5e8413ba192d4c8b09a08fe", "0212635835be4d08a0ff6d09506d6e71", "3ab234ca8c53456191e217ae00ef51be", "f56819bee3ee404190d89ab441fca724", "a0541f14ad044ea19cf53181a63cb7d6", "1ef1b2b7272844398611bba422d7eb5a", "7ccb4a1f74ed428cbd987ad4d38aa782", "48d03257f2414697a76d1c9e8aac55e5", "c109fa25049c4e60bd363f9599231a24", "740500ee7b104e309fbde222fe24138e", "673eabf330234f60968d004a0516c483", "eac4701013a14512bf857ac9ec07e65d", "f30468a3d3d749289d3b62911c2cfe73", "94e0f3a07d18444d84ee2cb4b27dd7c9", "3dec5e3d36bf49309f62704a8fef924e", "d288b43bbe1a4d6b88706b5c3888735a", "bf358e1bde9741a0af331bdcfcae57de", "f12ac07e1e2d4027a4edf1e037c719e0", "3bb3bb97f8f2459daf2eb61b92039bb1", "31820c763dc249b5bd7c6e65839a9197", "248278914d8f42bfbb8a9b7f8e70c714", "2931736c52524176857469780a8889e2", "e5f9b86a7f644abcad08f46858b65cb6", "dc1ab246b4fb48f995e0947c183b01b1", "1683178243e2494c8c5c548181fd1caa", "809109901448436cac03dec0659f7a61", "a7399b17a05548e58c8001fe7363a752", "e696a18f9926419cbe49ee9a644d51ce", "0dbf5823de294b78b9d116c7195f16f5", "237c6e653791467e872acf673a3ff535", "e024941c9689499bbb458bd212b579ec", "4ddb49a492934615a2a4ccd89a2c1371", "c270d42329384834a1a60f5b739d125f", "c091b43b1a054096920a30b659316c0e", "741580e71603404a9ce4c59e944b00b9", "82231601e4a84e5b85ad2b96f417d78f", "bb5c97c29fe84ab0acef16992dc20099", "8cf7b0cd1d9443f0835ef90cecd8b3d8", "1f32f63b6b0b48c0b81b1e1e196e9586", "272ac2119b3343e2a772d8824ac6c270", "698306c5a25544298947ab52d5013211", "93026e704cc54df1a371be4645feda85", "122f7e238e16402cb261d8395c5d8cd9", "c86817446c844deabebd80069483d58e", "7c4d5c7705fa4baa9eae7f3b48cf88fc", "13c78d38a52d4ea9832a5848d58c6883", "2546d55bd92248bf88336874415b3f43", "a66786240c704d0bad55e1b75bab8d1b", "de7cb811a5a54123ad1c2a3e4edc46fd", "790e206e3dc6403fb12f1e72df3abca6", "b4637216522c46e4bc486e2585c94adf", "9e73c1635509456887d0430d6fa23438", "dcbe459af6f6408ab458baa350709e90", "b4f0f045bdcf4922b998a283bc08cc60", "2e82c253e88b4379a05d246c4ebcb410", "df984d632e474c89afca9ef5f433ab71", "4924a5a90d02474db51e48870f21d151", "486c91cd5dc24206936732d4385825a1", "f95e2dc22f384698b0f95d4c62e767d5", "48bcdff92e774be38a51645a7407099d", "692d64f7502846878d3b275bae5d611d", "691218dbda5f45b08e36ed1b529f9472", "6417c16e656547048fe33da5795d04ef", "f88575b368cc42f297ef596c5903363c" ] }, "id": "TU2eQLRm81OR", "outputId": "d4da688e-f4d7-47d5-caad-3d1d8c255b3f" }, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "03d186647408438da121033e0d9d98bb", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Loading weights: 0%| | 0/148 [00:00 0 else None,\n", " top_p=cfg[\"top_p\"],\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " generated = output[0]['generated_text'][len(prompt):]\n", " print(f\"\\n{cfg['name']}:\")\n", " print(f\" {generated[:80]}...\")" ] }, { "cell_type": "markdown", "metadata": { "id": "56TfcoY681OR" }, "source": [ "### The Repetition Problem\n", "\n", "GPT-2 is notorious for getting stuck in loops β€” repeating the same phrase or sentence over and over. This happens because the model assigns high probability to tokens it has already generated (a feedback loop).\n", "\n", "**Repetition penalty** (`repetition_penalty`) solves this by reducing the probability of tokens that have already appeared. A value of `1.0` means no penalty (default), while `1.2`-`1.5` progressively discourages repetition.\n", "\n", "```\n", "repetition_penalty = 1.0 β†’ \"The cat sat on the mat. The cat sat on the mat. The cat...\"\n", "repetition_penalty = 1.3 β†’ \"The cat sat on the mat. It purred softly as sunlight streamed...\"\n", "```\n", "\n", "This is especially important for **longer generations** (100+ tokens) where loops are more likely to appear. Try running the same prompt with and without the penalty to see the difference." ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "382eRViL81OR", "outputId": "8ecba49f-1108-4dc0-b2b4-7fb1f0e5eb91" }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Passing `generation_config` together with generation-related arguments=({'pad_token_id', 'repetition_penalty', 'temperature', 'max_new_tokens', 'do_sample'}) is deprecated and will be removed in future versions. Please pass either a `generation_config` object OR all generation parameters explicitly, but not both.\n", "Both `max_new_tokens` (=80) and `max_length`(=50) seem to have been set. `max_new_tokens` will take precedence. Please refer to the documentation for more information. (https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "πŸ“Š REPETITION PENALTY COMPARISON\n", "============================================================\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "Both `max_new_tokens` (=80) and `max_length`(=50) seem to have been set. `max_new_tokens` will take precedence. Please refer to the documentation for more information. (https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "\n", "No penalty (repetition_penalty=1.0):\n", " it had sold the $13.9 million stake in the business to an undisclosed buyer.\n", "\n", "The company's stock has fallen to $19.55 ...\n", "\n", "Penalty 1.3 (repetition_penalty=1.3):\n", " it had acquired the rights to run a high-tech communications service, Voice of America.\n", "\n", "\n", " (Photo: Google) Story Highli...\n" ] } ], "source": [ "# Repetition penalty comparison\n", "print(\"πŸ“Š REPETITION PENALTY COMPARISON\")\n", "print(\"=\" * 60)\n", "\n", "prompt = \"The company announced that\"\n", "penalties = [1.0, 1.3]\n", "\n", "for penalty in penalties:\n", " output = generator(\n", " prompt,\n", " max_new_tokens=80,\n", " temperature=0.7,\n", " repetition_penalty=penalty,\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " generated = output[0]['generated_text'][len(prompt):]\n", " label = \"No penalty\" if penalty == 1.0 else f\"Penalty {penalty}\"\n", " print(f\"\\n{label} (repetition_penalty={penalty}):\")\n", " print(f\" {generated[:120]}...\")" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "t6qf1K5B81OS", "outputId": "281d3afa-2bc6-4cfe-b065-171d2fd76388" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\n", "πŸ“Š PARAMETER SUMMARY\n", "============================================================\n", "\n", "| Parameter | Effect | Typical Values |\n", "|--------------------|--------------------------------|----------------|\n", "| temperature | Higher = more random | 0.3-1.0 |\n", "| top_k | Limits token choices | 20-100 |\n", "| top_p | Nucleus sampling threshold | 0.8-0.95 |\n", "| repetition_penalty | Discourages repeated tokens | 1.0-1.5 |\n", "| max_tokens | Maximum output length | 50-500 |\n", "\n" ] } ], "source": [ "# Create a summary table\n", "print(\"\\nπŸ“Š PARAMETER SUMMARY\")\n", "print(\"=\" * 60)\n", "print(\"\"\"\n", "| Parameter | Effect | Typical Values |\n", "|--------------------|--------------------------------|----------------|\n", "| temperature | Higher = more random | 0.3-1.0 |\n", "| top_k | Limits token choices | 20-100 |\n", "| top_p | Nucleus sampling threshold | 0.8-0.95 |\n", "| repetition_penalty | Discourages repeated tokens | 1.0-1.5 |\n", "| max_tokens | Maximum output length | 50-500 |\n", "\"\"\")" ] }, { "cell_type": "markdown", "metadata": { "id": "CN_z-G_H81OS" }, "source": [ "## Part 3: Gradio Interface (5 points)" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "DtmP4y9V81OS", "outputId": "a137e54a-2406-40d6-ce49-5b2d713e7a23" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "🎨 GRADIO INTERFACE CREATED\n", "============================================================\n", "Run demo.launch() to start the interface\n" ] } ], "source": [ "import gradio as gr\n", "\n", "def generate_text(prompt, temperature, max_length):\n", " \"\"\"Generate text with specified parameters.\"\"\"\n", " if not prompt:\n", " return \"Please enter a prompt.\"\n", "\n", " result = generator(\n", " prompt,\n", " max_new_tokens=int(max_length),\n", " temperature=temperature,\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " return result[0]['generated_text']\n", "\n", "# Create Gradio interface\n", "demo = gr.Interface(\n", " fn=generate_text,\n", " inputs=[\n", " gr.Textbox(label=\"Prompt\", placeholder=\"Enter your prompt here...\", lines=2),\n", " gr.Slider(0.1, 1.5, value=0.7, step=0.1, label=\"Temperature\"),\n", " gr.Slider(20, 200, value=50, step=10, label=\"Max New Tokens\")\n", " ],\n", " outputs=gr.Textbox(label=\"Generated Text\", lines=5),\n", " title=\"πŸš€ Text Generator\",\n", " description=\"Generate creative text using GPT-2. Adjust temperature for creativity.\",\n", " examples=[\n", " [\"The future of technology is\", 0.7, 50],\n", " [\"Once upon a time in a magical forest\", 0.9, 100],\n", " [\"Dear customer, thank you for\", 0.5, 50]\n", " ]\n", ")\n", "\n", "print(\"🎨 GRADIO INTERFACE CREATED\")\n", "print(\"=\" * 60)\n", "print(\"Run demo.launch() to start the interface\")" ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 595 }, "id": "5haebKej81OS", "outputId": "9002468e-e69d-4383-dff2-bd81b80df865" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "* Running on local URL: http://127.0.0.1:7860\n", "* Running on public URL: https://286b750b9905015c55.gradio.live\n", "\n", "This share link expires in 1 week. For free permanent hosting and GPU upgrades, run `gradio deploy` from the terminal in the working directory to deploy to Hugging Face Spaces (https://huggingface.co/spaces)\n" ] }, { "data": { "text/html": [ "
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Launch the demo (in Colab, this creates a public URL)\n", "demo.launch(share=True)" ] }, { "cell_type": "markdown", "metadata": { "id": "uEiHQS0D81OS" }, "source": [ "## Part 4: HuggingFace Spaces Deployment (5 points)" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "fO8y8aXX81OS", "outputId": "25a0e795-48a8-43fd-ace9-4c9dab24f893" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "πŸ“„ APP.PY FOR HUGGINGFACE SPACES\n", "============================================================\n", "\n", "import gradio as gr\n", "from transformers import pipeline\n", "\n", "# Load model\n", "generator = pipeline(\"text-generation\", model=\"gpt2\")\n", "\n", "def generate_text(prompt, temperature, max_length):\n", " if not prompt:\n", " return \"Please enter a prompt.\"\n", "\n", " result = generator(\n", " prompt,\n", " max_new_tokens=int(max_length),\n", " temperature=temperature,\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " return result[0]['generated_text']\n", "\n", "demo = gr.Interface(\n", " fn=generate_text,\n", " inputs=[\n", " gr.Textbox(label=\"Prompt\", placeholder=\"Enter your prompt...\"),\n", " gr.Slider(0.1, 1.5, value=0.7, label=\"Temperature\"),\n", " gr.Slider(20, 200, value=50, label=\"Max Tokens\")\n", " ],\n", " outputs=gr.Textbox(label=\"Generated Text\"),\n", " title=\"Text Generator\",\n", " description=\"Generate text with GPT-2\"\n", ")\n", "\n", "demo.launch()\n", "\n", "Creating app.py file for HuggingFace Spaces...\n", "βœ… app.py file created successfully!\n" ] } ], "source": [ "# Generate the app.py file for Spaces\n", "app_code = '''\n", "import gradio as gr\n", "from transformers import pipeline\n", "\n", "# Load model\n", "generator = pipeline(\"text-generation\", model=\"gpt2\")\n", "\n", "def generate_text(prompt, temperature, max_length):\n", " if not prompt:\n", " return \"Please enter a prompt.\"\n", "\n", " result = generator(\n", " prompt,\n", " max_new_tokens=int(max_length),\n", " temperature=temperature,\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " return result[0]['generated_text']\n", "\n", "demo = gr.Interface(\n", " fn=generate_text,\n", " inputs=[\n", " gr.Textbox(label=\"Prompt\", placeholder=\"Enter your prompt...\"),\n", " gr.Slider(0.1, 1.5, value=0.7, label=\"Temperature\"),\n", " gr.Slider(20, 200, value=50, label=\"Max Tokens\")\n", " ],\n", " outputs=gr.Textbox(label=\"Generated Text\"),\n", " title=\"Text Generator\",\n", " description=\"Generate text with GPT-2\"\n", ")\n", "\n", "demo.launch()\n", "'''\n", "\n", "print(\"πŸ“„ APP.PY FOR HUGGINGFACE SPACES\")\n", "print(\"=\" * 60)\n", "print(app_code)\n", "\n", "# Creating app.py file for HuggingFace Spaces\n", "print(\"Creating app.py file for HuggingFace Spaces...\")\n", "with open(\"app.py\", \"w\") as f:\n", " f.write(app_code)\n", " print(\"βœ… app.py file created successfully!\")" ] }, { "cell_type": "code", "execution_count": 10, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "IaIPUIfv81OS", "outputId": "1c02aa16-265a-4e08-8c70-a958babe6e73" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "πŸ“„ REQUIREMENTS.TXT\n", "============================================================\n", "transformers\n", "gradio\n", "torch\n", "\n", "Creating requirements.txt file for HuggingFace Spaces...\n", "βœ… requirements.txt file created successfully!\n" ] } ], "source": [ "# Generate requirements.txt\n", "requirements = \"\"\"transformers\n", "gradio\n", "torch\n", "\"\"\"\n", "\n", "print(\"πŸ“„ REQUIREMENTS.TXT\")\n", "print(\"=\" * 60)\n", "print(requirements)\n", "\n", "# Creating requirements.txt file for HuggingFace Spaces\n", "print(\"Creating requirements.txt file for HuggingFace Spaces...\")\n", "with open(\"requirements.txt\", \"w\") as f:\n", " f.write(requirements)\n", " print(\"βœ… requirements.txt file created successfully!\")" ] }, { "cell_type": "markdown", "metadata": { "id": "VZr0AXb081OS" }, "source": [ "### Deployment Steps\n", "\n", "1. Go to [huggingface.co/spaces](https://huggingface.co/spaces)\n", "2. Click \"Create new Space\"\n", "3. Choose a name (e.g., `text-generator`)\n", "4. Select **Gradio** as the SDK\n", "5. Upload `app.py` and `requirements.txt`\n", "6. Wait for the build to complete\n", "7. **Copy your Space URL and paste it below!**" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "FcAThVIn81OS", "outputId": "a131f9b0-309d-45ae-92e8-1612a8fb93e3" }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "πŸš€ Example Text Generation\n", "============================================================\n", "URL: https://huggingface.co/spaces/AMahapatra1/Example_Text_Generation\n", "\n", "⚠️ My HuggingFace Space URL is shown above. Please check it out!\n" ] } ], "source": [ "# Record your Space URL\n", "space_url = \"https://huggingface.co/spaces/AMahapatra1/Example_Text_Generation\"\n", "\n", "print(\"πŸš€ Example Text Generation\")\n", "print(\"=\" * 60)\n", "print(f\"URL: {space_url}\")\n", "print(\"\\n⚠️ My HuggingFace Space URL is shown above. Please check it out!\")" ] }, { "cell_type": "markdown", "metadata": { "id": "OheE1egz81OS" }, "source": [ "## Part 5: Documentation (2 points)" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "LFO_UnFL81OS", "outputId": "478d358e-7e8a-46d0-850c-23a8d188d459" }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "You seem to be using the pipelines sequentially on GPU. In order to maximize efficiency please use a dataset\n", "Both `max_new_tokens` (=50) and `max_length`(=50) seem to have been set. `max_new_tokens` will take precedence. Please refer to the documentation for more information. (https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "πŸ“Š GENERATION SHOWCASE\n", "============================================================\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "Both `max_new_tokens` (=50) and `max_length`(=50) seem to have been set. `max_new_tokens` will take precedence. Please refer to the documentation for more information. (https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "\n", "Prompt: Write a professional email starting with: Dear hir...\n", "Output: I'm looking for a project manager, I'm looking for a project manager who can help me to get started...\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "Both `max_new_tokens` (=50) and `max_length`(=50) seem to have been set. `max_new_tokens` will take precedence. Please refer to the documentation for more information. (https://huggingface.co/docs/transformers/main/en/main_classes/text_generation)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "\n", "Prompt: Create a product description for: A smart water bo...\n", "Output: you can use to test your drink. You can add or remove liquids, fill, or even make an empty bottle. ...\n", "\n", "Prompt: Generate a tweet about: The benefits of remote wor...\n", "Output: , and the barriers to getting a job when you're not.\n", "\n", "The benefits of remote work, and the barriers ...\n" ] } ], "source": [ "# Test various generation scenarios\n", "test_prompts = [\n", " \"Write a professional email starting with: Dear hiring manager,\",\n", " \"Create a product description for: A smart water bottle that\",\n", " \"Generate a tweet about: The benefits of remote work\"\n", "]\n", "\n", "print(\"πŸ“Š GENERATION SHOWCASE\")\n", "print(\"=\" * 60)\n", "\n", "for prompt in test_prompts:\n", " output = generator(\n", " prompt,\n", " max_new_tokens=50,\n", " temperature=0.7,\n", " do_sample=True,\n", " pad_token_id=50256\n", " )\n", " print(f\"\\nPrompt: {prompt[:50]}...\")\n", " print(f\"Output: {output[0]['generated_text'][len(prompt):][:100]}...\")" ] }, { "cell_type": "markdown", "metadata": { "id": "CQbeiDLv81OT" }, "source": [ "---\n", "\n", "## Questions to Answer\n", "\n", "**Q1:** How do temperature and top-p affect output creativity?\n", "\n", "**A1:** Both control the randomness of the model, but for different outcomes:\n", "* **Temperature** flattens the probability distribution. At high temperatures, even \"unlikely\" words get a dcent chance to be picked, making the output more diverse (at high values) or selective (at low values)\n", "* **Top-*P*** acts as a dynamic safety net, ensuring that the model only chooses from a set of words that are actually plausible, cutting off the \"tail\" of irrelevant words (*tail* refers to the extreme ends of the probability distribution).\n", "Together, **temperature** and **top-*P*** balance creativity with coherency.\n", "\n", "**Q2:** What trade-offs did you make for Spaces deployment?\n", "\n", "**A2:** Since I am using the free tier of HuggingFace Spaces, I had to use the small version of GPT-2 instead of something like GPT-4 or Llama-3. High-memory GPUs as needed by those models are not available on the free tier. I also needed to stick with Gradio as the SDK for HuggingFace since it creates an interactive UI quickly, for quick deployment to Spaces.\n", "\n", "**Q3:** What would you add to make this production-ready?\n", "\n", "**A3:** A production-ready version of this would probably use a moderation feature to prevent both user input and model output from being accepted. Additionally, the main issue with this model is accuracy. Even the simplest input will produce nonsensical output. Deployment would necessitate a change in the underlying model or further tuning.\n", "\n", "**Q4:** Your HuggingFace Spaces URL:\n", "\n", "**A4:** https://huggingface.co/spaces/AMahapatra1/Example_Text_Generation" ] }, { "cell_type": "markdown", "metadata": { "id": "MCcXo2p781OT" }, "source": [ "---\n", "\n", "## Submission Checklist\n", "\n", "| Item | Points | Done? |\n", "|------|--------|-------|\n", "| Part 1: Text generation | 4 | ☐ |\n", "| Part 2: Parameter exploration | 4 | ☐ |\n", "| Part 3: Gradio interface | 5 | ☐ |\n", "| Part 4: Spaces deployment | 5 | ☐ |\n", "| Part 5: Documentation | 2 | ☐ |\n", "| **Total** | **20** | |\n", "\n", "**Don't forget to include your HuggingFace Spaces URL!**" ] } ], "metadata": { "colab": { "provenance": [] }, "kernelspec": { "display_name": ".venv", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.14.4" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "0212635835be4d08a0ff6d09506d6e71": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_48d03257f2414697a76d1c9e8aac55e5", "placeholder": "​", "style": "IPY_MODEL_c109fa25049c4e60bd363f9599231a24", "value": " 148/148 [00:00<00:00, 508.20it/s, Materializing param=transformer.wte.weight]" } }, "0dbf5823de294b78b9d116c7195f16f5": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "122f7e238e16402cb261d8395c5d8cd9": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_c86817446c844deabebd80069483d58e", "IPY_MODEL_7c4d5c7705fa4baa9eae7f3b48cf88fc", "IPY_MODEL_13c78d38a52d4ea9832a5848d58c6883" ], "layout": "IPY_MODEL_2546d55bd92248bf88336874415b3f43" } }, "13c78d38a52d4ea9832a5848d58c6883": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_9e73c1635509456887d0430d6fa23438", "placeholder": "​", "style": "IPY_MODEL_dcbe459af6f6408ab458baa350709e90", "value": " 456k/? [00:00<00:00, 4.14MB/s]" } }, "1683178243e2494c8c5c548181fd1caa": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "1ef1b2b7272844398611bba422d7eb5a": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "1f32f63b6b0b48c0b81b1e1e196e9586": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "20px" } }, "22429fe584b0471f9a257ff12dbebb94": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_32bc8cd0874c4455a6bcbd9b68566354", "IPY_MODEL_380e2157d5e8413ba192d4c8b09a08fe", "IPY_MODEL_0212635835be4d08a0ff6d09506d6e71" ], "layout": "IPY_MODEL_3ab234ca8c53456191e217ae00ef51be" } }, "237c6e653791467e872acf673a3ff535": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "248278914d8f42bfbb8a9b7f8e70c714": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_2931736c52524176857469780a8889e2", "IPY_MODEL_e5f9b86a7f644abcad08f46858b65cb6", "IPY_MODEL_dc1ab246b4fb48f995e0947c183b01b1" ], "layout": "IPY_MODEL_1683178243e2494c8c5c548181fd1caa" } }, "25180c25f023415888c8de0a8d215df9": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_c79ff632c9bf43d58078658742a7726e", "IPY_MODEL_442b34bc44f34587957d4dcaae583363", "IPY_MODEL_6fe2b2de74c4479cbae52a7cd1bf08c7" ], "layout": "IPY_MODEL_38df14a1410c47c9b76755107788e5ba" } }, "2546d55bd92248bf88336874415b3f43": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "272ac2119b3343e2a772d8824ac6c270": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "2931736c52524176857469780a8889e2": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_809109901448436cac03dec0659f7a61", "placeholder": "​", "style": "IPY_MODEL_a7399b17a05548e58c8001fe7363a752", "value": "tokenizer_config.json: 100%" } }, "2b3e002785a1450eb203e1a72ca9f988": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "2e82c253e88b4379a05d246c4ebcb410": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_f95e2dc22f384698b0f95d4c62e767d5", "placeholder": "​", "style": "IPY_MODEL_48bcdff92e774be38a51645a7407099d", "value": "tokenizer.json: " } }, "31820c763dc249b5bd7c6e65839a9197": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "32bc8cd0874c4455a6bcbd9b68566354": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_f56819bee3ee404190d89ab441fca724", "placeholder": "​", "style": "IPY_MODEL_a0541f14ad044ea19cf53181a63cb7d6", "value": "Loading weights: 100%" } }, "34605104a0e14229b48744a766fb90d0": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "380e2157d5e8413ba192d4c8b09a08fe": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_1ef1b2b7272844398611bba422d7eb5a", "max": 148, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_7ccb4a1f74ed428cbd987ad4d38aa782", "value": 148 } }, "38d31f9e6a3c49078108a274f698b12a": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "38df14a1410c47c9b76755107788e5ba": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "39bbef138d484166a9464e37b332a4ff": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_d3df61c97b684c1db74f66387c5b5a0f", "placeholder": "​", "style": "IPY_MODEL_414b22e0cc91448988ce660a5b3aa29b", "value": "config.json: 100%" } }, "3ab234ca8c53456191e217ae00ef51be": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "3bb3bb97f8f2459daf2eb61b92039bb1": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "3dec5e3d36bf49309f62704a8fef924e": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "414b22e0cc91448988ce660a5b3aa29b": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "442b34bc44f34587957d4dcaae583363": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_6545a3871f974cb09e65e5ce4ecc6090", "max": 548105171, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_9d5167479d52457f993d5982ec518d98", "value": 548105171 } }, "486c91cd5dc24206936732d4385825a1": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "48bcdff92e774be38a51645a7407099d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "48d03257f2414697a76d1c9e8aac55e5": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "4924a5a90d02474db51e48870f21d151": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_6417c16e656547048fe33da5795d04ef", "placeholder": "​", "style": "IPY_MODEL_f88575b368cc42f297ef596c5903363c", "value": " 1.36M/? [00:00<00:00, 6.06MB/s]" } }, "4ddb49a492934615a2a4ccd89a2c1371": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_c270d42329384834a1a60f5b739d125f", "IPY_MODEL_c091b43b1a054096920a30b659316c0e", "IPY_MODEL_741580e71603404a9ce4c59e944b00b9" ], "layout": "IPY_MODEL_82231601e4a84e5b85ad2b96f417d78f" } }, "6417c16e656547048fe33da5795d04ef": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "6545a3871f974cb09e65e5ce4ecc6090": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "673eabf330234f60968d004a0516c483": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_3dec5e3d36bf49309f62704a8fef924e", "placeholder": "​", "style": "IPY_MODEL_d288b43bbe1a4d6b88706b5c3888735a", "value": "generation_config.json: 100%" } }, "691218dbda5f45b08e36ed1b529f9472": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "692d64f7502846878d3b275bae5d611d": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "20px" } }, "698306c5a25544298947ab52d5013211": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "6fe2b2de74c4479cbae52a7cd1bf08c7": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_f702e2a95c5540f1bf5cc688d07f3ff8", "placeholder": "​", "style": "IPY_MODEL_34605104a0e14229b48744a766fb90d0", "value": " 548M/548M [00:10<00:00, 52.6MB/s]" } }, "740500ee7b104e309fbde222fe24138e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_673eabf330234f60968d004a0516c483", "IPY_MODEL_eac4701013a14512bf857ac9ec07e65d", "IPY_MODEL_f30468a3d3d749289d3b62911c2cfe73" ], "layout": "IPY_MODEL_94e0f3a07d18444d84ee2cb4b27dd7c9" } }, "741580e71603404a9ce4c59e944b00b9": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_698306c5a25544298947ab52d5013211", "placeholder": "​", "style": "IPY_MODEL_93026e704cc54df1a371be4645feda85", "value": " 1.04M/? [00:00<00:00, 5.90MB/s]" } }, "790e206e3dc6403fb12f1e72df3abca6": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": "20px" } }, "7c4d5c7705fa4baa9eae7f3b48cf88fc": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_790e206e3dc6403fb12f1e72df3abca6", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_b4637216522c46e4bc486e2585c94adf", "value": 1 } }, "7ccb4a1f74ed428cbd987ad4d38aa782": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "809109901448436cac03dec0659f7a61": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "82231601e4a84e5b85ad2b96f417d78f": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "8a39298ac71441319c3da581e7055b6a": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "8cf7b0cd1d9443f0835ef90cecd8b3d8": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "93026e704cc54df1a371be4645feda85": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "94e0f3a07d18444d84ee2cb4b27dd7c9": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "9d5167479d52457f993d5982ec518d98": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "9e73c1635509456887d0430d6fa23438": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "9fc03c2932ec4c2c8a0dad20c8644619": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "a0541f14ad044ea19cf53181a63cb7d6": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "a32d3653387a4034ab533f053d30696b": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "a66786240c704d0bad55e1b75bab8d1b": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "a7399b17a05548e58c8001fe7363a752": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "a80f32e773704543a3da98c0109b4c6d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_ebcc2b2c5af748f2a32fa8caca097cdc", "max": 665, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_9fc03c2932ec4c2c8a0dad20c8644619", "value": 665 } }, "ad3a7e15a4074bb389cbe2c1e418fb47": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_39bbef138d484166a9464e37b332a4ff", "IPY_MODEL_a80f32e773704543a3da98c0109b4c6d", "IPY_MODEL_ad5a710d553842c88b6e0febf7190b0a" ], "layout": "IPY_MODEL_8a39298ac71441319c3da581e7055b6a" } }, "ad5a710d553842c88b6e0febf7190b0a": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_38d31f9e6a3c49078108a274f698b12a", "placeholder": "​", "style": "IPY_MODEL_b64084fedf3a4c63b9fffedcb48dea4d", "value": " 665/665 [00:00<00:00, 50.3kB/s]" } }, "b4637216522c46e4bc486e2585c94adf": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "b4f0f045bdcf4922b998a283bc08cc60": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HBoxModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HBoxView", "box_style": "", "children": [ "IPY_MODEL_2e82c253e88b4379a05d246c4ebcb410", "IPY_MODEL_df984d632e474c89afca9ef5f433ab71", "IPY_MODEL_4924a5a90d02474db51e48870f21d151" ], "layout": "IPY_MODEL_486c91cd5dc24206936732d4385825a1" } }, "b64084fedf3a4c63b9fffedcb48dea4d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "bb5c97c29fe84ab0acef16992dc20099": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "bf358e1bde9741a0af331bdcfcae57de": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "c091b43b1a054096920a30b659316c0e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_1f32f63b6b0b48c0b81b1e1e196e9586", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_272ac2119b3343e2a772d8824ac6c270", "value": 1 } }, "c109fa25049c4e60bd363f9599231a24": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "c270d42329384834a1a60f5b739d125f": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_bb5c97c29fe84ab0acef16992dc20099", "placeholder": "​", "style": "IPY_MODEL_8cf7b0cd1d9443f0835ef90cecd8b3d8", "value": "vocab.json: " } }, "c79ff632c9bf43d58078658742a7726e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_a32d3653387a4034ab533f053d30696b", "placeholder": "​", "style": "IPY_MODEL_2b3e002785a1450eb203e1a72ca9f988", "value": "model.safetensors: 100%" } }, "c86817446c844deabebd80069483d58e": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_a66786240c704d0bad55e1b75bab8d1b", "placeholder": "​", "style": "IPY_MODEL_de7cb811a5a54123ad1c2a3e4edc46fd", "value": "merges.txt: " } }, "d288b43bbe1a4d6b88706b5c3888735a": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "d3df61c97b684c1db74f66387c5b5a0f": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "dc1ab246b4fb48f995e0947c183b01b1": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_237c6e653791467e872acf673a3ff535", "placeholder": "​", "style": "IPY_MODEL_e024941c9689499bbb458bd212b579ec", "value": " 26.0/26.0 [00:00<00:00, 1.67kB/s]" } }, "dcbe459af6f6408ab458baa350709e90": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "de7cb811a5a54123ad1c2a3e4edc46fd": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "df984d632e474c89afca9ef5f433ab71": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_692d64f7502846878d3b275bae5d611d", "max": 1, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_691218dbda5f45b08e36ed1b529f9472", "value": 1 } }, "e024941c9689499bbb458bd212b579ec": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "e5f9b86a7f644abcad08f46858b65cb6": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_e696a18f9926419cbe49ee9a644d51ce", "max": 26, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_0dbf5823de294b78b9d116c7195f16f5", "value": 26 } }, "e696a18f9926419cbe49ee9a644d51ce": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "eac4701013a14512bf857ac9ec07e65d": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "FloatProgressModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "ProgressView", "bar_style": "success", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_bf358e1bde9741a0af331bdcfcae57de", "max": 124, "min": 0, "orientation": "horizontal", "style": "IPY_MODEL_f12ac07e1e2d4027a4edf1e037c719e0", "value": 124 } }, "ebcc2b2c5af748f2a32fa8caca097cdc": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "f12ac07e1e2d4027a4edf1e037c719e0": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "ProgressStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "bar_color": null, "description_width": "" } }, "f30468a3d3d749289d3b62911c2cfe73": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "HTMLModel", "state": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": "HTMLView", "description": "", "description_tooltip": null, "layout": "IPY_MODEL_3bb3bb97f8f2459daf2eb61b92039bb1", "placeholder": "​", "style": "IPY_MODEL_31820c763dc249b5bd7c6e65839a9197", "value": " 124/124 [00:00<00:00, 6.62kB/s]" } }, "f56819bee3ee404190d89ab441fca724": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "f702e2a95c5540f1bf5cc688d07f3ff8": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } }, "f88575b368cc42f297ef596c5903363c": { "model_module": "@jupyter-widgets/controls", "model_module_version": "1.5.0", "model_name": "DescriptionStyleModel", "state": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", "_model_name": "DescriptionStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "StyleView", "description_width": "" } }, "f95e2dc22f384698b0f95d4c62e767d5": { "model_module": "@jupyter-widgets/base", "model_module_version": "1.2.0", "model_name": "LayoutModel", "state": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", "_model_name": "LayoutModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", "_view_name": "LayoutView", "align_content": null, "align_items": null, "align_self": null, "border": null, "bottom": null, "display": null, "flex": null, "flex_flow": null, "grid_area": null, "grid_auto_columns": null, "grid_auto_flow": null, "grid_auto_rows": null, "grid_column": null, "grid_gap": null, "grid_row": null, "grid_template_areas": null, "grid_template_columns": null, "grid_template_rows": null, "height": null, "justify_content": null, "justify_items": null, "left": null, "margin": null, "max_height": null, "max_width": null, "min_height": null, "min_width": null, "object_fit": null, "object_position": null, "order": null, "overflow": null, "overflow_x": null, "overflow_y": null, "padding": null, "right": null, "top": null, "visibility": null, "width": null } } } } }, "nbformat": 4, "nbformat_minor": 0 }