mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
86d5163316
commit
53a69d30e1
2 changed files with 7 additions and 10 deletions
|
|
@ -244,7 +244,9 @@ class RegexEnv(BaseEnv):
|
|||
return None
|
||||
|
||||
for s in scores["scores"]:
|
||||
self.percent_correct_buffer.append(1.0 if s >= self.config.score_threshold else 0.0)
|
||||
self.percent_correct_buffer.append(
|
||||
1.0 if s >= self.config.score_threshold else 0.0
|
||||
)
|
||||
|
||||
# If all scores identical, no learning signal
|
||||
if len(set(scores["scores"])) == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue