Return assistant generated tokens mask in apply_chat_template (#30650)
return assistant generated tokens mask in apply_chat_template
This commit is contained in:
@@ -2483,3 +2483,7 @@ class LayoutLMv2TokenizationTest(TokenizerTesterMixin, unittest.TestCase):
|
||||
@unittest.skip(reason="Chat is not supported")
|
||||
def test_chat_template(self):
|
||||
pass
|
||||
|
||||
@unittest.skip("Chat is not supported")
|
||||
def test_chat_template_return_assistant_tokens_mask(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user