Fix #34494 assistant tokens when truncated (#34531)

* Fix assistant tokens when truncated

* fix test

* fix test

* step
This commit is contained in:
Yoni Gottesman
2024-11-05 17:10:15 +02:00
committed by GitHub
parent 74d3824cc0
commit 082e57e0d4
8 changed files with 129 additions and 1 deletions

View File

@@ -2450,3 +2450,7 @@ class LayoutLMv3TokenizationTest(TokenizerTesterMixin, unittest.TestCase):
@unittest.skip("Chat is not supported")
def test_chat_template_return_assistant_tokens_mask(self):
pass
@unittest.skip("Chat is not supported")
def test_chat_template_return_assistant_tokens_mask_truncated(self):
pass