* Fix assistant tokens when truncated * fix test * fix test * step
This commit is contained in:
@@ -2497,3 +2497,7 @@ class LayoutLMv2TokenizationTest(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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1991,3 +1991,7 @@ class LayoutXLMTokenizationTest(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
|
||||
|
||||
@@ -2330,3 +2330,7 @@ class MarkupLMTokenizationTest(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
|
||||
|
||||
@@ -1290,3 +1290,7 @@ class TapasTokenizationTest(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
|
||||
|
||||
@@ -1161,6 +1161,10 @@ class UdopTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
|
||||
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
|
||||
|
||||
@unittest.skip(reason="Chat template tests don't play well with table/layout models.")
|
||||
def test_chat_template_batched(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user