mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-23 16:54:56 +00:00
rm hardcoded same score check
This commit is contained in:
parent
708b42a00f
commit
f02c24204d
22 changed files with 0 additions and 85 deletions
|
|
@ -248,10 +248,6 @@ class RegexEnv(BaseEnv):
|
|||
1.0 if s >= self.config.score_threshold else 0.0
|
||||
)
|
||||
|
||||
# If all scores identical, no learning signal
|
||||
if len(set(scores["scores"])) == 1:
|
||||
return None
|
||||
|
||||
return scores
|
||||
|
||||
async def rollout_and_score_eval(self, problem: dict) -> dict:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue