




"""simple docstring"""

from transformers import SqueezeBertTokenizer, SqueezeBertTokenizerFast
from transformers.testing_utils import require_tokenizers, slow

from ..bert.test_tokenization_bert import BertTokenizationTest
@require_tokenizers
class      lowerCamelCase__      (					lowerCamelCase_     ):
			a__	: Optional[Any]        =       SqueezeBertTokenizer
			a__	: Optional[Any]        =       SqueezeBertTokenizerFast
			a__	: List[Any]        =       True


			def 							lowerCamelCase_			(       self			,	**SCREAMING_SNAKE_CASE							):



					"""simple docstring"""







					return SqueezeBertTokenizerFast.from_pretrained(self.tmpdirname			,	**SCREAMING_SNAKE_CASE							)



			@slow
			def 							lowerCamelCase_			(       self							):



					"""simple docstring"""







					snake_case						:  Optional[int]        =			SqueezeBertTokenizer.from_pretrained("squeezebert/squeezebert-mnli-headless"							)

					snake_case						:  Optional[Any]        =			tokenizer.encode("sequence builders"			,	add_special_tokens=SCREAMING_SNAKE_CASE							)
					snake_case						:  int        =			tokenizer.encode("multi-sequence build"			,	add_special_tokens=SCREAMING_SNAKE_CASE							)

					snake_case						:  List[Any]        =			tokenizer.build_inputs_with_special_tokens(SCREAMING_SNAKE_CASE							)
					snake_case						:  Dict        =			tokenizer.build_inputs_with_special_tokens(SCREAMING_SNAKE_CASE			,	SCREAMING_SNAKE_CASE							)

					assert encoded_sentence == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id]
					assert encoded_pair == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id] + text_a + [
					    tokenizer.sep_token_id
					]







"""simple docstring"""

def 					UpperCamelCase__       (						lowercase__					:       set    ,       lowercase__					:       set				):
		assert isinstance(lowercase__    ,       lowercase__				), F'''The input value of [set_a={set_a}] is not a set'''
		assert isinstance(lowercase__    ,       lowercase__				), F'''The input value of [set_b={set_b}] is not a set'''

		return {a + b for a in set_a for b in set_b}


if __name__ == "__main__":
							from doctest import testmod

							testmod()

