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
a1b545c734
commit
994e9c287d
3 changed files with 8 additions and 4 deletions
|
|
@ -88,7 +88,9 @@ def test_teacher_tokenizer_mismatch_raises(monkeypatch):
|
|||
lambda *args, **kwargs: _TeacherTokenizer(),
|
||||
)
|
||||
|
||||
with pytest.raises(ValueError, match="Cross-tokenizer distillation is not supported"):
|
||||
with pytest.raises(
|
||||
ValueError, match="Cross-tokenizer distillation is not supported"
|
||||
):
|
||||
TeacherDistillationEnv._validate_teacher_tokenizer_compatibility(
|
||||
env,
|
||||
teacher_tokenizer_name="teacher-model",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue