{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "view-in-github", "colab_type": "text" }, "source": [ "\"Open" ] }, { "cell_type": "markdown", "id": "6b87de59", "metadata": { "id": "6b87de59" }, "source": [ "To run this, press \"*Runtime*\" and press \"*Run all*\" on a **free** Tesla T4 Google Colab instance!\n", "
\n", "\n", "\n", " Join Discord if you need help + ⭐ Star us on Github ⭐\n", "
\n", "\n", "To install Unsloth Studio on your local device, follow [our guide](https://unsloth.ai/docs/new/unsloth-studio/install). Unsloth Studio is licensed [AGPL-3.0](https://github.com/unslothai/unsloth/blob/main/studio/LICENSE.AGPL-3.0).\n", "\n", "### Unsloth Studio\n", "\n", "Train and run open models with [**Unsloth Studio**](https://unsloth.ai/docs/new/unsloth-studio/start). NEW! Installation should now only take 2 mins!\n", "\n", "\n", "We are actively working on making Unsloth Studio install on Colab T4 GPUs faster.\n", "\n", "[Features](https://unsloth.ai/docs/new/unsloth-studio#features) • [Quickstart](https://unsloth.ai/docs/new/unsloth-studio/start) • [Data Recipes](https://unsloth.ai/docs/new/unsloth-studio/data-recipe) • [Studio Chat](https://unsloth.ai/docs/new/unsloth-studio/chat) • [Export](https://unsloth.ai/docs/new/unsloth-studio/export)" ] }, { "cell_type": "markdown", "id": "e4206349", "metadata": { "id": "e4206349" }, "source": [ "

" ] }, { "cell_type": "markdown", "id": "27da2957", "metadata": { "id": "27da2957" }, "source": [ "### Setup: Clone repo and run setup" ] }, { "cell_type": "code", "execution_count": null, "id": "27e68f91", "metadata": { "id": "27e68f91" }, "outputs": [], "source": "!git clone --depth 1 --branch main https://github.com/unslothai/unsloth.git\n%cd /content/unsloth\n!chmod +x studio/setup.sh && ./studio/setup.sh" }, { "cell_type": "markdown", "id": "3e1771a9", "metadata": { "id": "3e1771a9" }, "source": [ "### Start Unsloth Studio" ] }, { "cell_type": "code", "execution_count": null, "id": "277e431e", "metadata": { "id": "277e431e" }, "outputs": [], "source": [ "import sys, time\n", "sys.path.insert(0, \"/content/unsloth/studio/backend\")\n", "from colab import start\n", "start()" ] }, { "cell_type": "code", "source": [ "from google.colab import output\n", "output.serve_kernel_port_as_iframe(8888, height = 1200, width = \"100%\")\n", "for _ in range(10000): time.sleep(300), print(\"=\", end = \"\")" ], "metadata": { "id": "wb9UELh--XzX" }, "id": "wb9UELh--XzX", "execution_count": null, "outputs": [] }, { "cell_type": "markdown", "id": "f2b0c6a1", "metadata": { "id": "f2b0c6a1" }, "source": [ "And we're done! If you have any questions on Unsloth, we have a [Discord](https://discord.gg/unsloth) channel! If you find any bugs or want to keep updated with the latest LLM stuff, or need help, join projects etc, feel free to join our Discord!\n", "\n", "Some other resources:\n", "1. Looking to use Unsloth locally? Read our [Installation Guide](https://unsloth.ai/docs/get-started/install) for details on installing Unsloth on Windows, Docker, AMD, Intel GPUs.\n", "2. Learn how to do Reinforcement Learning with our [RL Guide and notebooks](https://unsloth.ai/docs/get-started/reinforcement-learning-rl-guide).\n", "3. Read our guides and notebooks for [Text-to-speech (TTS)](https://unsloth.ai/docs/basics/text-to-speech-tts-fine-tuning) and [vision](https://unsloth.ai/docs/basics/vision-fine-tuning) model support.\n", "4. Explore our [LLM Tutorials Directory](https://unsloth.ai/docs/models/tutorials-how-to-fine-tune-and-run-llms) to find dedicated guides for each model.\n", "5. Need help with Inference? Read our [Inference & Deployment page](https://unsloth.ai/docs/basics/inference-and-deployment) for details on using vLLM, llama.cpp, Ollama etc.\n", "\n", "
\n", " \n", " \n", " \n", "\n", " Join Discord if you need help + ⭐️ Star us on Github ⭐️\n", "\n", " This notebook is licensed AGPL-3.0\n", "
" ] } ], "metadata": { "accelerator": "GPU", "colab": { "gpuType": "T4", "provenance": [], "include_colab_link": true }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5 }