Source profileQuality 97/100

modelstudioai/cli/skills/bailian-finetune/SKILL.md

bailian-finetune

Use it for deployment and engineering tasks; the detail page covers purpose, installation, and practical steps.

Source repository stars
317
Declared platforms
0
Static risk flags
1
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

CRITICAL — Before executing, MUST read the shared protocol in ../bailian-protocol/SKILL.md: Version & updates (pre-flight checklist), Setup & auth, and CLI errors: report an issue. Command details are authoritative in reference/ (dataset / finetune / deploy) and bl --help — do n…

Best for

  • Flags, usage, and examples: see reference/ or bl --help — do not guess flags.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/modelstudioai/cli --skill "skills/bailian-finetune"
Safe inspection promptEditorial

Inspect the Agent Skill "bailian-finetune" from https://github.com/modelstudioai/cli/blob/5c96077d9f5f23426df8991bf815dc472be47569/skills/bailian-finetune/SKILL.md at commit 5c96077d9f5f23426df8991bf815dc472be47569. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    End-to-end workflow (follow in order)

    Unsure which training methods a base model supports → bl finetune capability --base-model or --training-type sft|sft-lora|dpo|cpt.

    Unsure which training methods a base model supports → bl finetune capability --base-model or --training-type sft|sft-lora|dpo|cpt.Text --training-type values: sft / sft-lora / dpo / dpo-lora / cpt. Audio bases include cosyvoice-v3-flash; image bases include wan2.7-image-pro.Deployment plans: audio defaults to --plan mu; text/image default to lora.
  2. 02

    When to use which command

    Flags, usage, and examples: see reference/ or bl --help — do not guess flags.

    Flags, usage, and examples: see reference/ or bl --help — do not guess flags.
  3. 03

    Quick examples

    Review the “Quick examples” section in the pinned source before continuing.

    Review and apply the “Quick examples” source section.
  4. 04

    Common hand-offs

    软 hand-off(按 skill 名;已安装则 Read,否则 --help / 提示 bl skill init):

    After deployment, try the model or generate content → skill bailian-gen (media) or bl text chat (fallback: bl image\|video\|text --help).Unsure which base model to pick → bailian-model-recommend / bl advisor recommend.Training quota / usage questions → skill bailian-cli (fallback: bl quota / bl usage --help).

Permission review

Static risk signals and limitations

Writes files

medium · line 11

The documentation asks the agent to create, modify, or delete local files.

Create job bl finetune text|audio|image create --base-model <base> --datasets <file-id|path>

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score97/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars317SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
modelstudioai/cli
Skill path
skills/bailian-finetune/SKILL.md
Commit
5c96077d9f5f23426df8991bf815dc472be47569
License
Apache-2.0
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Bailian fine-tuning pipeline (bl dataset / bl finetune / bl deploy)

CRITICAL — Before executing, MUST read the shared protocol in ../bailian-protocol/SKILL.md: Version & updates (pre-flight checklist), Setup & auth, and CLI errors: report an issue. Command details are authoritative in reference/ (dataset / finetune / deploy) and bl <command> --help — do not guess flags. The whole pipeline requires an API key. If that protocol file is missing, stop and run bl skill init; do not guess auth/consent.

End-to-end workflow (follow in order)

1. Validate data   bl dataset validate --file train.jsonl [--schema chatml|dpo|cpt|tts|image]
2. Upload data     bl dataset upload --file train.jsonl          # returns a file-id
3. Create job      bl finetune text|audio|image create --base-model <base> --datasets <file-id|path>
4. Watch progress  bl finetune watch --job-id ft-xxx             # or get / logs
5. Pick artifact   bl finetune checkpoints --job-id ft-xxx
6. Export model    bl finetune export --job-id ft-xxx --checkpoint ckpt-N --model-name my-model
7. Deploy service  bl deploy text|audio|image create --model-name my-model --display-name my-svc
  • Unsure which training methods a base model supports → bl finetune capability --base-model <base> or --training-type sft|sft-lora|dpo|cpt.
  • Text --training-type values: sft / sft-lora / dpo / dpo-lora / cpt. Audio bases include cosyvoice-v3-flash; image bases include wan2.7-image-pro.
  • Deployment plans: audio defaults to --plan mu; text/image default to lora.
  • Preview write operations (create / delete / cancel / scale) with --dry-run first, and confirm with the user before deleting a job or dataset.

When to use which command

IntentCommand
Validate / upload training databl dataset validate / upload (.jsonl or .zip)
Dataset list / detail / deletebl dataset list / get / delete
Create a fine-tuning jobbl finetune text|audio|image create
Job list / detail / followbl finetune list / get / watch / logs
Artifacts and exportbl finetune checkpoints / export
Cancel / delete a jobbl finetune cancel / delete
Trainable capability lookupbl finetune capability
Deploy / lifecyclebl deploy text|audio|image create, list / get / update / scale / delete / models

Flags, usage, and examples: see reference/ or bl <command> --help — do not guess flags.

Quick examples

bl dataset validate --file train.jsonl
bl dataset upload --file train.jsonl
bl finetune text create --base-model qwen3-8b --training-type sft-lora --datasets file-xxx
bl finetune watch --job-id ft-xxx
bl finetune export --job-id ft-xxx --checkpoint ckpt-3 --model-name my-qwen-sft
bl deploy text create --model-name my-qwen-sft --display-name my-svc

Common hand-offs

软 hand-off(按 skill ;已安装则 Read,否则 --help / 提示 bl skill init):

  • After deployment, try the model or generate content → skill bailian-gen (media) or bl text chat (fallback: bl image\|video\|text --help).
  • Unsure which base model to pick → bailian-model-recommend / bl advisor recommend.
  • Training quota / usage questions → skill bailian-cli (fallback: bl quota / bl usage --help).

references

Frequently asked questions

What to verify before installation and use

What does the bailian-finetune source document cover?

CRITICAL — Before executing, MUST read the shared protocol in ../bailian-protocol/SKILL.md: Version & updates (pre-flight checklist), Setup & auth, and CLI errors: report an issue. Command details are authoritative in reference/ (dataset / finetune / deploy) and bl --help — do n…

How do I install bailian-finetune?

The source record exposes this install command: npx skills add https://github.com/modelstudioai/cli --skill "skills/bailian-finetune". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged write-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing