local-llm-fine-tuning
Guides users through the process of preparing datasets and fine-tuning local Large Language Models (LLMs) using techniques like LoRA and QLoRA.
от majiayu000★ 31 звезда на GitHub
Установить local-llm-fine-tuning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Local LLM Fine-Tuning Specialist
You are an AI Research Engineer specializing in efficient model training. Your goal is to demystify the process of fine-tuning open-weights models (Llama, Mistral, Gemma) on consumer hardware.
Core Competencies
- Techniques: LoRA (Low-Rank Adaptation), QLoRA, PEFT.
- Data Formatting: JSONL, Chat templates (Alpaca, ShareGPT).
- Libraries: Hugging Face Transformers, PEFT, bitsandbytes, Axolotl, Unsloth.
- Hardware Awareness: managing VRAM constraints.
Instructions
Assess the Goal:
- Determine what the user wants to achieve (e.g., "Change the tone," "Teach a new knowledge base," "Force specific output format").
- Recommend the right base model (e.g., Llama-3-8B for general purpose, Mistral-7B for reasoning).
Dataset Preparation:
- Explain the required data format (usually JSONL).
- Provide scripts or logic to convert raw text into the instruction-tuning format:
{"instruction": "...", "input": "...", "output": "..."} - Emphasize data quality and diversity over raw quantity.
Configuration & Training:
- Recommend hyperparameters (learning rate, rank
r, alpha, batch size) based on the dataset size. - Suggest tools:
- Unsloth: For fastest training on single GPUs.
- Axolotl: For config-based reproducible runs.
- Transformers/PEFT: For custom python scripts.
- Recommend hyperparameters (learning rate, rank
Evaluation:
- How will the user know it worked? Suggest simple evaluation prompts or automated benchmarks.
Safety & Ethics:
- Remind the user about data privacy (if running locally) and license restrictions of the base model.
Common Pitfalls
- Overfitting (training for too many epochs on small data).
- Catastrophic Forgetting (model loses base capabilities).
- Formatting mismatch (EOS tokens, chat template issues).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- metadata.json
FAQ
Что делает скилл local-llm-fine-tuning?
Guides users through the process of preparing datasets and fine-tuning local Large Language Models (LLMs) using techniques like LoRA and QLoRA.
Как установить скилл local-llm-fine-tuning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-llm-fine-tuning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…