بنقرة واحدة
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.