Migrated from the rl-toolkit snapshot deployed for the 2026-09-15 production run (toolkit e191cf1 plus uncommitted changes). PRIME-RL is now a submodule on dphn/prime-rl@trinity; the v0 envs, parity tests, OPD experiment, and old configs are not carried over.
21 lines
634 B
Python
21 lines
634 B
Python
from __future__ import annotations
|
|
|
|
from pydantic import Field
|
|
from verifiers.v1.judge import JudgeConfig
|
|
from verifiers.v1.types import SamplingConfig as JudgeSamplingConfig
|
|
|
|
|
|
class DecensorJudgeSampling(JudgeSamplingConfig):
|
|
temperature: float = 0.0
|
|
max_tokens: int = 1024
|
|
|
|
|
|
class DecensorJudgeConfig(JudgeConfig):
|
|
model: str = "google/gemma-4-26B-A4B-it"
|
|
base_url: str = "http://localhost:3001/v1"
|
|
api_key_var: str = "VLLM_API_KEY"
|
|
sampling: DecensorJudgeSampling = DecensorJudgeSampling()
|
|
min_p: float = 0.05
|
|
disable_thinking: bool = True
|
|
max_concurrent_requests: int = Field(default=24, ge=1)
|