

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


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

__snake_case							:			Dict      		= {
    "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 					A__(SCREAMING_SNAKE_CASE__       ):
						"""simple docstring"""






						_A						:							List[str]									= '''yoso'''





						def __init__(						self     ,			_lowercase=50_265     ,			_lowercase=768     ,			_lowercase=12     ,			_lowercase=12     ,			_lowercase=3_072     ,			_lowercase="gelu"     ,			_lowercase=0.1     ,			_lowercase=0.1     ,			_lowercase=4_096     ,			_lowercase=1     ,			_lowercase=0.0_2     ,			_lowercase=1e-12     ,			_lowercase="absolute"     ,			_lowercase=True     ,			_lowercase=9     ,			_lowercase=64     ,			_lowercase=None     ,			_lowercase=True     ,			_lowercase=True     ,			_lowercase=1     ,			_lowercase=0     ,			_lowercase=2     ,			**_lowercase     ,			)    ->   int:
									super().__init__(pad_token_id=_lowercase     ,			bos_token_id=_lowercase     ,			eos_token_id=_lowercase     ,			**_lowercase						)

									a_	:	List[Any]          =   vocab_size
									a_	:	str          =   max_position_embeddings
									a_	:	Union[str, Any]          =   hidden_size
									a_	:	List[str]          =   num_hidden_layers
									a_	:	Dict          =   num_attention_heads
									a_	:	Any          =   intermediate_size
									a_	:	str          =   hidden_act
									a_	:	Any          =   hidden_dropout_prob
									a_	:	Any          =   attention_probs_dropout_prob
									a_	:	Optional[Any]          =   initializer_range
									a_	:	Optional[Any]          =   type_vocab_size
									a_	:	Optional[Any]          =   layer_norm_eps
									a_	:	Any          =   position_embedding_type
									a_	:	Optional[Any]          =   use_expectation
									a_	:	List[Any]          =   hash_code_len
									a_	:	Tuple          =   num_hash
									a_	:	Union[str, Any]          =   conv_window
									a_	:	Any          =   use_fast_hash
									a_	:	Any          =   lsh_backward





import platform
from argparse import ArgumentParser

import huggingface_hub
import pandas
import pyarrow

from datasets import __version__ as version
from datasets.commands import BaseDatasetsCLICommand


def 				_UpperCAmelCase							(	a__):

			'''simple docstring'''



			return EnvironmentCommand()



class 					A__(a_       ):
						"""simple docstring"""






						@staticmethod
						def  UpperCamelCase__				(						_lowercase						)    ->   Optional[Any]:
									a_	:	List[str]          =   parser.add_parser("""env"""     ,			help="""Print relevant system environment info."""						)
									download_parser.set_defaults(func=_lowercase						)





						def  UpperCamelCase__				(						self						)    ->   int:
									a_	:	List[str]          =   {
									    """`datasets` version""": version,
									    """Platform""": platform.platform(),
									    """Python version""": platform.python_version(),
									    """Huggingface_hub version""": huggingface_hub.__version__,
									    """PyArrow version""": pyarrow.__version__,
									    """Pandas version""": pandas.__version__,
									}

									print("""\nCopy-and-paste the text below in your GitHub issue.\n"""						)
									print(self.format_dict(_lowercase						)						)

									return info





						@staticmethod
						def  UpperCamelCase__				(						_lowercase						)    ->   Dict:
									return "\n".join([F'''- {prop}: {val}''' for prop, val in d.items()]						) + "\n"


