Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/692aba85-5b10-8006-817a-d5a83b020f8e
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===== 2.2 verifiers と Environments Hub:RL環境の設計 ===== verifiers は '''「RL環境=データセット+ロールアウトロジック+報酬関数」'''として切り出すライブラリです。INTELLECT_3_Technical_Report ====== 2.2.1 環境の構成要素 ====== # dataset - 各行が1問題:入力プロンプト+メタデータ(正解、テストケースなど) # rollout メソッド - 1問題+OpenAI互換クライアントを受け取り、 - ツール呼び出しやマルチターン対話を含む一連の行動を実行 - 学習に必要なログ(token ids, logprobs 等)を収集 # Rubric - 複数の reward function をまとめる抽象 - 各 reward は (プロンプト, completion, 正解, rollout state) を受けてスカラーを返す - 重み付き合成で最終報酬を作る - 投票・ランキングなど相対評価にも対応 # load_environment - 前処理やリソース確保を行い、環境インスタンスを生成するエントリポイント ロールアウトは asyncio ベースで非同期に大量並列実行。図6(p10)のクラス階層では、 * Environment(基底) * MultiTurnEnv(マルチターン) * ToolEnv / StatefulToolEnv(ツール呼び出し) * SandboxEnv(コンテナ実行) * CodeEnv(テストケース付きコード環境) と段階的に機能が拡張される様子が示されています。INTELLECT_3_Technical_Report ====== 2.2.2 prime-rl との統合 ====== * 環境は Python モジュールとして Environments Hub から pip install できる。 * prime-rl のオーケストレータは、モジュール名だけ指定すれば - 環境をロード - ロールアウト実行 - 報酬・logprobs などを Trainer に渡す * EnvGroup によって 複数環境を1つの「大環境」として束ねることができ、 task ID 列でどのサブ環境で評価するかを振り分ける。 ====== 2.2.3 Environments Hub ====== * 環境を 独立したPythonパッケージとして登録・バージョン管理するレジストリ。 * 従来の「トレーニングリポジトリ内のサブフォルダ形式」から脱却し、 - 評価専用の利用 - バージョン固定 - 外部コントリビューション をやりやすくしている。 ====== 2.2.4 評価 ====== トレーニング中のオンライン評価も verifiers 環境で行い、 * オーケストレータが訓練リクエストと評価リクエストを同じ推論プールに投げる * 評価のオーバーヘッドを「訓練の隙間」に隠しつつ、リアルタイムにスコアを監視 という形になっています。
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)