
'''simple docstring'''







import os

from ...utils import logging
from .utils import DataProcessor, InputExample


__SCREAMING_SNAKE_CASE		:  Any        =      logging.get_logger(__name__)
class  SCREAMING_SNAKE_CASE__       (  __UpperCamelCase   ):
	def __init__(				self  ,    __UpperCamelCase  ,    __UpperCamelCase=None			):



					'''simple docstring'''






					__a       :     Dict								=	language
					__a       :     str								=	train_language
	def __lowerCamelCase    (				self  ,    __UpperCamelCase			):



					'''simple docstring'''






					__a       :     Optional[int]								=	self.language if self.train_language is None else self.train_language
					__a       :     Any								=	self._read_tsv(os.path.join(__UpperCamelCase  ,    f"""XNLI-MT-1.0/multinli/multinli.train.{lg}.tsv"""			)			)
					__a       :     str								=	[]
					for i, line in enumerate(__UpperCamelCase			):
									if i == 0:
													continue
									__a       :     str								=	f"""train-{i}"""
									__a       :     Union[str, Any]								=	line[0]
									__a       :     List[Any]								=	line[1]
									__a       :     Optional[Any]								=	"""contradiction""" if line[2] == """contradictory""" else line[2]
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training input {text_a} is not a string"""			)
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training input {text_b} is not a string"""			)
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training label {label} is not a string"""			)
									examples.append(InputExample(guid=__UpperCamelCase  ,    text_a=__UpperCamelCase  ,    text_b=__UpperCamelCase  ,    label=__UpperCamelCase			)			)
					return examples
	def __lowerCamelCase    (				self  ,    __UpperCamelCase			):



					'''simple docstring'''






					__a       :     Optional[Any]								=	self._read_tsv(os.path.join(__UpperCamelCase  ,    """XNLI-1.0/xnli.test.tsv"""			)			)
					__a       :     Union[str, Any]								=	[]
					for i, line in enumerate(__UpperCamelCase			):
									if i == 0:
													continue
									__a       :     List[str]								=	line[0]
									if language != self.language:
													continue
									__a       :     int								=	f"""test-{i}"""
									__a       :     Any								=	line[6]
									__a       :     Union[str, Any]								=	line[7]
									__a       :     str								=	line[1]
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training input {text_a} is not a string"""			)
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training input {text_b} is not a string"""			)
									if not isinstance(__UpperCamelCase  ,    __UpperCamelCase			):
													raise ValueError(f"""Training label {label} is not a string"""			)
									examples.append(InputExample(guid=__UpperCamelCase  ,    text_a=__UpperCamelCase  ,    text_b=__UpperCamelCase  ,    label=__UpperCamelCase			)			)
					return examples

	def __lowerCamelCase    (				self			):



					'''simple docstring'''






					return ["contradiction", "entailment", "neutral"]







__SCREAMING_SNAKE_CASE		:  Union[str, Any]        =      {
    'xnli': XnliProcessor,
}

__SCREAMING_SNAKE_CASE		:  Union[str, Any]        =      {
    'xnli': 'classification',
}

__SCREAMING_SNAKE_CASE		:  int        =      {
    'xnli': 3,
}

'''simple docstring'''







def 				_snake_case (		lowercase = 1_0_0_0						)       ->       int:
				__a       :     Any								=	[]
				__a       :     List[Any]								=	[]
				__a       :     Any								=	3
				__a       :     Optional[Any]								=	5
				__a       :     Optional[Any]								=	1
				while True:
								__a       :     List[str]								=	z * temp
								if result < n:
												zmulti.append(lowercase						)
												temp += 1
								else:
												__a       :     Any								=	1
												break
				while True:
								__a       :     Optional[int]								=	x * temp
								if result < n:
												xmulti.append(lowercase						)
												temp += 1
								else:
												break
				__a       :     Any								=	list(set(xmulti + zmulti						)						)
				return sum(lowercase						)


if __name__ == "__main__":
					print(f'''{solution() = }''')