

'''simple docstring'''



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


__snake_case			:     List[Any]										=      logging.get_logger(__name__)

__snake_case			:     Dict										=      {
    'weiweishi/roc-bert-base-zh': 'https://huggingface.co/weiweishi/roc-bert-base-zh/resolve/main/config.json',
}



class lowerCamelCase			(  SCREAMING_SNAKE_CASE__						):



   '''simple docstring'''






   __snake_case        =	'roc_bert'


   def __init__(				self	:						Any		,      lowerCAmelCase_	:						List[str]=3_05_22		,      lowerCAmelCase_	:						int=7_68		,      lowerCAmelCase_	:						List[str]=12		,      lowerCAmelCase_	:						int=12		,      lowerCAmelCase_	:						List[Any]=30_72		,      lowerCAmelCase_	:						List[str]="gelu"		,      lowerCAmelCase_	:						List[Any]=0.1		,      lowerCAmelCase_	:						int=0.1		,      lowerCAmelCase_	:						Optional[Any]=5_12		,      lowerCAmelCase_	:						int=2		,      lowerCAmelCase_	:						Any=0.02		,      lowerCAmelCase_	:						Union[str, Any]=1e-12		,      lowerCAmelCase_	:						str=True		,      lowerCAmelCase_	:						int=0		,      lowerCAmelCase_	:						List[Any]="absolute"		,      lowerCAmelCase_	:						List[str]=None		,      lowerCAmelCase_	:						Tuple=True		,      lowerCAmelCase_	:						Dict=True		,      lowerCAmelCase_	:						Dict=7_68		,      lowerCAmelCase_	:						List[str]=9_10		,      lowerCAmelCase_	:						Any=5_12		,      lowerCAmelCase_	:						Optional[int]=2_48_58		,      lowerCAmelCase_	:						Any=True		,      **lowerCAmelCase_	:						Tuple		,      )      ->		int:





         '''simple docstring'''
         A__					:       int     =vocab_size
         A__					:       Any     =max_position_embeddings
         A__					:       Optional[Any]     =hidden_size
         A__					:       Optional[int]     =num_hidden_layers
         A__					:       Dict     =num_attention_heads
         A__					:       Any     =intermediate_size
         A__					:       Dict     =hidden_act
         A__					:       Optional[Any]     =hidden_dropout_prob
         A__					:       Optional[Any]     =attention_probs_dropout_prob
         A__					:       Dict     =initializer_range
         A__					:       Any     =type_vocab_size
         A__					:       Optional[int]     =layer_norm_eps
         A__					:       Optional[int]     =use_cache
         A__					:       List[Any]     =enable_pronunciation
         A__					:       int     =enable_shape
         A__					:       Tuple     =pronunciation_embed_dim
         A__					:       int     =pronunciation_vocab_size
         A__					:       Optional[int]     =shape_embed_dim
         A__					:       Any     =shape_vocab_size
         A__					:       List[Any]     =concat_input
         A__					:       Tuple     =position_embedding_type
         A__					:       Optional[int]     =classifier_dropout
         super().__init__(pad_token_id=lowerCAmelCase_		,      **lowerCAmelCase_			)




'''simple docstring'''



from __future__ import annotations
def 						__lowerCamelCase	(       __snake_case					:		list[int]	)	->							bool:






						"""simple docstring"""





						return len(set(__snake_case	)	) == len(__snake_case	)


if __name__ == "__main__":
		import doctest

		doctest.testmod()

