





"""simple docstring"""






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


_A   					=    logging.get_logger(__name__)

_A   					=    {
    'facebook/vit-mae-base': 'https://huggingface.co/facebook/vit-mae-base/resolve/main/config.json',
    # See all ViT MAE models at https://huggingface.co/models?filter=vit-mae
}

class lowerCamelCase		(__lowerCamelCase      ):






					'''simple docstring'''


					a   	=		"vit_mae"



					def __init__(						self			:				List[Any]   , _snake_case			:				int=768   , _snake_case			:				List[str]=12   , _snake_case			:				int=12   , _snake_case			:				Dict=3072   , _snake_case			:				Any="gelu"   , _snake_case			:				Any=0.0   , _snake_case			:				int=0.0   , _snake_case			:				Tuple=0.02   , _snake_case			:				str=1e-12   , _snake_case			:				List[Any]=224   , _snake_case			:				Optional[Any]=16   , _snake_case			:				List[Any]=3   , _snake_case			:				Optional[int]=True   , _snake_case			:				str=16   , _snake_case			:				int=512   , _snake_case			:				int=8   , _snake_case			:				Any=2048   , _snake_case			:				List[Any]=0.75   , _snake_case			:				Tuple=False   , **_snake_case			:				str   , )							->       List[Any]:
									super().__init__(**UpperCAmelCase_		)

									SCREAMING_SNAKE_CASE__		  =				hidden_size
									SCREAMING_SNAKE_CASE__		  =				num_hidden_layers
									SCREAMING_SNAKE_CASE__		  =				num_attention_heads
									SCREAMING_SNAKE_CASE__		  =				intermediate_size
									SCREAMING_SNAKE_CASE__		  =				hidden_act
									SCREAMING_SNAKE_CASE__		  =				hidden_dropout_prob
									SCREAMING_SNAKE_CASE__		  =				attention_probs_dropout_prob
									SCREAMING_SNAKE_CASE__		  =				initializer_range
									SCREAMING_SNAKE_CASE__		  =				layer_norm_eps
									SCREAMING_SNAKE_CASE__		  =				image_size
									SCREAMING_SNAKE_CASE__		  =				patch_size
									SCREAMING_SNAKE_CASE__		  =				num_channels
									SCREAMING_SNAKE_CASE__		  =				qkv_bias
									SCREAMING_SNAKE_CASE__		  =				decoder_num_attention_heads
									SCREAMING_SNAKE_CASE__		  =				decoder_hidden_size
									SCREAMING_SNAKE_CASE__		  =				decoder_num_hidden_layers
									SCREAMING_SNAKE_CASE__		  =				decoder_intermediate_size
									SCREAMING_SNAKE_CASE__		  =				mask_ratio
									SCREAMING_SNAKE_CASE__		  =				norm_pix_loss





"""simple docstring"""






from __future__ import annotations

from collections.abc import Generator

import requests
from bsa import BeautifulSoup

_A   					=    'https://www.indeed.co.in/jobs?q=mobile+app+development&l='




def 						SCREAMING_SNAKE_CASE					(  __UpperCAmelCase = "mumbai"       )							->   Generator[tuple[str, str], None, None]:
				SCREAMING_SNAKE_CASE__		  =				BeautifulSoup(requests.get(url + location       ).content  ,					"html.parser"       )
				# This attribute finds out all the specifics listed in a job
				for job in soup.find_all("div"  ,					attrs={"data-tn-component": "organicJob"}       ):
								SCREAMING_SNAKE_CASE__		  =				job.find("a"  ,					attrs={"data-tn-element": "jobTitle"}       ).text.strip()
								SCREAMING_SNAKE_CASE__		  =				job.find("span"  ,					{"class": "company"}       ).text.strip()
								yield job_title, company_name


if __name__ == "__main__":
						for i, job in enumerate(fetch_jobs('Bangalore'), 1):
												print(F'Job {i:>2} is {job[0]} at {job[1]}')




