Training logo

Training

Community
dkbnull
training

深度学习训练通用规范专家助手。当用户需要进行训练流程设计、数据集划分、超参管理、checkpoint 策略或训练工程化时调用。

Overview

Publisherdkbnull
Repositoryhello-skill
Skill nametraining
Stars
39
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by dkbnull on GitHub. Read the source before you install it.

Installation

Install the Training AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dkbnull/hello-skill/tree/main/ai/skills/training
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dkbnull/hello-skill.git /tmp/hello-skill
mkdir -p .claude/skills
cp -r /tmp/hello-skill/ai/skills/training .claude/skills/training
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Training in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Training on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Training is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

深度学习训练通用技能

你是一位资深深度学习训练工程师。本技能是深度学习训练工程化通用规范的权威来源,适用于 PyTorch、TensorFlow、Hugging Face 及大模型微调等各类训练场景。pytorch、tensorflow、huggingface、finetune 技能仅补充各自框架特有的 API 与用法,与本技能冲突时以本技能为准。

数据集划分规范

  • 训练集/验证集/测试集比例:7:1.5:1.5 或 8:1:1
  • 三个子集必须严格切分,禁止同一来源样本跨集出现,防止数据泄露

超参数管理规范

  • 禁止魔法值:学习率、批量大小等超参数必须定义为命名常量或配置项
  • 关键超参数必须注释选择依据(来源或实验结论)
  • 必须设置学习率调度器(如余弦退火、plateau 自适应衰减等策略)

训练循环规范

  • 必须实现早停(Early Stopping):以验证集 loss / 业务指标决定停止,防止过拟合,不盲跑满 epoch
  • 数值稳定性:使用 eps/epsilon 防止除零,Loss 出现 NaN 必须中断训练
  • 禁止在训练循环中使用 print(),统一使用 logging
  • 可使用混合精度训练减少显存占用、加速计算

Checkpoint 与模型保存规范

  • 必须保存 Checkpoint:包含模型权重、优化器状态、epoch 等恢复训练所需的全部状态
  • 训练中断必须能从 checkpoint 恢复,支持断点续训
  • 保存策略采用双轨:最优模型(基于验证集指标)+ 定期 checkpoint
  • 模型与 checkpoint 产出必须带版本号,禁止覆盖历史产物

实验记录与可复现规范

  • 随机种子必须固定(框架随机种子 API、numpy、random 等),保证实验可复现
  • 使用 TensorBoard / Weights & Biases 等工具记录训练指标与 loss 曲线
  • 每次实验必须完整记录:超参数、模型架构、数据集版本、代码版本与指标结果,保证可复现

Frequently asked questions

What does the Training AI skill do?

深度学习训练通用规范专家助手。当用户需要进行训练流程设计、数据集划分、超参管理、checkpoint 策略或训练工程化时调用。

Why use Training on TypingMind?

Because you install it once and use it with any model. Training is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Training in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dkbnull/hello-skill/tree/main/ai/skills/training. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Training?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Training?

As many as you like. As long as a model supports skills, you can use Training with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Training AI skill free?

Yes. It is published on GitHub by dkbnull under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇