'''simple docstring'''





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


SCREAMING_SNAKE_CASE_:     Dict  =logging.get_logger(__name__)

SCREAMING_SNAKE_CASE_:     Union[str, Any]  ={
    'abeja/gpt-neox-japanese-2.7b': 'https://huggingface.co/abeja/gpt-neox-japanese-2.7b/resolve/main/config.json',
}




class        __A      ( UpperCamelCase__	):
    a__       :						List[str]          =  """gpt_neox_japanese"""



    def __init__(self    :    List[Any]   ,			__a    :    str=32000   ,			__a    :    int=2560   ,			__a    :    Dict=32   ,			__a    :    List[str]=32   ,			__a    :    str=4   ,			__a    :    List[str]="gelu"   ,			__a    :    List[str]=1.00   ,			__a    :    Union[str, Any]=10000   ,			__a    :    str=2048   ,			__a    :    Tuple=0.02   ,			__a    :    List[Any]=1E-5   ,			__a    :    List[str]=True   ,			__a    :    str=31996   ,			__a    :    Optional[Any]=31999   ,			__a    :    Any=0.1   ,			__a    :    List[Any]=0.0   ,			**__a    :    str   ,			):
         super().__init__(bos_token_id=__a   ,			eos_token_id=__a   ,			**__a )
         UpperCAmelCase_           =   vocab_size
         UpperCAmelCase_           =   max_position_embeddings
         UpperCAmelCase_           =   hidden_size
         UpperCAmelCase_           =   num_hidden_layers
         UpperCAmelCase_           =   num_attention_heads
         UpperCAmelCase_           =   intermediate_multiple_size
         UpperCAmelCase_           =   hidden_act
         UpperCAmelCase_           =   rotary_pct
         UpperCAmelCase_           =   rotary_emb_base
         UpperCAmelCase_           =   initializer_range
         UpperCAmelCase_           =   layer_norm_eps
         UpperCAmelCase_           =   use_cache
         UpperCAmelCase_           =   attention_dropout
         UpperCAmelCase_           =   hidden_dropout





'''simple docstring'''





import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


SCREAMING_SNAKE_CASE_:     Union[str, Any]  =logging.get_logger(__name__)




class        __A      ( UpperCamelCase__	):



    def __init__(self    :    int   ,			*__a    :    Dict   ,			**__a    :    str ):
         warnings.warn(
             "The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
             " use CLIPImageProcessor instead."   ,			__a   ,			)
         super().__init__(*__a   ,			**__a )




