

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


lowercase_     =       logging.get_logger(__name__)

lowercase_     =       {
    'uw-madison/yoso-4096': 'https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json',
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}





class 			__lowerCAmelCase					( SCREAMING_SNAKE_CASE							):
  _a						      =  """yoso"""




  def __init__(    self							,       lowerCAmelCase=50_265							,       lowerCAmelCase=768							,       lowerCAmelCase=12							,       lowerCAmelCase=12							,       lowerCAmelCase=3_072							,       lowerCAmelCase="gelu"							,       lowerCAmelCase=0.1							,       lowerCAmelCase=0.1							,       lowerCAmelCase=4_096							,       lowerCAmelCase=1							,       lowerCAmelCase=0.02							,       lowerCAmelCase=1e-12							,       lowerCAmelCase="absolute"							,       lowerCAmelCase=True							,       lowerCAmelCase=9							,       lowerCAmelCase=64							,       lowerCAmelCase=None							,       lowerCAmelCase=True							,       lowerCAmelCase=True							,       lowerCAmelCase=1							,       lowerCAmelCase=0							,       lowerCAmelCase=2							,       **lowerCAmelCase							,       )  ->			Tuple:
        '''simple docstring'''






        super().__init__(pad_token_id=lowerCAmelCase							,       bos_token_id=lowerCAmelCase							,       eos_token_id=lowerCAmelCase							,       **lowerCAmelCase )

        _lowercase     	=vocab_size
        _lowercase     	=max_position_embeddings
        _lowercase     	=hidden_size
        _lowercase     	=num_hidden_layers
        _lowercase     	=num_attention_heads
        _lowercase     	=intermediate_size
        _lowercase     	=hidden_act
        _lowercase     	=hidden_dropout_prob
        _lowercase     	=attention_probs_dropout_prob
        _lowercase     	=initializer_range
        _lowercase     	=type_vocab_size
        _lowercase     	=layer_norm_eps
        _lowercase     	=position_embedding_type
        _lowercase     	=use_expectation
        _lowercase     	=hash_code_len
        _lowercase     	=num_hash
        _lowercase     	=conv_window
        _lowercase     	=use_fast_hash
        _lowercase     	=lsh_backward





import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


lowercase_     =       logging.get_logger(__name__)





class 			__lowerCAmelCase					( SCREAMING_SNAKE_CASE							):




  def __init__(    self							,       *lowerCAmelCase							,       **lowerCAmelCase )  ->			None:
        '''simple docstring'''






        warnings.warn(
            'The class LayoutLMv3FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
            ' Please use LayoutLMv3ImageProcessor instead.'							,       lowerCAmelCase							,       )
        super().__init__(*lowerCAmelCase							,       **lowerCAmelCase )


