Event ·Multi-source

Hugging Face 把 Claude Code、Codex 等编程 harness 变成 RL 训练环境

Hugging Face 团队用捕获代理的方式,把 Claude Code、Codex、Hermes、Pi、OpenCode 等 10 个编程 harness 直接变成 RL 训练环境,harness 和训练代码都无需改动。代理支持 OpenAI Chat Completions、OpenAI Responses、Anthropic Messages、Gemini 四种格式,转发给 vLLM 并记录 token ID 和 logprobs 供 TRL 训练。在 Liquid AI 的 LFM2.5-2.6B 上测试:单 harness 训练使 OpenCode 成绩从 34% 升到 58%,4 个 harness 同时训练则全部提升(42% 到 54%),而用 Qwen3.8-27B 的 3,189 条 rollout 做 SFT 只到 47.5%。同一模型在 Mini-SWE-Agent 下得 62%,在 Claude Code 下只有 33%,说明训练环境与实际部署环境一致的重要性。另外给少用工具调用加奖励后,模型在已解决任务上的调用次数减少 31%,Codex 下约减半。

Current read

Hugging Face 把 Claude Code、Codex 这些真实编程工具直接当 RL 训练环境用,不用改一行代码,LFM2.5-2.6B 训练后 OpenCode 成绩从 34% 涨到 58%,全套开源可复现。

11 sources63° AI heatLast updated 2026/10/5 14:48:22

Evidence

11 sources
Primary sourceClement Delangue
View source
Related source 1lmarena.ai
View source
Related source 3Tibor Blaho
View source
Related source 5rohanpaul_ai
View source
Related source 7TestingCatalog
View source
Related source 8arXiv cs.AI
View source
Related source 9DeepLearning.AI
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.