




"""simple docstring"""




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


lowerCAmelCase							:    List[Any]  							=							logging.get_logger(__name__)

lowerCAmelCase							:    List[Any]  							=							{
    """RWKV/rwkv-4-169m-pile""": """https://huggingface.co/RWKV/rwkv-4-169m-pile/resolve/main/config.json""",
    """RWKV/rwkv-4-430m-pile""": """https://huggingface.co/RWKV/rwkv-4-430m-pile/resolve/main/config.json""",
    """RWKV/rwkv-4-1b5-pile""": """https://huggingface.co/RWKV/rwkv-4-1b5-pile/resolve/main/config.json""",
    """RWKV/rwkv-4-3b-pile""": """https://huggingface.co/RWKV/rwkv-4-3b-pile/resolve/main/config.json""",
    """RWKV/rwkv-4-7b-pile""": """https://huggingface.co/RWKV/rwkv-4-7b-pile/resolve/main/config.json""",
    """RWKV/rwkv-4-14b-pile""": """https://huggingface.co/RWKV/rwkv-4-14b-pile/resolve/main/config.json""",
    """RWKV/rwkv-raven-1b5""": """https://huggingface.co/RWKV/rwkv-raven-1b5/resolve/main/config.json""",
    """RWKV/rwkv-raven-3b""": """https://huggingface.co/RWKV/rwkv-raven-3b/resolve/main/config.json""",
    """RWKV/rwkv-raven-7b""": """https://huggingface.co/RWKV/rwkv-raven-7b/resolve/main/config.json""",
    """RWKV/rwkv-raven-14b""": """https://huggingface.co/RWKV/rwkv-raven-14b/resolve/main/config.json""",
}






class 					__magic_name__							( UpperCAmelCase__       ):






				'''simple docstring'''
				__UpperCamelCase    						=		"rwkv"
				__UpperCamelCase    						=		{"max_position_embeddings": "context_length"}





				def __init__( self	,				_a=50_277	,				_a=1_024	,				_a=4_096	,				_a=32	,				_a=None	,				_a=None	,				_a=1e-5	,				_a=0	,				_a=0	,				_a=6	,				_a=False	,				_a=True	,				**_a	,				):





							"""simple docstring"""
							lowerCamelCase       =      vocab_size
							lowerCamelCase       =      context_length
							lowerCamelCase       =      hidden_size
							lowerCamelCase       =      num_hidden_layers
							lowerCamelCase       =      attention_hidden_size if attention_hidden_size is not None else hidden_size
							lowerCamelCase       =      intermediate_size if intermediate_size is not None else 4 * hidden_size
							lowerCamelCase       =      layer_norm_epsilon
							lowerCamelCase       =      rescale_every
							lowerCamelCase       =      use_cache

							lowerCamelCase       =      bos_token_id
							lowerCamelCase       =      eos_token_id

							super().__init__(
							    tie_word_embeddings=_a	,				bos_token_id=_a	,				eos_token_id=_a	,				**_a				)









"""simple docstring"""




from ..utils import DummyObject, requires_backends






class 					__magic_name__							( metaclass=UpperCAmelCase__       ):






				'''simple docstring'''
				__UpperCamelCase    						=		["note_seq"]





				def __init__( self	,				*_a	,				**_a				):





							"""simple docstring"""
							requires_backends(self	,				["""note_seq"""]				)





				@classmethod
				def      _lowerCAmelCase       ( cls	,				*_a	,				**_a				):





							"""simple docstring"""
							requires_backends(cls	,				["""note_seq"""]				)





				@classmethod
				def      _lowerCAmelCase       ( cls	,				*_a	,				**_a				):





							"""simple docstring"""
							requires_backends(cls	,				["""note_seq"""]				)



