"""simple docstring"""







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


SCREAMING_SNAKE_CASE									=						logging.get_logger(__name__)

SCREAMING_SNAKE_CASE									=						{
    'bigcode/gpt_bigcode-santacoder': 'https://huggingface.co/bigcode/gpt_bigcode-santacoder/resolve/main/config.json',
}



class  _lowerCamelCase			(__lowerCamelCase     ):
				_snake_case     =  "gpt_bigcode"
				_snake_case     =  ["past_key_values"]
				_snake_case     =  {
				    "hidden_size": "n_embd",
				    "max_position_embeddings": "n_positions",
				    "num_attention_heads": "n_head",
				    "num_hidden_layers": "n_layer",
				}







				def __init__( self    :       Optional[Any]			,					lowerCamelCase_    :       str=5_0_2_5_7			,					lowerCamelCase_    :       List[str]=1_0_2_4			,					lowerCamelCase_    :       str=7_6_8			,					lowerCamelCase_    :       int=1_2			,					lowerCamelCase_    :       Optional[int]=1_2			,					lowerCamelCase_    :       Any=None			,					lowerCamelCase_    :       Optional[Any]="gelu_pytorch_tanh"			,					lowerCamelCase_    :       Union[str, Any]=0.1			,					lowerCamelCase_    :       List[str]=0.1			,					lowerCamelCase_    :       List[Any]=0.1			,					lowerCamelCase_    :       List[Any]=1E-5			,					lowerCamelCase_    :       Union[str, Any]=0.02			,					lowerCamelCase_    :       List[str]=True			,					lowerCamelCase_    :       Tuple=True			,					lowerCamelCase_    :       Tuple=5_0_2_5_6			,					lowerCamelCase_    :       Tuple=5_0_2_5_6			,					lowerCamelCase_    :       Optional[Any]=True			,					lowerCamelCase_    :       List[Any]=True			,					lowerCamelCase_    :       Union[str, Any]=True			,					**lowerCamelCase_    :       Union[str, Any]			,					):

					"""simple docstring"""






					_lowercase :    Any							=							vocab_size
					_lowercase :    Optional[Any]							=							n_positions
					_lowercase :    Tuple							=							n_embd
					_lowercase :    List[str]							=							n_layer
					_lowercase :    Any							=							n_head
					_lowercase :    Union[str, Any]							=							n_inner
					_lowercase :    Union[str, Any]							=							activation_function
					_lowercase :    Any							=							resid_pdrop
					_lowercase :    Union[str, Any]							=							embd_pdrop
					_lowercase :    Any							=							attn_pdrop
					_lowercase :    int							=							layer_norm_epsilon
					_lowercase :    List[Any]							=							initializer_range
					_lowercase :    Tuple							=							scale_attn_weights
					_lowercase :    Tuple							=							use_cache
					_lowercase :    List[str]							=							attention_softmax_in_fpaa
					_lowercase :    Optional[Any]							=							scale_attention_softmax_in_fpaa
					_lowercase :    List[str]							=							multi_query

					_lowercase :    Any							=							bos_token_id
					_lowercase :    str							=							eos_token_id

					super().__init__(bos_token_id=lowerCamelCase_			,					eos_token_id=lowerCamelCase_			,					**lowerCamelCase_						)




"""simple docstring"""







def      __lowerCAmelCase(		__UpperCAmelCase     ,__UpperCAmelCase			):






	"""simple docstring"""





	_lowercase :    Any							=							len(__UpperCAmelCase			)
	_lowercase :    Any							=							len(__UpperCAmelCase			)
	_lowercase :    List[Any]							=							[[False for _ in range(m + 1			)] for _ in range(n + 1			)]
	_lowercase :    Union[str, Any]							=							True
	for i in range(__UpperCAmelCase			):
		for j in range(m + 1			):
			if dp[i][j]:
				if j < m and a[i].upper() == b[j]:
					_lowercase :    Optional[int]							=							True
				if a[i].islower():
					_lowercase :    Union[str, Any]							=							True
	return dp[n][m]


if __name__ == "__main__":
						import doctest

						doctest.testmod()



