

'''simple docstring'''





import unittest

from transformers import BlenderbotTokenizer, BlenderbotTokenizerFast
from transformers.utils import cached_property


class  UpperCamelCase__  (    unittest.TestCase):






 @cached_property
 def 	lowercase_						(			self  :Union[str, Any]			)				->			int:







       '''simple docstring'''



       return BlenderbotTokenizer.from_pretrained('facebook/blenderbot-3B'			)






 @cached_property
 def 	lowercase_						(			self  :str			)				->			Optional[int]:







       '''simple docstring'''



       return BlenderbotTokenizerFast.from_pretrained('facebook/blenderbot-3B'			)






 def 	lowercase_						(			self  :Any			)				->			List[str]:







       '''simple docstring'''



       __A       	=			self.tokenizer_ab
       __A       	=			' I am a small frog.'
       __A       	=			tok([src_text]	,				padding=_A	,				truncation=_A			)['input_ids']
       __A       	=			tok.batch_decode(_A	,				skip_special_tokens=_A	,				clean_up_tokenization_spaces=_A			)[0]
       assert src_text == decoded






 def 	lowercase_						(			self  :str			)				->			str:







       '''simple docstring'''



       __A       	=			self.rust_tokenizer_ab
       __A       	=			' I am a small frog.'
       __A       	=			tok([src_text]	,				padding=_A	,				truncation=_A			)['input_ids']
       __A       	=			tok.batch_decode(_A	,				skip_special_tokens=_A	,				clean_up_tokenization_spaces=_A			)[0]
       assert src_text == decoded






 def 	lowercase_						(			self  :Any			)				->			str:







       '''simple docstring'''



       assert self.tokenizer_ab.add_prefix_space
       assert self.tokenizer_ab([' Sam', 'Sam']			).input_ids == [[5_502, 2], [5_502, 2]]






 def 	lowercase_						(			self  :List[Any]			)				->			Any:







       '''simple docstring'''



       assert self.rust_tokenizer_ab.add_prefix_space
       assert self.rust_tokenizer_ab([' Sam', 'Sam']			).input_ids == [[5_502, 2], [5_502, 2]]








'''simple docstring'''





def        snake_case							(		UpperCAmelCase	)->			int:







      """simple docstring"""
      return 1 if input_a == 0 else 0





def        snake_case							(		)->			None:







      """simple docstring"""
      assert not_gate(0	) == 1
      assert not_gate(1	) == 0


if __name__ == "__main__":
 print(not_gate(0))
 print(not_gate(1))






