mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-25 17:10:42 +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
a1b545c734
commit
994e9c287d
3 changed files with 8 additions and 4 deletions
|
|
@ -89,7 +89,9 @@ class TeacherDistillationEnv(BaseEnv, ABC):
|
|||
# Core fetch
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
def _validate_teacher_tokenizer_compatibility(self, teacher_tokenizer_name: str) -> None:
|
||||
def _validate_teacher_tokenizer_compatibility(
|
||||
self, teacher_tokenizer_name: str
|
||||
) -> None:
|
||||
student_tok_name = getattr(self.tokenizer, "name_or_path", None) or ""
|
||||
if student_tok_name == teacher_tokenizer_name:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue