Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

bailian-finetune

Skill by modelstudioai

Runs the Alibaba Cloud Bailian model fine-tuning workflow. It validates and uploads training data, creates and watches jobs, exports checkpoints, and deploys the resulting model.

  • Score 73
  • 375 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install bailian-finetune

Built from the published package, never by AI.

git clone --depth 1 https://github.com/modelstudioai/cli /tmp/cli && mkdir -p ~/.claude/skills && cp -r /tmp/cli/skills/bailian-finetune ~/.claude/skills/bailian-finetune

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bailian-finetune in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

bailian-finetune is a skill for fine-tuning your own models on Alibaba Cloud Bailian. It covers SFT, SFT-LoRA, DPO, DPO-LoRA and CPT methods for text, audio and image bases. It works through the bl dataset, bl finetune and bl deploy commands.

The workflow runs in order: validate the data, upload it to get a file-id, create a job, watch progress, pick a checkpoint, export the model, optionally compress it, and deploy it. Write operations should be previewed with --dry-run first. The skill needs an API key and is aimed at developers who want to train and serve their own Bailian models. Volcano Ark fine-tuning is out of scope.

Written from the project's SKILL.md and checked against it.

What it can do

  • Dataset validationChecks training data against a schema such as chatml, dpo, cpt, tts or image.
  • Dataset uploadUploads a .jsonl or .zip training file and returns a file-id.
  • Create fine-tuning jobStarts a text, audio or image fine-tuning job on a chosen base model.
  • Watch job progressFollows a fine-tuning job's progress, with get and logs also available.
  • Checkpoints and exportLists job checkpoints and exports a chosen checkpoint as a named model.
  • Model compressionQuantizes a full-parameter fine-tuned model using a compression template.
  • Deploy model serviceDeploys the fine-tuned or quantized model as a text, audio or image service.
  • Capability lookupShows which training methods a base model supports.

What you need

  • Alibaba Cloud Bailian API key
  • bl command-line tool
  • bailian-protocol shared skill, installed with bl skill init

Try asking

  • Validate my train.jsonl file for a Bailian SFT fine-tuning job
  • Create a LoRA fine-tuning job on qwen3-8b with my uploaded dataset
  • Check the progress of my fine-tuning job and export a checkpoint

Good to know

  • Quantization applies only to full-parameter fine-tuned models.
  • Write operations are high-risk and need explicit confirmation; the skill never adds --yes automatically.
  • Volcano Ark (ark) fine-tuning is not handled by this skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/bailian-finetune/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to bailian-finetune

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

bailian-finetune: common questions

Which training methods does this skill support?

It supports SFT, SFT-LoRA, DPO, DPO-LoRA and CPT for text, audio and image models, depending on the base model.

Can it fine-tune models on Volcano Ark?

No. Requests that name Volcano Ark or ark fine-tuning do not go through this skill.

Can I preview a change before running it?

Yes. Write commands should be run with --dry-run first to preview them.

How do I install bailian-finetune?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is bailian-finetune free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is bailian-finetune safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to bailian-finetune?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

bailian-finetune Install

Add to stack

Loading.