




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


UpperCAmelCase__				     = logging.get_logger(__name__)

UpperCAmelCase__				     = {
    "google/fnet-base": "https://huggingface.co/google/fnet-base/resolve/main/config.json",
    "google/fnet-large": "https://huggingface.co/google/fnet-large/resolve/main/config.json"
    # See all FNet models at https://huggingface.co/models?filter=fnet
}







class a (     __SCREAMING_SNAKE_CASE  ):
						"""simple docstring"""

						UpperCamelCase_	:       Any       	=		'fnet'






						def __init__( self :     int				,							lowerCamelCase__ :     List[Any]=32_000				,							lowerCamelCase__ :     Union[str, Any]=768				,							lowerCamelCase__ :     Optional[Any]=12				,							lowerCamelCase__ :     Union[str, Any]=3_072				,							lowerCamelCase__ :     Any="gelu_new"				,							lowerCamelCase__ :     Dict=0.1				,							lowerCamelCase__ :     Optional[int]=512				,							lowerCamelCase__ :     List[Any]=4				,							lowerCamelCase__ :     Tuple=0.0_2				,							lowerCamelCase__ :     Any=1e-1_2				,							lowerCamelCase__ :     Tuple=False				,							lowerCamelCase__ :     Dict=512				,							lowerCamelCase__ :     List[str]=3				,							lowerCamelCase__ :     List[str]=1				,							lowerCamelCase__ :     List[Any]=2				,							**lowerCamelCase__ :     List[str]				,							)    ->						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      =    intermediate_size
													__lowercase      =    hidden_act
													__lowercase      =    hidden_dropout_prob
													__lowercase      =    initializer_range
													__lowercase      =    type_vocab_size
													__lowercase      =    layer_norm_eps
													__lowercase      =    use_tpu_fourier_optimizations
													__lowercase      =    tpu_short_seq_length












from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels






