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


_snake_case      :							str     	=    logging.get_logger(__name__)

_snake_case      :							Optional[int]     	=    {
    "s-JoL/Open-Llama-V1": "https://huggingface.co/s-JoL/Open-Llama-V1/blob/main/config.json",
}





class   UpperCamelCase_      (      __a		):







						'''simple docstring'''



						UpperCamelCase      :  Dict				   =					'''open-llama'''





						def __init__(			self							:Tuple		,    lowerCAmelCase__							:Optional[int]=100000		,    lowerCAmelCase__							:Dict=4096		,    lowerCAmelCase__							:Any=11008		,    lowerCAmelCase__							:List[Any]=32		,    lowerCAmelCase__							:Tuple=32		,    lowerCAmelCase__							:Union[str, Any]="silu"		,    lowerCAmelCase__							:List[Any]=2048		,    lowerCAmelCase__							:Any=0.02		,    lowerCAmelCase__							:Dict=1E-6		,    lowerCAmelCase__							:List[Any]=True		,    lowerCAmelCase__							:Optional[int]=0		,    lowerCAmelCase__							:Dict=1		,    lowerCAmelCase__							:Dict=2		,    lowerCAmelCase__							:List[Any]=False		,    lowerCAmelCase__							:str=True		,    lowerCAmelCase__							:Dict=0.1		,    lowerCAmelCase__							:Optional[Any]=0.1		,    lowerCAmelCase__							:Dict=True		,    lowerCAmelCase__							:Optional[int]=True		,    lowerCAmelCase__							:Dict=None		,    **lowerCAmelCase__							:List[Any]		,    )  ->Dict:
										lowercase         =      vocab_size
										lowercase         =      max_position_embeddings
										lowercase         =      hidden_size
										lowercase         =      intermediate_size
										lowercase         =      num_hidden_layers
										lowercase         =      num_attention_heads
										lowercase         =      hidden_act
										lowercase         =      initializer_range
										lowercase         =      rms_norm_eps
										lowercase         =      use_cache
										lowercase         =      kwargs.pop(
										    "use_memorry_efficient_attention"		,    lowerCAmelCase__     )
										lowercase         =      hidden_dropout_prob
										lowercase         =      attention_dropout_prob
										lowercase         =      use_stable_embedding
										lowercase         =      shared_input_output_embedding
										lowercase         =      rope_scaling
										self._rope_scaling_validation()

										super().__init__(
										    pad_token_id=lowerCAmelCase__		,    bos_token_id=lowerCAmelCase__		,    eos_token_id=lowerCAmelCase__		,    tie_word_embeddings=lowerCAmelCase__		,    **lowerCAmelCase__		,    )





						def        SCREAMING_SNAKE_CASE(			self							:Optional[Any]     )  ->Any:
										if self.rope_scaling is None:
														return

										if not isinstance(self.rope_scaling		,    lowerCAmelCase__     ) or len(self.rope_scaling     ) != 2:
														raise ValueError(
														    "`rope_scaling` must be a dictionary with with two fields, `name` and `factor`, "
														    F'''got {self.rope_scaling}'''     )
										lowercase         =      self.rope_scaling.get("type"		,    lowerCAmelCase__     )
										lowercase         =      self.rope_scaling.get("factor"		,    lowerCAmelCase__     )
										if rope_scaling_type is None or rope_scaling_type not in ["linear", "dynamic"]:
														raise ValueError(
														    F'''`rope_scaling`\'s name field must be one of [\'linear\', \'dynamic\'], got {rope_scaling_type}'''     )
										if rope_scaling_factor is None or not isinstance(lowerCAmelCase__		,    lowerCAmelCase__     ) or rope_scaling_factor <= 1.0:
														raise ValueError(F'''`rope_scaling`\'s factor field must be an float > 1, got {rope_scaling_factor}'''     )


def  __snake_case							(	__magic_name__						):







				'''simple docstring'''


				lowercase     ,	lowercase         =      [], []
				while len(__magic_name__						) > 1:
								lowercase     ,	lowercase         =      min(__magic_name__						), max(__magic_name__						)
								start.append(__magic_name__						)
								end.append(__magic_name__						)
								collection.remove(__magic_name__						)
								collection.remove(__magic_name__						)
				end.reverse()
				return start + collection + end


if __name__ == "__main__":
						_snake_case      :							int     	=    input("Enter numbers separated by a comma:\n").strip()
						_snake_case      :							Dict     	=    [int(item) for item in user_input.split(",")]
						print(*merge_sort(unsorted), sep=",")
