Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and

[中文版](CHANGELOG.zh.md) · [README](README.md) · [Contributing](CONTRIBUTING.md)

## [2.11.2] - 2026-11-24

### Added

- **Decision-model fine-tuning pipeline**: End-to-end data preparation and training for decision models.
- `bl dataset generate` synthesizes labeled decision training samples from a `workload.json` business config.
- `bl dataset split` splits a labeled JSONL file into training and evaluation sets.
- `bl finetune decision create` submits decision-model fine-tuning (LoRA / efficient_sft); `bl dataset validate` understands the decision sample schema.
- **`bl finetune train-options`**: New command querying a model's dynamic training options (option definitions, defaults, supported combinations) from the Console. `training_options: null` means the model takes no training options. `--training-type` defaults to `sft`.
- **Training-option flags for text fine-tuning**: `bl finetune text create` accepts `--modality` and `--reasoning-mode` for models with dynamic training options (e.g. vision-fixed models).

### Changed

- **Fine-tune parameter preflight**: `bl finetune params` and `bl finetune text create` now check the model's dynamic training options once via the Console when a Console session is available — auto-filling option defaults and rejecting unsupported values or combinations locally before submission. Without a Console session they degrade to a warning and pass through to the server. `finetune params` JSON output adds a `precheck` field describing whether the check ran.

## [2.11.1] - 2026-11-24

### Fixed
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@

[English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md)

## [2.11.2] - 2026-11-24

### 新增

- **决策模型精调流水线**:决策模型的数据准备与训练全链路。
- `bl dataset generate` 依据 `workload.json` 业务配置合成带标注的决策训练样本。
- `bl dataset split` 将已标注 JSONL 切分为训练集与评估集。
- `bl finetune decision create` 提交决策模型精调(LoRA / efficient_sft);`bl dataset validate` 支持决策样本格式校验。
- **`bl finetune train-options`**:新命令,从控制台查询模型的动态训练选项(选项定义、默认值、合法组合)。`training_options: null` 表示该模型无需训练选项。`--training-type` 默认 `sft`。
- **文本精调训练选项 flag**:`bl finetune text create` 新增 `--modality` 与 `--reasoning-mode`,适用于配置了动态训练选项的模型(如 modality 固定 vision 的模型)。

### 变更

- **精调参数预检**:`bl finetune params` 与 `bl finetune text create` 在控制台登录态可用时会调用一次动态训练选项接口——自动补齐选项默认值,并在提交前本地拦截非法取值或组合;无登录态时降级为 warning 并原样透传服务端。`finetune params` 的 JSON 输出新增 `precheck` 字段说明预检是否执行。

## [2.11.1] - 2026-11-24

### 修复
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _Built for AI Agents. Every command works as a structured tool call._
- **Asset understanding** — Parse and ask questions about images, documents, audio, and long videos
- **App orchestration** — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools; create, update, publish, copy, and delete agents/workflows, and edit workflow canvases from the CLI
- **Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi
- **Training & deployment** — Validate and upload datasets, fine-tune models (SFT/DPO/CPT), run reinforcement-learning jobs in an isolated sandbox (macOS/Linux), submit OPD distillation jobs via OpenAPI, deploy dedicated models as endpoints
- **Training & deployment** — Prepare decision training data (local split, teacher-model generation, or fully async offline Batch), validate and upload datasets, fine-tune models (SFT/DPO/CPT), run reinforcement-learning jobs in an isolated sandbox (macOS/Linux), submit OPD distillation jobs via OpenAPI, deploy dedicated models as endpoints
- **Batch inference** — Prepare CSV/JSONL, create and follow asynchronous Chat/Embedding tasks, download original results/errors with optional CSV, or send one synchronous Batch Chat request
- **Account operations** — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
- **Plan onboarding** — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step
Expand Down
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
- **素材理解** — 图像、文档、音频、长视频的解析与问答
- **应用编排** — 调用百炼已发布的 Managed Agent、智能体和工作流,接入知识库、记忆库、联网搜索与 MCP 工具;并可在命令行创建/更新/发布/复制/删除智能体与工作流、编辑工作流画布
- **原生 MCP 接入** — 将百炼 MCP 服务注册到 Codex、Claude Code、Cursor、Qoder、Qoder Work、千问办公(QwenWork)、Qwen Code、Gemini CLI 或 Pi
- **模型训推** — 数据集校验上传、模型精调(SFT/DPO/CPT)、在隔离沙箱内执行强化学习(RL)训练(macOS/Linux)、通过 OpenAPI 提交 OPD 蒸馏训练、专属模型部署上线
- **模型训推** — 决策训练数据准备(本地切分 / teacher 模型生成 / 全异步离线 Batch)、数据集校验上传、模型精调(SFT/DPO/CPT)、在隔离沙箱内执行强化学习(RL)训练(macOS/Linux)、通过 OpenAPI 提交 OPD 蒸馏训练、专属模型部署上线
- **批量推理** — CSV/JSONL 构造、异步 Chat/Embedding 任务创建与跟踪、原始结果/错误下载及可选 CSV,或同步单请求 Batch Chat
- **账号运维** — 授权登录、界面化配置、模型市场、用量与额度、限流提额、团队席位管理
- **套餐接入** — 支持 Token Plan 等订阅计划一键接到 CLI 和常见 Coding Agent
Expand Down
2 changes: 1 addition & 1 deletion packages/bailian-kb-dsh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-kb-dsh",
"version": "2.11.1",
"version": "2.11.2",
"description": "Bailian knowledge-base tools for DeepSeek Harness: kb_search and kb_chat over the DashScope RAG API, plus the bl CLI management skill.",
"keywords": [
"alibaba-cloud",
Expand Down
2 changes: 1 addition & 1 deletion packages/bailian-memo-dsh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-memo-dsh",
"version": "2.11.1",
"version": "2.11.2",
"description": "Bailian personal memory for DeepSeek Harness: automatic recall, silent curation, and user-controlled remember/forget.",
"keywords": [
"alibaba-cloud",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _Built for AI Agents. Every command works as a structured tool call._
- **Asset understanding** — Parse and ask questions about images, documents, audio, and long videos
- **App orchestration** — Call Managed Agents, agents, and workflows published on Aliyun Model Studio, wired to knowledge bases, memory, web search, and MCP tools; create, update, publish, copy, and delete agents/workflows, and edit workflow canvases from the CLI
- **Native MCP setup** — Register Bailian MCP servers in Codex, Claude Code, Cursor, Qoder, Qoder Work, QwenWork (千问办公), Qwen Code, Gemini CLI, or Pi
- **Training & deployment** — Validate and upload datasets, fine-tune models (SFT/DPO/CPT), run reinforcement-learning jobs in an isolated sandbox (macOS/Linux), submit OPD distillation jobs via OpenAPI, deploy dedicated models as endpoints
- **Training & deployment** — Prepare decision training data (local split, teacher-model generation, or fully async offline Batch), validate and upload datasets, fine-tune models (SFT/DPO/CPT), run reinforcement-learning jobs in an isolated sandbox (macOS/Linux), submit OPD distillation jobs via OpenAPI, deploy dedicated models as endpoints
- **Batch inference** — Prepare CSV/JSONL, create and follow asynchronous Chat/Embedding tasks, download original results/errors with optional CSV, or send one synchronous Batch Chat request
- **Account operations** — Login, UI-based configuration, model marketplace, usage and quota, rate-limit increases, team seat management
- **Plan onboarding** — Connect subscription plans such as Token Plan to the CLI and common coding agents in one step
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
- **素材理解** — 图像、文档、音频、长视频的解析与问答
- **应用编排** — 调用百炼已发布的 Managed Agent、智能体和工作流,接入知识库、记忆库、联网搜索与 MCP 工具;并可在命令行创建/更新/发布/复制/删除智能体与工作流、编辑工作流画布
- **原生 MCP 接入** — 将百炼 MCP 服务注册到 Codex、Claude Code、Cursor、Qoder、Qoder Work、千问办公(QwenWork)、Qwen Code、Gemini CLI 或 Pi
- **模型训推** — 数据集校验上传、模型精调(SFT/DPO/CPT)、在隔离沙箱内执行强化学习(RL)训练(macOS/Linux)、通过 OpenAPI 提交 OPD 蒸馏训练、专属模型部署上线
- **模型训推** — 决策训练数据准备(本地切分 / teacher 模型生成 / 全异步离线 Batch)、数据集校验上传、模型精调(SFT/DPO/CPT)、在隔离沙箱内执行强化学习(RL)训练(macOS/Linux)、通过 OpenAPI 提交 OPD 蒸馏训练、专属模型部署上线
- **批量推理** — CSV/JSONL 构造、异步 Chat/Embedding 任务创建与跟踪、原始结果/错误下载及可选 CSV,或同步单请求 Batch Chat
- **账号运维** — 授权登录、界面化配置、模型市场、用量与额度、限流提额、团队席位管理
- **套餐接入** — 支持 Token Plan 等订阅计划一键接到 CLI 和常见 Coding Agent
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli",
"version": "2.11.1",
"version": "2.11.2",
"description": "CLI for Aliyun Model Studio (DashScope) AI Platform.",
"keywords": [
"agent",
Expand Down
8 changes: 8 additions & 0 deletions packages/cli/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,13 @@ import {
datasetGroups,
datasetDelete,
datasetValidate,
datasetSplit,
datasetGenerate,
finetuneTextCreate,
finetuneAudioCreate,
finetuneImageCreate,
finetuneVideoCreate,
finetuneDecisionCreate,
finetuneList,
finetuneGet,
finetuneCancel,
Expand All @@ -206,6 +209,7 @@ import {
finetuneCapability,
finetunePrice,
finetuneParams,
finetuneTrainOptions,
finetuneMetrics,
finetuneCompressTemplates,
finetuneCompressCreate,
Expand Down Expand Up @@ -589,10 +593,13 @@ export const commands: Record<string, AnyCommand> = {
"dataset groups": datasetGroups,
"dataset delete": datasetDelete,
"dataset validate": datasetValidate,
"dataset split": datasetSplit,
"dataset generate": datasetGenerate,
"finetune text create": finetuneTextCreate,
"finetune audio create": finetuneAudioCreate,
"finetune image create": finetuneImageCreate,
"finetune video create": finetuneVideoCreate,
"finetune decision create": finetuneDecisionCreate,
"finetune list": finetuneList,
"finetune get": finetuneGet,
"finetune cancel": finetuneCancel,
Expand All @@ -604,6 +611,7 @@ export const commands: Record<string, AnyCommand> = {
"finetune capability": finetuneCapability,
"finetune price": finetunePrice,
"finetune params": finetuneParams,
"finetune train-options": finetuneTrainOptions,
"finetune metrics": finetuneMetrics,
"finetune compress templates": finetuneCompressTemplates,
"finetune compress create": finetuneCompressCreate,
Expand Down
2 changes: 1 addition & 1 deletion packages/commands/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bailian-cli-commands",
"version": "2.11.1",
"version": "2.11.2",
"description": "Command library for bailian-cli products (knowledge, memory, media, …). See https://www.npmjs.com/package/bailian-cli for usage.",
"homepage": "https://bailian.console.aliyun.com/cli",
"bugs": {
Expand Down
Loading