一键导入
grpo-rl-training
Plan and orchestrate GRPO training through a native Bun workflow with explicit accelerator ownership.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plan and orchestrate GRPO training through a native Bun workflow with explicit accelerator ownership.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a Bun-native YAML agent definition with inheritance, tool policy, and subagent references.
Add a Bun-native messaging channel adapter with lifecycle, webhook, and configuration coverage.
Add a Bun-native LLM provider entry with routing, pricing, headers, limits, and Bun tests.
Add a Bun-native TypeScript tool with schema, registry wiring, policy boundaries, and Bun tests.
Author a Bun-native Xerxes SKILL.md bundle with valid metadata, safe assets, and discovery tests.
Normalize Xerxes Apache-2.0 headers with the native Bun maintenance command and verify TypeScript sources.
| name | grpo-rl-training |
| description | Plan and orchestrate GRPO training through a native Bun workflow with explicit accelerator ownership. |
| version | 0.3.0 |
| tags | ["post-training","reinforcement-learning","GRPO","reward-modeling","reasoning","structured-output"] |
| dependencies | ["bun"] |
| source | bundled |
| subcommands | ["dry-run"] |
Use the native Bun workflow to validate GSM8K input, construct a reference GRPO request, evaluate structured-output rewards, and coordinate a caller-owned training host.
xerxes skill grpo-rl-training --dry-run --dataset ./gsm8k.jsonl
The JSONL file must have string question and answer fields. The final answer is read
from the segment after #### in each GSM8K answer.
The dry run emits a JSON request with the reference Qwen 2.5 1.5B, LoRA, and reward configuration. It does not allocate a GPU, load a model, run an optimizer, or write model bytes.
Actual execution is available only to a Bun/TypeScript embedding application that injects:
accelerator port that starts and waits for a training job;storage port for run records, metrics, checkpoints, and final-model references;reporter for lifecycle events.Use BundledSkills.GrpoTraining.runBasicGrpoTraining with those explicit ports. The host
chooses its accelerator SDK, remote training service, or JavaScript/WASM backend. The
workflow never uses a Python fallback and never fabricates unavailable accelerator services.
incremental-format: 0.125 for each XML tag and a trailing-text penalty;format: 0.5 for complete <reasoning> then <answer> structure;correctness: 2.0 for an exact extracted answer match.See the source API under src/skills/grpoTraining/ for the request types, data adapters,
reward functions, and host lifecycle contracts.