{ "cells": [ { "cell_type": "markdown", "id": "7d7feba1-086e-4e5f-9fd8-570ecacc5205", "metadata": {}, "source": [ "## Setting up" ] }, { "cell_type": "code", "execution_count": 3, "id": "6b17d385-ca37-4e8a-937d-bebbd221a386", "metadata": {}, "outputs": [], "source": [ "%%capture\n", "%pip install -U datasets \n", "%pip install -U accelerate \n", "%pip install -U peft \n", "%pip install -U trl \n", "%pip install -U bitsandbytes\n", "%pip install huggingface_hub[hf_xet]" ] }, { "cell_type": "code", "execution_count": 4, "id": "18b1954e-46e9-4877-940d-ff424cef921e", "metadata": {}, "outputs": [], "source": [ "%%capture\n", "!pip install transformers==4.51.0" ] }, { "cell_type": "code", "execution_count": 2, "id": "cca3c6fa-0f55-4944-8cf1-be8f130cc1e3", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "993b193c89c14e919fe0841db78c7011", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='
Step | \n", "Training Loss | \n", "
---|---|
50 | \n", "2.918900 | \n", "
100 | \n", "2.391100 | \n", "
150 | \n", "2.437700 | \n", "
200 | \n", "2.412300 | \n", "
250 | \n", "2.480700 | \n", "
"
],
"text/plain": [
"