技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
lmflow【数据与研究】Routes LMFlow dataset, training, inference, evaluation, alignment, and multimodal workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill for the LMFlow package when the task is about datasets, fine-tuning, inference, evaluation, post-training alignment, or optional multimodal extensions.
references/repo-provenance.md when you need to compare this skill against the current checkout or decide whether it should be refreshed.references/installation-and-environment.md for install variants, optional extras, and backend split guidance.references/api-map.md for the core dataclasses, package entry points, and route map.scripts/check_lmflow_environment.py when you need a quick import and backend smoke check.From the repository root, the base editable install is:
python -m pip install -e .
Base install covers LMFlow import, dataset utilities, full/LoRA/LISA fine-tuning, and Hugging Face-style inference/evaluation. Add only the extras needed for the selected workflow, for example:
pip install -e ".[vllm]" for vLLM inferencepip install -e ".[sglang]" for SGLang inferencepip install -e ".[trl]" for DPO/DPOv2/iterative DPOpip install -e ".[deepspeed]" for DeepSpeed-backed workflowspip install -e ".[ray]" for reward-model inference and Ray-backed pathspip install -e ".[multimodal]" for image/text workflowspip install -e ".[gradio]" or pip install -e ".[flask]" for UI/service helpersvLLM and SGLang have incompatible dependency stacks and should live in separate environments.
python -c "import lmflow; print(lmflow.__version__)"
If that works, you can route to a focused sub-skill for the workflow.
data-and-templatesUse this for dataset JSON schemas, Dataset methods, conversation templates, validation, save/split/sample operations, and template customization.
training-and-optimizationUse this for full fine-tuning, LoRA, QLoRA, LISA, custom optimizers, and command construction for the training launchers.
inference-and-evaluationUse this for non-training generation, chat/tool/speculative inference, evaluation, benchmarking, result handling, and optional vLLM/SGLang engines.
post-training-alignmentUse this for reward modeling, reward-model inference, DPO, DPOv2, iterative DPO, RAFT, and LoRA merge workflows.
multimodal-and-extensionsUse this for image/text data, visual chatbots, multimodal fine-tuning, and bounded extension notes such as tool finetuning or long-context templates.
Read references/troubleshooting.md for cross-cutting install/import issues, optional dependency pitfalls, data/config mistakes, CUDA availability, and output-path problems.