bailian-rl-deploy
Bailian RL training → deployment loop (bl finetune rl)
Submit, monitor, and deploy your first RL training job with the Bailian CLI bl. RL drives the model to explore optimal policies through a generate (Rollout) → score (Reward) → optimize loop — no ground-truth labels required. Well suited to math reasoning, agent tool calling, and code generation.
0. Intake (mandatory) inputs missing? ask the user first — model / data / functions / billing / deploy
1. Auth & environment bl auth status → bl finetune rl authorize → runtime prepare → runtime doctor
2. Data & code JSONL (messages + rollout_extra) + Rollout/Reward function package (official demo available)
3. Submit bl finetune rl run --dry-run preview → user confirms → --yes submit (optionally --watch)
4. Monitor bl finetune rl watch / logs / get + console Metrics tab (critic/rewards/mean)
5. Publish & deploy last checkpoint auto-published → bl deploy text create → invoke via bl text chat
Read the shared protocol before executing
../bailian-protocol/SKILL.md: version pre-flight, call attribution, auth, error reporting. If the protocol file is missing, stop runningbland promptbl skill init. Command details are authoritative inbl <command> --helpand skillbailian-finetune'sreference/finetune.md— do not guess flags.
Call attribution (wrap every agent-initiated bl command; inline samples below are for one-off runs — when copying into reusable scripts, use the protocol's script template):