fix typos in the tests directory (#36717)
This commit is contained in:
@@ -186,7 +186,7 @@ class Seq2seqTrainerTester(TestCasePlus):
|
||||
|
||||
@require_torch
|
||||
def test_bad_generation_config_fail_early(self):
|
||||
# Tests that a bad geneartion config causes the trainer to fail early
|
||||
# Tests that a bad generation config causes the trainer to fail early
|
||||
model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-small")
|
||||
tokenizer = T5Tokenizer.from_pretrained("google-t5/t5-small")
|
||||
data_collator = DataCollatorForSeq2Seq(tokenizer, model=model, return_tensors="pt", padding="longest")
|
||||
|
||||
Reference in New Issue
Block a user