
'''simple docstring'''
from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


a_      =  logging.get_logger(__name__)

a_      =  {
    """google/electra-small-generator""": """https://huggingface.co/google/electra-small-generator/resolve/main/config.json""",
    """google/electra-base-generator""": """https://huggingface.co/google/electra-base-generator/resolve/main/config.json""",
    """google/electra-large-generator""": """https://huggingface.co/google/electra-large-generator/resolve/main/config.json""",
    """google/electra-small-discriminator""": (
        """https://huggingface.co/google/electra-small-discriminator/resolve/main/config.json"""
    ),
    """google/electra-base-discriminator""": (
        """https://huggingface.co/google/electra-base-discriminator/resolve/main/config.json"""
    ),
    """google/electra-large-discriminator""": (
        """https://huggingface.co/google/electra-large-discriminator/resolve/main/config.json"""
    ),
}






class       UpperCAmelCase_ (		snake_case__    ):
 UpperCAmelCase_									=  "electra"





 def __init__(			self       ,				lowercase_=3_05_22       ,				lowercase_=1_28       ,				lowercase_=2_56       ,				lowercase_=12       ,				lowercase_=4       ,				lowercase_=10_24       ,				lowercase_="gelu"       ,				lowercase_=0.1       ,				lowercase_=0.1       ,				lowercase_=5_12       ,				lowercase_=2       ,				lowercase_=0.02       ,				lowercase_=1E-12       ,				lowercase_="first"       ,				lowercase_=True       ,				lowercase_="gelu"       ,				lowercase_=0.1       ,				lowercase_=0       ,				lowercase_="absolute"       ,				lowercase_=True       ,				lowercase_=None       ,				**lowercase_       ,				):
     super().__init__(pad_token_id=UpperCAmelCase_       ,				**UpperCAmelCase_)

     snake_case_       :			List[Any]   	=  vocab_size
     snake_case_       :			Any   	=  embedding_size
     snake_case_       :			Optional[Any]   	=  hidden_size
     snake_case_       :			Optional[Any]   	=  num_hidden_layers
     snake_case_       :			Any   	=  num_attention_heads
     snake_case_       :			str   	=  intermediate_size
     snake_case_       :			Optional[Any]   	=  hidden_act
     snake_case_       :			Tuple   	=  hidden_dropout_prob
     snake_case_       :			Dict   	=  attention_probs_dropout_prob
     snake_case_       :			str   	=  max_position_embeddings
     snake_case_       :			List[Any]   	=  type_vocab_size
     snake_case_       :			Optional[int]   	=  initializer_range
     snake_case_       :			int   	=  layer_norm_eps

     snake_case_       :			Any   	=  summary_type
     snake_case_       :			Union[str, Any]   	=  summary_use_proj
     snake_case_       :			Optional[Any]   	=  summary_activation
     snake_case_       :			List[Any]   	=  summary_last_dropout
     snake_case_       :			List[Any]   	=  position_embedding_type
     snake_case_       :			List[Any]   	=  use_cache
     snake_case_       :			List[str]   	=  classifier_dropout






class       UpperCAmelCase_ (		snake_case__    ):





 @property
 def 				snake_case__						(			self):
     if self.task == "multiple-choice":
         snake_case_       :			Union[str, Any]   	=  {0: """batch""", 1: """choice""", 2: """sequence"""}
     else:
         snake_case_       :			Optional[int]   	=  {0: """batch""", 1: """sequence"""}
     return OrderedDict(
         [
             ("input_ids", dynamic_axis),
             ("attention_mask", dynamic_axis),
             ("token_type_ids", dynamic_axis),
         ])









"""simple docstring"""







import requests
from bsa import BeautifulSoup


def       __SCREAMING_SNAKE_CASE      (   __UpperCAmelCase					,							__UpperCAmelCase	):
		_lowercase							:      Dict			=					(
		    """https://www.horoscope.com/us/horoscopes/general/"""
		    F"""horoscope-general-daily-{day}.aspx?sign={zodiac_sign}"""
		)
		_lowercase							:      Any			=					BeautifulSoup(requests.get(__UpperCAmelCase	).content					,							"""html.parser"""	)
		return soup.find("""div"""					,							class_="""main-horoscope"""	).p.text


if __name__ == "__main__":
		print("""Daily Horoscope. \n""")
		print(
		    """enter your Zodiac sign number:\n""",
		    """1. Aries\n""",
		    """2. Taurus\n""",
		    """3. Gemini\n""",
		    """4. Cancer\n""",
		    """5. Leo\n""",
		    """6. Virgo\n""",
		    """7. Libra\n""",
		    """8. Scorpio\n""",
		    """9. Sagittarius\n""",
		    """10. Capricorn\n""",
		    """11. Aquarius\n""",
		    """12. Pisces\n""",
		)
		UpperCAmelCase:   Union[str, Any]       			=							int(input("""number> """).strip())
		print("""choose some day:\n""", """yesterday\n""", """today\n""", """tomorrow\n""")
		UpperCAmelCase:   List[Any]       			=							input("""enter the day> """)
		UpperCAmelCase:   List[Any]       			=							horoscope(zodiac_sign, day)
		print(horoscope_text)



