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
ccdd5a1ca6
commit
60fb6cae11
11 changed files with 221 additions and 136 deletions
|
|
@ -289,7 +289,9 @@ class GSM8kEnv(BaseEnv):
|
|||
}
|
||||
)
|
||||
to_postprocess = await self.score(to_score)
|
||||
accepted = 0 if to_postprocess is None else len(to_postprocess.get("tokens", []))
|
||||
accepted = (
|
||||
0 if to_postprocess is None else len(to_postprocess.get("tokens", []))
|
||||
)
|
||||
print(
|
||||
f"[GSM8K_DEBUG] collect_done accepted={accepted} submitted={len(to_score)}",
|
||||
flush=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue