
"""simple docstring"""


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


__A       						=       logging.get_logger(__name__)

__A       						=       {
    'uw-madison/yoso-4096': 'https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json',
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}







class 		lowerCamelCase__					(					__magic_name__				):





			'''simple docstring'''
			lowerCamelCase  					=		'''yoso'''



			def __init__(							self     ,     __UpperCAmelCase=5_02_65     ,     __UpperCAmelCase=7_68     ,     __UpperCAmelCase=12     ,     __UpperCAmelCase=12     ,     __UpperCAmelCase=30_72     ,     __UpperCAmelCase="gelu"     ,     __UpperCAmelCase=0.1     ,     __UpperCAmelCase=0.1     ,     __UpperCAmelCase=40_96     ,     __UpperCAmelCase=1     ,     __UpperCAmelCase=0.0_2     ,     __UpperCAmelCase=1e-12     ,     __UpperCAmelCase="absolute"     ,     __UpperCAmelCase=True     ,     __UpperCAmelCase=9     ,     __UpperCAmelCase=64     ,     __UpperCAmelCase=None     ,     __UpperCAmelCase=True     ,     __UpperCAmelCase=True     ,     __UpperCAmelCase=1     ,     __UpperCAmelCase=0     ,     __UpperCAmelCase=2     ,     **__UpperCAmelCase     ,     ) ->     List[str]:
				super().__init__(pad_token_id=__UpperCAmelCase     ,     bos_token_id=__UpperCAmelCase     ,     eos_token_id=__UpperCAmelCase     ,     **__UpperCAmelCase  )

				_lowerCAmelCase								=vocab_size
				_lowerCAmelCase								=max_position_embeddings
				_lowerCAmelCase								=hidden_size
				_lowerCAmelCase								=num_hidden_layers
				_lowerCAmelCase								=num_attention_heads
				_lowerCAmelCase								=intermediate_size
				_lowerCAmelCase								=hidden_act
				_lowerCAmelCase								=hidden_dropout_prob
				_lowerCAmelCase								=attention_probs_dropout_prob
				_lowerCAmelCase								=initializer_range
				_lowerCAmelCase								=type_vocab_size
				_lowerCAmelCase								=layer_norm_eps
				_lowerCAmelCase								=position_embedding_type
				_lowerCAmelCase								=use_expectation
				_lowerCAmelCase								=hash_code_len
				_lowerCAmelCase								=num_hash
				_lowerCAmelCase								=conv_window
				_lowerCAmelCase								=use_fast_hash
				_lowerCAmelCase								=lsh_backward











from __future__ import annotations

def    lowerCAmelCase__		(			_a				:	list[int]     ,					_a				:	int			):
		snake_case_       ,				snake_case_ :							Tuple         =				0, len(_a			) - 1
		while start_ind <= end_ind:
				if array[start_ind] == search_item:
						return start_ind
				elif array[end_ind] == search_item:
						return end_ind
				else:
						start_ind += 1
						end_ind -= 1
    # returns -1 if search_item is not found in array
		return -1


if __name__ == "__main__":
							print(double_linear_search(list(range(1_00)), 40))
