Fine-Tune Qwen LoRA on Free Kaggle GPUs

    by 禮江東

    1

    - `scripts/train_lora.py` — the Unsloth training script (LoRA r=16/alpha=32, 7 target modules, ChatML rendering, user-turn masking, lm_head unfrozen and saved separately).

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Fine-Tune Qwen LoRA on Free Kaggle GPUs

    Example session with this skill installed

    Fine-tune Qwen2.5-0.5B on my own Chinese Q&A data using free Kaggle GPUs.

    • Read your context and instructions
    • Compiled the fine-tune qwen lora

    A LoRA adapter plus a trained lm_head that answers in clean Chinese and stops by itself, with a loss curve and a 3-question regression report.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A complete, tested recipe for fine-tuning a small Qwen model on Kaggle's free GPUs. It is the real pipeline behind 13 training rounds (v4–v16 plus a 1.5B run): every number in the evidence table below was measured on this recipe, and every mistake in it was paid for in quota before it was written down.

    Use when the user wants to fine-tune a small open model (Qwen2.5-0.5B or 1.5B) on free GPUs, build Chinese SFT data with a free distillation teacher, or debug a LoRA model that will not stop generating.

    • scripts/train_lora.py — the Unsloth training script (LoRA r=16/alpha=32, 7 target modules, ChatML rendering, user-turn masking, lm_head unfrozen and saved separately).
    • scripts/build_data.py — data prep: validates a ChatML JSONL file (format, tool-call JSON, U+FFFD/qDebug scan) and shows the Groq distillation call pattern (key from the environment, never in code).
    • scripts/eval_stop.py — the 3-question regression test: checks that answers self-stop cleanly, plus held-out tool-call phrasings.
    • examples/sample_data.txt — 8 rows in the exact training format (JSONL: one JSON object per line; the .txt extension is only because the Agensi API does not accept .jsonl uploads — copy it to .jsonl to train on it).
    • examples/sample_eval_output.json — what a passing eval looks like.
    VersionData rowsTool rowsStepsFinal lossStoppingTool calling
    v124,939—9001.738fixed, 3/3 stop—
    v136,313—1,1001.75053/3 stop—
    v147,239308 (4.3%)1,2001.61833/3 stopnot learned
    v158,7981,244 (14.1%)1,2001.44833/3 stop0/11 held-out
    v1610,8992,738 (25.1%)1,2001.29383/3 stop0/11; closest miss is a stray }
    1.5B7,862—1,2001.40083/3 stopnot learned

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Tool calling is not learned as of v16 (0/11 on held-out phrasings); joke quality is weak; a 0.5B model is small.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Accounts
    Hugging FaceKaggle account (free)Groq API key (free tier)
    Software
    Python 3.10+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    kaggle.com
    api.groq.com
    huggingface.co

    Keys live in the environment, never in code or data files.

    Listedtoday

    What's inside

    Frequently Asked Questions

    Fine-tune Qwen2.5-0.5B with LoRA on free Kaggle GPUs (Tesla T4 x2), the exact recipe that took a model from broken stopping to clean, self-stopping Chinese answers across 13 training rounds. Covers Kaggle setup, Groq-teacher data distillation, Unsloth training with the lm_head fix, and the 3-questio

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Fine-Tune Qwen LoRA on Free Kaggle GPUs on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in LLM Ops