Fine-tune LLMs on Google Colab GPUs directly from openscience. Connects to Colab runtimes via WebSocket bridge for remote training with Unsloth. Supports SFT, GRPO, DPO, vision, and TTS workflows on free T4 to Pro A100 GPUs.
57
66%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./backend/cli/skills/ml-training/colab-finetuning/SKILL.mdFine-tune LLMs using Google Colab GPUs directly from the openscience CLI. Connect to free or paid Colab runtimes and run Unsloth training workflows remotely.
Use Colab when:
Don't use Colab when:
Colab vs Alternatives:
| Need | Use |
|---|---|
| Free GPU, quick experiments | Google Colab |
| Managed cloud training (any size) | Tinker |
| Persistent multi-GPU training | Lambda / RunPod |
| Local GPU available | Unsloth directly |
| Enterprise with SLA | Colab Enterprise (Vertex AI) |
Use colab_notebook tool with workflow="bridge"This creates a openscience-bridge.ipynb file that establishes a WebSocket tunnel between openscience and the Colab GPU.
Use colab_connect tool with connection_url="wss://..."Use colab_finetune tool with:
workflow: "sft"
model: "unsloth/Qwen3-4B-unsloth-bnb-4bit"
dataset: "mlabonne/FineTome-100k"Or execute individual cells:
Use colab_execute tool with code="import torch; print(torch.cuda.get_device_name(0))"| Tier | GPU | VRAM | Max Model (QLoRA) | Session Limit |
|---|---|---|---|---|
| Free | T4 | 15 GB | ~14B | 12h, may disconnect |
| Pro ($10/mo) | T4/V100/A100 | 16-40 GB | ~32B | 24h, priority |
| Pro+ ($50/mo) | A100 (80GB) | 80 GB | ~72B | 24h, guaranteed |
| Enterprise | Configurable | Any | Any | No limit |
See references/gpu-tiers.md for detailed VRAM requirements.
| Tool | Purpose |
|---|---|
colab_connect | Connect to a Colab runtime (standard bridge or enterprise) |
colab_execute | Run arbitrary Python code on the connected GPU |
colab_status | Check GPU, memory, disk, connection status |
colab_finetune | Run complete Unsloth training workflow (SFT/GRPO/DPO/vision/TTS) |
colab_notebook | Generate .ipynb notebooks for Colab |
Standard instruction tuning. Best for: chat models, domain adaptation, format learning.
colab_finetune workflow=sft model="unsloth/Qwen3-4B-unsloth-bnb-4bit" dataset="mlabonne/FineTome-100k"Train reasoning models with reward functions. Best for: math, coding, structured output.
colab_finetune workflow=grpo model="unsloth/Qwen3-4B-unsloth-bnb-4bit" dataset="your-dataset"Align models with human preferences. Requires chosen/rejected pairs.
colab_finetune workflow=dpo model="unsloth/Llama-3.1-8B-unsloth-bnb-4bit" dataset="HuggingFaceH4/ultrafeedback_binarized"Fine-tune vision-language models (Qwen3-VL, Gemma 3, Llama 3.2 Vision).
colab_finetune workflow=vision model="unsloth/Qwen3-VL-2B-unsloth-bnb-4bit" dataset="your-vision-dataset"Fine-tune text-to-speech models (Orpheus, Sesame-CSM).
colab_finetune workflow=tts model="unsloth/orpheus-3b-0.1-ft-unsloth-bnb-4bit" dataset="your-tts-dataset"colab_status detail=gpu.colab_finetune. For custom packages, use colab_execute with pip install.colab_connect mode=enterprise project_id="your-project"See references/troubleshooting.md for more solutions.
52845c3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.