UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
データ・研究 · SKILL.md

training-data-and-export

training-data-and-export

Prepare FunASR training manifests, distributed training configs, export artifacts, and local post-export checks.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: training-data-and-export description: "Prepare FunASR training manifests, distributed training configs, export artifacts, and local post-export checks." metadata: disco-role: operating disable-model-invocation: true license: NOASSERTION

Training Data and Export

Use this sub-skill when the user asks to prepare FunASR training data, build or validate JSONL manifests, launch a bounded training or fine-tuning run, reason about distributed training overrides, export a model, or run local inference against a trained/exported model.

Route first

Boundaries

This sub-skill owns:

  • funasr-train, funasr-train-ds, funasr-export, and python -m funasr.bin.inference command patterns.
  • scp2jsonl, jsonl2scp, and sensevoice2jsonl data-format behavior, with safer bundled helpers for tiny fixtures and preflight checks.
  • Distributed training precedence among top-level Hydra overrides, nested train_conf, DDP, FSDP, and DeepSpeed.
  • Checkpoint retention, validated-versus-unvalidated checkpoint ranking, exported-model local inference, ONNX runtime package expectations, and wheel/package-data checks.

Route elsewhere:

  • Basic transcription, subtitles, hotwords, and ordinary AutoModel.generate() usage: ../python-asr-pipelines/.
  • OpenAI-compatible serving, realtime WebSocket serving, MCP, Docker, runtime SDK, Triton, GGUF, or deployed smoke checks: ../serving-and-runtime/.
  • Fun-ASR-Nano, GLM-ASR, Qwen3-ASR, AutoModelVLLM, vLLM, and model-family acceleration caveats: ../llm-asr-and-vllm/.

Safe operating defaults

  1. Validate manifests before training. Treat duplicate keys, missing source/target, mismatched key sets, missing local audio, and bad source_len/target_len as blockers unless the user intentionally accepts them.
  2. Prefer CPU/help/static checks while drafting commands. Full training, export with model download, and ONNX runtime smoke can be slow or require optional packages.
  3. Put distributed engine choices at top level when they must override a model or template config. Nested train_conf values are accepted, but top-level ++use_deepspeed, ++use_fsdp, and ++deepspeed_config take precedence.
  4. If a trained local model lacks configuration.json, do not guess. Use the explicit config path/name, checkpoint, token list, and CMVN file described in references/export-and-onnx.md.
保存したスキル