

def 			_UpperCAmelCase							(		a__) ->    Tuple:

			'''simple docstring'''



			return 1 if input_a == 0 else 0


def 			_UpperCAmelCase							(		) ->    Optional[int]:

			'''simple docstring'''



			assert not_gate(0) == 1
			assert not_gate(1) == 0


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





import sys

from transformers import AutoTokenizer


__snake_case							:     int 						=	sys.argv[1]
__snake_case							:     Dict 						=	sys.argv[2]
__snake_case							:     Dict 						=	int(sys.argv[3])

__snake_case							:     Union[str, Any] 						=	0

__snake_case							:     Any 						=	AutoTokenizer.from_pretrained(model_name_or_path)
max_len -= tokenizer.num_special_tokens_to_add()

with open(dataset, """rt""") as f_p:
	for line in f_p:
		__snake_case							:     str 						=	line.rstrip()

		if not line:
			print(line)
			__snake_case							:     Optional[int] 						=	0
			continue

		__snake_case							:     Dict 						=	line.split()[0]

		__snake_case							:     str 						=	len(tokenizer.tokenize(token))

		# Token contains strange control characters like \x96 or \x95
		# Just filter out the complete line
		if current_subwords_len == 0:
			continue

		if (subword_len_counter + current_subwords_len) > max_len:
			print("""""")
			print(line)
			__snake_case							:     Optional[int] 						=	current_subwords_len
			continue

		subword_len_counter += current_subwords_len

		print(line)


