Update expect outputs of IdeficsProcessorTest.test_tokenizer_padding (#26779)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -151,7 +151,6 @@ class IdeficsProcessorTest(TestCasePlus):
|
||||
"<s> Describe this image.\nAssistant:<unk><unk><unk><unk><unk><unk><unk><unk><unk>",
|
||||
"<s> Describe this image.\nAssistant:<unk><unk><unk><unk><unk><unk><unk><unk><unk><unk>",
|
||||
]
|
||||
|
||||
prompts = [[prompt] for prompt in self.prepare_prompts()[2]]
|
||||
max_length = processor(prompts, padding="max_length", truncation=True, max_length=20)
|
||||
longest = processor(prompts, padding="longest", truncation=True, max_length=30)
|
||||
|
||||
Reference in New Issue
Block a user