




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


_snake_case										=       logging.get_logger(__name__)

_snake_case										=       {
    "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 						lowercase							(   UpperCamelCase__		):
     _a							 =						"rwkv"
     _a							 =						{"max_position_embeddings": "context_length"}

     def __init__(  self		,     _a=5_0277		,     _a=1024		,     _a=4096		,     _a=32		,     _a=None		,     _a=None		,     _a=1e-5		,     _a=0		,     _a=0		,     _a=6		,     _a=False		,     _a=True		,     **_a		,     )						->							Dict:
           _A							:     Tuple			=						vocab_size
           _A							:     Dict			=						context_length
           _A							:     Optional[Any]			=						hidden_size
           _A							:     List[Any]			=						num_hidden_layers
           _A							:     Union[str, Any]			=						attention_hidden_size if attention_hidden_size is not None else hidden_size
           _A							:     Tuple			=						intermediate_size if intermediate_size is not None else 4 * hidden_size
           _A							:     Union[str, Any]			=						layer_norm_epsilon
           _A							:     str			=						rescale_every
           _A							:     List[Any]			=						use_cache

           _A							:     int			=						bos_token_id
           _A							:     List[Any]			=						eos_token_id

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







import requests
from bsa import BeautifulSoup







def 				lowerCAmelCase_	(     snake_case_ = "AAPL"     ):
      _A							:     str			=						f'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
      _A							:     List[Any]			=						BeautifulSoup(requests.get(snake_case_     ).text,"""html.parser"""     )
      _A							:     Union[str, Any]			=						"""My(6px) Pos(r) smartphone_Mt(6px)"""
      return soup.find("""div""",class_=class_     ).find("""span"""     ).text


if __name__ == "__main__":
  for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
    print(f"""Current {symbol:<4} stock price is {stock_price(symbol):>8}""")

