


'''simple docstring'''
import jax.numpy as jnp

from ...utils import logging
from ..ta.modeling_flax_ta import FlaxTaEncoderModel, FlaxTaForConditionalGeneration, FlaxTaModel
from .configuration_mta import MTaConfig


__snake_case				 =	logging.get_logger(__name__)

__snake_case				 =	'''T5Config'''


def      a (     __a					,   __a					,   __a  )    ->      jnp.ndarray:



					'''simple docstring'''






					UpperCamelCase__  :int				   =					jnp.zeros_like(__a  )
					UpperCamelCase__  :str				   =					shifted_input_ids.at[:, 1:].set(input_ids[:, :-1]  )
					UpperCamelCase__  :List[Any]				   =					shifted_input_ids.at[:, 0].set(__a  )

					UpperCamelCase__  :Optional[int]				   =					jnp.where(shifted_input_ids == -100					,   __a					,   __a  )
					return shifted_input_ids
class   lowercase      (				A__   ):

		"""simple docstring"""

		_a       					=							'mt5'
		_a       					=							MTaConfig



class   lowercase      (				A__   ):

		"""simple docstring"""

		_a       					=							'mt5'
		_a       					=							MTaConfig



class   lowercase      (				A__   ):

		"""simple docstring"""

		_a       					=							'mt5'
		_a       					=							MTaConfig



'''simple docstring'''
import requests
from bsa import BeautifulSoup


def      a (     __a = "AAPL"  )    ->      str:



					'''simple docstring'''






					UpperCamelCase__  :str				   =					f'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
					UpperCamelCase__  :Tuple				   =					BeautifulSoup(requests.get(__a  ).text					,   '''html.parser'''  )
					UpperCamelCase__  :Tuple				   =					'''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}""")