
'''simple docstring'''






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


A			      =      logging.get_logger(__name__)

A			      =      {
    'microsoft/biogpt': 'https://huggingface.co/microsoft/biogpt/resolve/main/config.json',
    # See all BioGPT models at https://huggingface.co/models?filter=biogpt
}




class     __snake_case		(   a__):
					_lowerCAmelCase			     =	'''biogpt'''
					def __init__(     self,    A=4_2384,    A=1024,    A=24,    A=16,    A=4096,    A="gelu",    A=0.1,    A=0.1,    A=1024,    A=0.02,    A=1e-12,    A=True,    A=True,    A=0.0,    A=0.0,    A=1,    A=0,    A=2,    **A,    ):

									"""simple docstring"""


									lowerCamelCase					:			Optional[int]									= vocab_size
									lowerCamelCase					:			List[str]									= max_position_embeddings
									lowerCamelCase					:			str									= hidden_size
									lowerCamelCase					:			Union[str, Any]									= num_hidden_layers
									lowerCamelCase					:			Optional[Any]									= num_attention_heads
									lowerCamelCase					:			int									= intermediate_size
									lowerCamelCase					:			Any									= hidden_act
									lowerCamelCase					:			Union[str, Any]									= hidden_dropout_prob
									lowerCamelCase					:			Union[str, Any]									= attention_probs_dropout_prob
									lowerCamelCase					:			List[Any]									= initializer_range
									lowerCamelCase					:			Any									= layer_norm_eps
									lowerCamelCase					:			int									= scale_embedding
									lowerCamelCase					:			Dict									= use_cache
									lowerCamelCase					:			str									= layerdrop
									lowerCamelCase					:			int									= activation_dropout
									super().__init__(pad_token_id=A,    bos_token_id=A,    eos_token_id=A,    **A      )


'''simple docstring'''






from __future__ import annotations





def    UpperCAmelCase							(  UpperCAmelCase__							:							int):
				lowerCamelCase					:			List[Any]									= str(UpperCAmelCase__)
				return len(UpperCAmelCase__) == 9 and set(UpperCAmelCase__) == set('123456789')





def    UpperCAmelCase							(  ):
				for base_num in range(99_99       ,							49_99       ,							-1):
								lowerCamelCase					:			Tuple									= 10_00_02 * base_num
								if is_9_pandigital(UpperCAmelCase__):
												return candidate

				for base_num in range(3_33       ,							99       ,							-1):
								lowerCamelCase					:			List[Any]									= 1_00_20_03 * base_num
								if is_9_pandigital(UpperCAmelCase__):
												return candidate

				return None


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