"""simple docstring"""







from ...configuration_utils import PretrainedConfig
from ...utils import logging


__SCREAMING_SNAKE_CASE								=logging.get_logger(__name__)

__SCREAMING_SNAKE_CASE								={
    "facebook/s2t-small-librispeech-asr": (
        "https://huggingface.co/facebook/s2t-small-librispeech-asr/resolve/main/config.json"
    ),
    # See all Speech2Text models at https://huggingface.co/models?filter=speech_to_text
}







class  UpperCamelCase	(    lowercase_						):
   lowercase							=						'speech_to_text'
   lowercase							=						['past_key_values']
   lowercase							=						{'num_attention_heads': 'encoder_attention_heads', 'hidden_size': 'd_model'}
   def __init__(    self  ,__UpperCamelCase=1_0000  ,__UpperCamelCase=12  ,__UpperCamelCase=2048  ,__UpperCamelCase=4  ,__UpperCamelCase=6  ,__UpperCamelCase=2048  ,__UpperCamelCase=4  ,__UpperCamelCase=0.0  ,__UpperCamelCase=0.0  ,__UpperCamelCase=True  ,__UpperCamelCase=True  ,__UpperCamelCase="relu"  ,__UpperCamelCase=256  ,__UpperCamelCase=0.1  ,__UpperCamelCase=0.0  ,__UpperCamelCase=0.0  ,__UpperCamelCase=0.02  ,__UpperCamelCase=2  ,__UpperCamelCase=True  ,__UpperCamelCase=1  ,__UpperCamelCase=0  ,__UpperCamelCase=2  ,__UpperCamelCase=6000  ,__UpperCamelCase=1024  ,__UpperCamelCase=2  ,__UpperCamelCase=(5, 5)  ,__UpperCamelCase=1024  ,__UpperCamelCase=80  ,__UpperCamelCase=1  ,**__UpperCamelCase  ,)			->   Union[str, Any]:


        '''simple docstring'''


        lowercase_			:       Optional[int]									=			vocab_size
        lowercase_			:       Dict									=			d_model
        lowercase_			:       Optional[int]									=			encoder_ffn_dim
        lowercase_			:       List[Any]									=			encoder_layers
        lowercase_			:       int									=			encoder_attention_heads
        lowercase_			:       Optional[int]									=			decoder_ffn_dim
        lowercase_			:       int									=			decoder_layers
        lowercase_			:       List[Any]									=			decoder_attention_heads
        lowercase_			:       List[str]									=			dropout
        lowercase_			:       str									=			attention_dropout
        lowercase_			:       List[str]									=			activation_dropout
        lowercase_			:       Optional[Any]									=			activation_function
        lowercase_			:       List[Any]									=			init_std
        lowercase_			:       str									=			encoder_layerdrop
        lowercase_			:       Dict									=			decoder_layerdrop
        lowercase_			:       Optional[Any]									=			use_cache
        lowercase_			:       Optional[int]									=			encoder_layers
        lowercase_			:       List[Any]									=			scale_embedding  # scale factor will be sqrt(d_model) if True
        lowercase_			:       List[str]									=			max_source_positions
        lowercase_			:       Dict									=			max_target_positions
        lowercase_			:       Union[str, Any]									=			num_conv_layers
        lowercase_			:       str									=			list(__UpperCamelCase    )
        lowercase_			:       Dict									=			conv_channels
        lowercase_			:       List[str]									=			input_feat_per_channel
        lowercase_			:       Optional[Any]									=			input_channels

        if len(self.conv_kernel_sizes    ) != self.num_conv_layers:
             raise ValueError(
                 'Configuration for convolutional module is incorrect. '
                 'It is required that `len(config.conv_kernel_sizes)` == `config.num_conv_layers` '
                 f'''but is `len(config.conv_kernel_sizes) = {len(self.conv_kernel_sizes    )}`, '''
                 f'''`config.num_conv_layers = {self.num_conv_layers}`.'''    )

        super().__init__(
            pad_token_id=__UpperCamelCase  ,bos_token_id=__UpperCamelCase  ,eos_token_id=__UpperCamelCase  ,is_encoder_decoder=__UpperCamelCase  ,decoder_start_token_id=__UpperCamelCase  ,**__UpperCamelCase  ,)


"""simple docstring"""







import unittest

from transformers import DebertaVaTokenizer, DebertaVaTokenizerFast
from transformers.testing_utils import get_tests_dir, require_sentencepiece, require_tokenizers, slow

from ...test_tokenization_common import TokenizerTesterMixin


__SCREAMING_SNAKE_CASE								=get_tests_dir("fixtures/spiece.model")







@require_sentencepiece
@require_tokenizers
class  UpperCamelCase	(    lowercase_		,   unittest.TestCase						):
   lowercase							=						DebertaVaTokenizer
   lowercase							=						DebertaVaTokenizerFast
   lowercase							=						True
   lowercase							=						True
   def     _UpperCAmelCase     (    self    )			->   List[str]:


        '''simple docstring'''


        super().setUp()

        # We have a SentencePiece fixture for testing
        lowercase_			:       Any									=			DebertaVaTokenizer(__UpperCamelCase  ,unk_token='<unk>'    )
        tokenizer.save_pretrained(self.tmpdirname    )
   def     _UpperCAmelCase     (    self  ,__UpperCamelCase    )			->   Any:


        '''simple docstring'''


        lowercase_			:       Union[str, Any]									=			'this is a test'
        lowercase_			:       str									=			'this is a test'
        return input_text, output_text
   def     _UpperCAmelCase     (    self    )			->   Optional[Any]:


        '''simple docstring'''


        lowercase_			:       Optional[int]									=			'<pad>'
        lowercase_			:       str									=			0

        self.assertEqual(self.get_tokenizer()._convert_token_to_id(__UpperCamelCase    )  ,__UpperCamelCase    )
        self.assertEqual(self.get_tokenizer()._convert_id_to_token(__UpperCamelCase    )  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Optional[int]:


        '''simple docstring'''


        lowercase_			:       Union[str, Any]									=			list(self.get_tokenizer().get_vocab().keys()    )
        self.assertEqual(vocab_keys[0]  ,'<pad>'    )
        self.assertEqual(vocab_keys[1]  ,'<unk>'    )
        self.assertEqual(vocab_keys[-1]  ,'[PAD]'    )
        self.assertEqual(len(__UpperCamelCase    )  ,3_0001    )
   def     _UpperCAmelCase     (    self    )			->   int:


        '''simple docstring'''


        self.assertEqual(self.get_tokenizer().vocab_size  ,3_0000    )
   def     _UpperCAmelCase     (    self    )			->   List[str]:


        '''simple docstring'''


        lowercase_			:       Optional[Any]									=			' \tHeLLo!how  \n Are yoU?  '
        lowercase_			:       Optional[int]									=			['▁hello', '!', 'how', '▁are', '▁you', '?']
        # fmt: on

        lowercase_			:       int									=			DebertaVaTokenizer(__UpperCamelCase  ,do_lower_case=__UpperCamelCase    )
        lowercase_			:       Optional[int]									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Optional[Any]									=			DebertaVaTokenizerFast(__UpperCamelCase  ,do_lower_case=__UpperCamelCase    )
        lowercase_			:       Dict									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   @unittest.skip('There is an inconsistency between slow and fast tokenizer due to a bug in the fast one.'    )
   def     _UpperCAmelCase     (    self    )			->   Union[str, Any]:


        '''simple docstring'''


        pass
   @unittest.skip('There is an inconsistency between slow and fast tokenizer due to a bug in the fast one.'    )
   def     _UpperCAmelCase     (    self    )			->   Tuple:


        '''simple docstring'''


        pass
   def     _UpperCAmelCase     (    self    )			->   List[Any]:


        '''simple docstring'''


        lowercase_			:       Any									=			'I was born in 92000, and this is falsé.'
        lowercase_			:       Union[str, Any]									=			['▁', '<unk>', '▁was', '▁born', '▁in', '▁9', '2000', '▁', ',', '▁and', '▁this', '▁is', '▁fal', 's', '<unk>', '▁', '.', ]
        # fmt: on

        lowercase_			:       List[str]									=			DebertaVaTokenizer(__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Optional[Any]									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Any									=			DebertaVaTokenizerFast(__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Tuple									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Tuple:


        '''simple docstring'''


        lowercase_			:       Any									=			'I was born in 92000, and this is falsé.'
        lowercase_			:       Tuple									=			['▁i', '▁was', '▁born', '▁in', '▁9', '2000', '▁', ',', '▁and', '▁this', '▁is', '▁fal', 's', '<unk>', '▁', '.', ]
        # fmt: on

        lowercase_			:       List[str]									=			DebertaVaTokenizer(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Dict									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Tuple									=			DebertaVaTokenizerFast(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Dict									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Dict:


        '''simple docstring'''


        lowercase_			:       str									=			'I was born in 92000, and this is falsé.'
        lowercase_			:       Optional[Any]									=			['▁i', '▁was', '▁born', '▁in', '▁9', '2000', ',', '▁and', '▁this', '▁is', '▁fal', 's', '<unk>', '.', ]
        # fmt: on

        lowercase_			:       Union[str, Any]									=			DebertaVaTokenizer(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Dict									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Tuple									=			DebertaVaTokenizerFast(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       Tuple									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Dict:


        '''simple docstring'''


        lowercase_			:       Tuple									=			'I was born in 92000, and this is falsé.'
        lowercase_			:       Optional[int]									=			['▁', '<unk>', '▁was', '▁born', '▁in', '▁9', '2000', '▁', ',', '▁and', '▁this', '▁is', '▁fal', 's', '<unk>', '▁', '.', ]
        # fmt: on

        lowercase_			:       Optional[int]									=			DebertaVaTokenizer(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       str									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Union[str, Any]									=			DebertaVaTokenizerFast(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       List[Any]									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Optional[Any]:


        '''simple docstring'''


        lowercase_			:       Tuple									=			' \tHeLLo!how  \n Are yoU?  '
        lowercase_			:       List[str]									=			['▁', '<unk>', 'e', '<unk>', 'o', '!', 'how', '▁', '<unk>', 're', '▁yo', '<unk>', '?']
        # fmt: on

        lowercase_			:       str									=			DebertaVaTokenizer(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       int									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Union[str, Any]									=			DebertaVaTokenizerFast(__UpperCamelCase  ,do_lower_case=__UpperCamelCase  ,split_by_punct=__UpperCamelCase    )
        lowercase_			:       List[Any]									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )

        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   List[Any]:


        '''simple docstring'''


        lowercase_			:       Optional[int]									=			self.get_tokenizer()
        lowercase_			:       int									=			self.get_rust_tokenizer()

        lowercase_			:       Dict									=			'I was born in 92000, and this is falsé.'

        lowercase_			:       Any									=			tokenizer.convert_ids_to_tokens(tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )
        lowercase_			:       Union[str, Any]									=			rust_tokenizer.convert_ids_to_tokens(rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Optional[int]									=			tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        lowercase_			:       str									=			rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Optional[int]									=			self.get_rust_tokenizer()
        lowercase_			:       Optional[Any]									=			tokenizer.encode(__UpperCamelCase    )
        lowercase_			:       Dict									=			rust_tokenizer.encode(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Dict:


        '''simple docstring'''


        lowercase_			:       Optional[int]									=			'This is a test'
        lowercase_			:       Any									=			[13, 1, 4398, 25, 21, 1289]
        lowercase_			:       Union[str, Any]									=			['▁', 'T', 'his', '▁is', '▁a', '▁test']
        lowercase_			:       str									=			['▁', '<unk>', 'his', '▁is', '▁a', '▁test']

        lowercase_			:       Optional[int]									=			DebertaVaTokenizer(__UpperCamelCase  ,keep_accents=__UpperCamelCase    )
        lowercase_			:       str									=			DebertaVaTokenizerFast(__UpperCamelCase  ,keep_accents=__UpperCamelCase    )

        lowercase_			:       Optional[int]									=			tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       List[Any]									=			tokenizer.tokenize(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       Any									=			tokenizer.convert_ids_to_tokens(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       str									=			rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       Optional[int]									=			rust_tokenizer.tokenize(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       str									=			rust_tokenizer.convert_ids_to_tokens(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        # fmt: off
        lowercase_			:       List[Any]									=			'I was born in 92000, and this is falsé.'
        lowercase_			:       int									=			[13, 1, 23, 386, 19, 561, 3050, 15, 17, 48, 25, 8256, 18, 1, 9]
        lowercase_			:       List[str]									=			['▁', 'I', '▁was', '▁born', '▁in', '▁9', '2000', ',', '▁and', '▁this', '▁is', '▁fal', 's', 'é', '.', ]
        lowercase_			:       List[str]									=			['▁', '<unk>', '▁was', '▁born', '▁in', '▁9', '2000', ',', '▁and', '▁this', '▁is', '▁fal', 's', '<unk>', '.', ]
        # fmt: on

        lowercase_			:       List[str]									=			tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       List[str]									=			tokenizer.tokenize(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       List[Any]									=			tokenizer.convert_ids_to_tokens(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )

        lowercase_			:       Tuple									=			rust_tokenizer.encode(__UpperCamelCase  ,add_special_tokens=__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       Optional[int]									=			rust_tokenizer.tokenize(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
        lowercase_			:       Dict									=			rust_tokenizer.convert_ids_to_tokens(__UpperCamelCase    )
        self.assertListEqual(__UpperCamelCase  ,__UpperCamelCase    )
   def     _UpperCAmelCase     (    self    )			->   Dict:


        '''simple docstring'''


        lowercase_			:       Dict									=			DebertaVaTokenizer(__UpperCamelCase    )

        lowercase_			:       int									=			tokenizer.encode('sequence builders'    )
        lowercase_			:       Tuple									=			tokenizer.encode('multi-sequence build'    )

        lowercase_			:       Dict									=			tokenizer.build_inputs_with_special_tokens(__UpperCamelCase    )
        lowercase_			:       Optional[int]									=			tokenizer.build_inputs_with_special_tokens(__UpperCamelCase  ,__UpperCamelCase    )

        self.assertEqual([tokenizer.cls_token_id] + text + [tokenizer.sep_token_id]  ,__UpperCamelCase    )
        self.assertEqual(
            [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id] + text_a + [tokenizer.sep_token_id]  ,__UpperCamelCase  ,)







   @slow
   def     _UpperCAmelCase     (    self    )			->   List[str]:


        '''simple docstring'''


        lowercase_			:       List[Any]									=			{'input_ids': [[1, 3_9867, 36, 1_9390, 486, 27, 3_5052, 8_1436, 18, 6_0685, 1225, 7, 3_5052, 8_1436, 18, 9367, 1_6899, 18, 1_5937, 53, 594, 773, 18, 1_6287, 3_0465, 36, 1_5937, 6, 4_1139, 38, 3_6979, 6_0763, 191, 6, 3_4132, 99, 6, 5_0538, 390, 4_3230, 6, 3_4132, 2779, 2_0850, 14, 699, 1072, 1194, 36, 382, 1_0901, 53, 7, 699, 1072, 2084, 36, 2_0422, 630, 53, 19, 105, 3049, 1896, 1053, 1_6899, 1506, 11, 3_7978, 4243, 7, 1237, 3_1869, 200, 1_6566, 654, 6, 3_5052, 8_1436, 7, 5_5630, 1_3593, 4, 2], [1, 26, 1_5011, 13, 667, 8, 1053, 18, 2_3611, 1237, 7_2356, 1_2820, 34, 10_4134, 1209, 35, 1_3313, 6627, 21, 202, 347, 7, 164, 2399, 11, 46, 4485, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 5, 1232, 2864, 1_5785, 1_4951, 105, 5, 8581, 1250, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], 'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], 'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]}  # noqa: E501
        # fmt: on

        self.tokenizer_integration_test_util(
            expected_encoding=__UpperCamelCase  ,model_name='microsoft/deberta-v2-xlarge'  ,revision='ad6e42c1532ddf3a15c39246b63f5559d558b670'  ,)

