



"""simple docstring"""
from ... import PretrainedConfig


UpperCAmelCase						:		Union[str, Any]			= {
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}


class    SCREAMING_SNAKE_CASE__ (							__UpperCAmelCase   ):
    lowercase__      =   NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
    lowercase__      =   "nezha"

    def __init__(				self			:				Optional[Any] ,  lowerCAmelCase_			:				List[str]=2_1_1_2_8 ,  lowerCAmelCase_			:				int=7_6_8 ,  lowerCAmelCase_			:				Union[str, Any]=1_2 ,  lowerCAmelCase_			:				str=1_2 ,  lowerCAmelCase_			:				Tuple=3_0_7_2 ,  lowerCAmelCase_			:				List[Any]="gelu" ,  lowerCAmelCase_			:				Any=0.1 ,  lowerCAmelCase_			:				Dict=0.1 ,  lowerCAmelCase_			:				str=5_1_2 ,  lowerCAmelCase_			:				Any=6_4 ,  lowerCAmelCase_			:				str=2 ,  lowerCAmelCase_			:				List[Any]=0.02 ,  lowerCAmelCase_			:				Any=1E-12 ,  lowerCAmelCase_			:				Optional[int]=0.1 ,  lowerCAmelCase_			:				Tuple=0 ,  lowerCAmelCase_			:				Union[str, Any]=2 ,  lowerCAmelCase_			:				Optional[Any]=3 ,  lowerCAmelCase_			:				Optional[Any]=True ,  **lowerCAmelCase_			:				Optional[Any] ,  ):







      """simple docstring"""







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

      lowercase_								= vocab_size
      lowercase_								= hidden_size
      lowercase_								= num_hidden_layers
      lowercase_								= num_attention_heads
      lowercase_								= hidden_act
      lowercase_								= intermediate_size
      lowercase_								= hidden_dropout_prob
      lowercase_								= attention_probs_dropout_prob
      lowercase_								= max_position_embeddings
      lowercase_								= max_relative_position
      lowercase_								= type_vocab_size
      lowercase_								= initializer_range
      lowercase_								= layer_norm_eps
      lowercase_								= classifier_dropout
      lowercase_								= use_cache






"""simple docstring"""
from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


UpperCAmelCase						:		Union[str, Any]			= datasets.utils.logging.get_logger(__name__)


class    SCREAMING_SNAKE_CASE__ (							folder_based_builder.FolderBasedBuilderConfig   ):
    lowercase__      =   None
    lowercase__      =   None







class    SCREAMING_SNAKE_CASE__ (							folder_based_builder.FolderBasedBuilder   ):
    lowercase__      =   datasets.Audio()
    lowercase__      =   "audio"
    lowercase__      =   AudioFolderConfig
    lowercase__      =   42  # definition at the bottom of the script
    lowercase__      =   AudioClassification(audio_column="audio"      ,  label_column="label"   )







UpperCAmelCase						:		Tuple			= [
    ".aiff",
    ".au",
    ".avr",
    ".caf",
    ".flac",
    ".htk",
    ".svx",
    ".mat4",
    ".mat5",
    ".mpc2k",
    ".ogg",
    ".paf",
    ".pvf",
    ".raw",
    ".rf64",
    ".sd2",
    ".sds",
    ".ircam",
    ".voc",
    ".w64",
    ".wav",
    ".nist",
    ".wavex",
    ".wve",
    ".xi",
    ".mp3",
    ".opus",
]
UpperCAmelCase						:		Any			= AUDIO_EXTENSIONS

