mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +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
|
|
@ -1112,10 +1112,6 @@ class PairwiseJudgementEnv(BaseEnv):
|
|||
for score in scores["scores"]:
|
||||
self.percent_correct_buffer.append(max(score, 0))
|
||||
|
||||
# Return None if all scores are the same (no learning signal)
|
||||
if len(set(scores["scores"])) == 1:
|
||||
return None
|
||||
|
||||
return scores
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue