Files
speech-nano/colab_smooth_finetune.ipynb

47 lines
1.1 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Inflect-Nano Smoothness Fine-Tuning\n",
"Single-click pipeline. Each cell is safe to re-run \u2014 it skips steps already completed.\n",
"\n",
"**Runtime \u2192 Change runtime type \u2192 T4 GPU**"
]
},
{
"cell_type": "code",
"metadata": {
"id": "runner"
},
"source": [
"# Download the runner script and execute it\n",
"import os, sys, subprocess\n",
"from pathlib import Path\n",
"\n",
"REPO = Path(\"/content/speech-nano\")\n",
"if not REPO.exists():\n",
" subprocess.run([\"git\", \"clone\", \"https://git.quietidiot.com/michael-treadgold/speech-nano.git\", str(REPO)], check=False)\n",
"else:\n",
" subprocess.run([\"git\", \"-C\", str(REPO), \"pull\"], check=False)\n",
"\n",
"sys.path.insert(0, str(REPO))\n",
"os.chdir(REPO)\n",
"\n",
"# Run the pipeline\n",
"exec(open(\"colab_run.py\").read())"
],
"execution_count": null,
"outputs": []
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": []
}
},
"nbformat": 4,
"nbformat_minor": 5
}