File contents Unsloth Studio Training
Manage LLM fine-tuning jobs through Unsloth Studio's local web UI and API.
Quick Start
# Check if studio is running
curl -s http://localhost:8888/api/health | jq
# Login and get token
RESPONSE=$(curl -s -X POST http://localhost:8888/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "admin", "password": "your-password"}')
export UNSLOTH_STUDIO_TOKEN=$(echo $RESPONSE | jq -r '.access_token')
# Start training
curl -X POST http://localhost:8888/api/train/start \
-H "Authorization: Bearer $UNSLOTH_STUDIO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model_name": "unsloth/llama-3.2-3b-instruct-bnb-4bit", ...}'
Workflow
1. Docker Setup → [docker.md](references/docker.md)
2. Authenticate → [authentication.md](references/authentication.md)
3. Prepare Dataset → [datasets.md](references/datasets.md)
4. Train Model → [training.md](references/training.md)
5. Export Model → [export.md](references/export.md)
6. Run Inference → [inference.md](references/inference.md)
Reference Files
File
Purpose
docker.md
Docker discovery, setup, container management
authentication.md
JWT auth, login/signup, token refresh
training.md
Start/stop jobs, monitor progress, hyperparams
datasets.md
Upload, list, format datasets
export.md
GGUF, merged, LoRA export, HF Hub
inference.md
Chat completion, streaming, tools
data-recipes.md
Dataset creation workflow
cli.md
Command-line reference
API Endpoints
Method
Endpoint
Description
GET
/api/health
Health check
POST
/api/auth/login
Login
POST
/api/train/start
Start training
GET
/api/train/stream
SSE progress stream
POST
/api/train/stop
Stop training
GET
/api/models/
List models
GET
/api/datasets/
List datasets
POST
/api/inference/chat
Chat inference
Training Methods
Method
VRAM (7B)
Description
qlora
~4GB
4-bit quantized + LoRA
lora
~16GB
Full precision + LoRA
full
~28GB
All weights trained
Environment Variables
UNSLOTH_STUDIO_URL=http://localhost:8888
UNSLOTH_STUDIO_TOKEN=<jwt_token>
Related Docs
1 --- 2 name: unsloth-studio-training 3 description: Unsloth Studio Training 4 --- 5 6 # Unsloth Studio Training 7 8 Manage LLM fine-tuning jobs through Unsloth Studio's local web UI and API. 9 10 ## Quick Start 11 12 ```bash 13 # Check if studio is running 14 curl -s http://localhost:8888/api/health | jq 15 16 # Login and get token 17 RESPONSE=$(curl -s -X POST http://localhost:8888/api/auth/login \ 18 -H "Content-Type: application/json" \ 19 -d '{"username": "admin", "password": "your-password"}') 20 export UNSLOTH_STUDIO_TOKEN=$(echo $RESPONSE | jq -r '.access_token') 21 22 # Start training 23 curl -X POST http://localhost:8888/api/train/start \ 24 -H "Authorization: Bearer $UNSLOTH_STUDIO_TOKEN" \ 25 -H "Content-Type: application/json" \ 26 -d '{"model_name": "unsloth/llama-3.2-3b-instruct-bnb-4bit", ...}' 27 ``` 28 29 ## Workflow 30 31 ``` 32 1. Docker Setup → [docker.md](references/docker.md) 33 2. Authenticate → [authentication.md](references/authentication.md) 34 3. Prepare Dataset → [datasets.md](references/datasets.md) 35 4. Train Model → [training.md](references/training.md) 36 5. Export Model → [export.md](references/export.md) 37 6. Run Inference → [inference.md](references/inference.md) 38 ``` 39 40 ## Reference Files 41 42 | File | Purpose | 43 |------|---------| 44 | [docker.md](references/docker.md) | Docker discovery, setup, container management | 45 | [authentication.md](references/authentication.md) | JWT auth, login/signup, token refresh | 46 | [training.md](references/training.md) | Start/stop jobs, monitor progress, hyperparams | 47 | [datasets.md](references/datasets.md) | Upload, list, format datasets | 48 | [export.md](references/export.md) | GGUF, merged, LoRA export, HF Hub | 49 | [inference.md](references/inference.md) | Chat completion, streaming, tools | 50 | [data-recipes.md](references/data-recipes.md) | Dataset creation workflow | 51 | [cli.md](references/cli.md) | Command-line reference | 52 53 ## API Endpoints 54 55 | Method | Endpoint | Description | 56 |--------|----------|-------------| 57 | `GET` | `/api/health` | Health check | 58 | `POST` | `/api/auth/login` | Login | 59 | `POST` | `/api/train/start` | Start training | 60 | `GET` | `/api/train/stream` | SSE progress stream | 61 | `POST` | `/api/train/stop` | Stop training | 62 | `GET` | `/api/models/` | List models | 63 | `GET` | `/api/datasets/` | List datasets | 64 | `POST` | `/api/inference/chat` | Chat inference | 65 66 ## Training Methods 67 68 | Method | VRAM (7B) | Description | 69 |--------|-----------|-------------| 70 | `qlora` | ~4GB | 4-bit quantized + LoRA | 71 | `lora` | ~16GB | Full precision + LoRA | 72 | `full` | ~28GB | All weights trained | 73 74 ## Environment Variables 75 76 ```bash 77 UNSLOTH_STUDIO_URL=http://localhost:8888 78 UNSLOTH_STUDIO_TOKEN=<jwt_token> 79 ``` 80 81 ## Related Docs 82 83 - [Unsloth Studio Docs](https://unsloth.ai/docs/new/studio) 84 - [Getting Started](https://unsloth.ai/docs/new/studio/start) 85 - [Data Recipes](https://unsloth.ai/docs/new/studio/data-recipe)
mkurman/unsloth-studio-docker/tree/main/.claude/skills/unsloth-studio-training commit 0ac75ba022
Frequently asked questions How do I install the Unsloth Studio Training skill? Run npx skillmds@latest add mkurman/unsloth-studio-training in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Unsloth Studio Training skill do? Unsloth Studio Training It is listed under Coding & Dev Tools on SkillMD.
Is Unsloth Studio Training safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Unsloth Studio Training? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Unsloth Studio Training free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Unsloth Studio Training? mkurman (@mkurman) published this skill. Their other Agent Skills are listed on their SkillMD profile.