mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-28 17:29:30 +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
a8cdb53a4d
commit
82964b6e48
2 changed files with 3 additions and 5 deletions
|
|
@ -175,9 +175,7 @@ class TeacherDistillationEnv(BaseEnv, ABC):
|
|||
group["distill_logprobs"] = None
|
||||
return group
|
||||
|
||||
top_k = int(
|
||||
group_overrides.get("teacher_top_k", self.config.teacher_top_k)
|
||||
)
|
||||
top_k = int(group_overrides.get("teacher_top_k", self.config.teacher_top_k))
|
||||
if top_k <= -1:
|
||||
group["distill_token_ids"] = None
|
||||
group["distill_logprobs"] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue