
"""simple docstring"""




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


_A      :	Tuple       		=	logging.get_logger(__name__)

_A      :	int       		=	{
    """facebook/opt-125m""": """https://huggingface.co/facebook/opt-125m/blob/main/config.json""",
    """facebook/opt-350m""": """https://huggingface.co/facebook/opt-350m/blob/main/config.json""",
    """facebook/opt-1.3b""": """https://huggingface.co/facebook/opt-1.3b/blob/main/config.json""",
    """facebook/opt-2.7b""": """https://huggingface.co/facebook/opt-2.7b/blob/main/config.json""",
    """facebook/opt-6.7b""": """https://huggingface.co/facebook/opt-6.7b/blob/main/config.json""",
    """facebook/opt-13b""": """https://huggingface.co/facebook/opt-13b/blob/main/config.json""",
}

class 		a__						(				_a						):
			__lowerCAmelCase						=    """opt"""
			__lowerCAmelCase						=    ["""past_key_values"""]
			def __init__(      self     ,   _a=50_272     ,   _a=768     ,   _a=12     ,   _a=3_072     ,   _a=2_048     ,   _a=True     ,   _a=False     ,   _a=None     ,   _a=0.1     ,   _a=0.0     ,   _a=12     ,   _a="relu"     ,   _a=0.0     ,   _a=0.0_2     ,   _a=True     ,   _a=1     ,   _a=2     ,   _a=2     ,   _a=True     ,   _a=True     ,   **_a     ,   ):
										super().__init__(
										    pad_token_id=_a     ,   bos_token_id=_a     ,   eos_token_id=_a     ,   **_a     ,   )
										lowercase   :    List[Any]			=							vocab_size
										lowercase   :    str			=							max_position_embeddings
										lowercase   :    Optional[int]			=							num_attention_heads
										lowercase   :    List[Any]			=							word_embed_proj_dim if word_embed_proj_dim is not None else hidden_size
										lowercase   :    List[str]			=							ffn_dim
										lowercase   :    Tuple			=							hidden_size
										lowercase   :    Any			=							num_hidden_layers
										lowercase   :    Tuple			=							dropout
										lowercase   :    Union[str, Any]			=							attention_dropout
										lowercase   :    Any			=							activation_function
										lowercase   :    Optional[int]			=							init_std
										lowercase   :    Optional[Any]			=							layerdrop
										lowercase   :    Dict			=							use_cache
										lowercase   :    List[Any]			=							do_layer_norm_before
										# We keep these variables at `True` for backward compatibility.
										lowercase   :    Tuple			=							enable_bias
										lowercase   :    Dict			=							layer_norm_elementwise_affine

										# Note that the only purpose of `_remove_final_layer_norm` is to keep backward compatibility
										# with checkpoints that have been fine-tuned before transformers v4.20.1
										# see https://github.com/facebookresearch/metaseq/pull/164
										lowercase   :    List[Any]			=							_remove_final_layer_norm




"""simple docstring"""




import warnings

from ...utils import logging
from .image_processing_convnext import ConvNextImageProcessor


_A      :	List[str]       		=	logging.get_logger(__name__)

class 		a__						(				a_						):
   def __init__(      self     ,   *_a     ,   **_a    ):
          warnings.warn(
              "The class ConvNextFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
              " Please use ConvNextImageProcessor instead."     ,   _a     ,   )
          super().__init__(*_a     ,   **_a    )


