[UdopTokenizer] Fix post merge imports (#29451)

* update

* ...

* nits

* arf

* 🧼

* beat the last guy

* style everyone
This commit is contained in:
Arthur
2024-03-05 09:42:52 +01:00
committed by GitHub
parent fa7f3cf336
commit 132852203a
3 changed files with 16 additions and 14 deletions

View File

@@ -22,12 +22,12 @@ from typing import List
from transformers import (
AddedToken,
SpecialTokensMixin,
UdopTokenizer,
UdopTokenizerFast,
is_tf_available,
is_torch_available,
logging,
)
from transformers.models.udop.tokenization_udop import UdopTokenizer
from transformers.testing_utils import (
get_tests_dir,
is_pt_tf_cross_test,
@@ -1717,6 +1717,10 @@ class UdopTokenizationTest(TokenizerTesterMixin, unittest.TestCase):
def test_alignement_methods(self):
pass
@unittest.skip("#TODO will be removed in main")
def test_pretrained_model_lists(self):
pass
@unittest.skip("UDOP tokenizer requires boxes besides sequences.")
def test_maximum_encoding_length_pair_input(self):
pass