
'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase					:    Any           = logging.get_logger(__name__)

lowerCAmelCase					:    str           = {
    'uw-madison/mra-base-512-4': 'https://huggingface.co/uw-madison/mra-base-512-4/resolve/main/config.json',
}


class 			SCREAMING_SNAKE_CASE__      (     snake_case_):
				lowerCAmelCase_     			=							"""mra"""







				def __init__(       self						,				A_=50265						,				A_=768						,				A_=12						,				A_=12						,				A_=3072						,				A_="gelu"						,				A_=0.1						,				A_=0.1						,				A_=512						,				A_=1						,				A_=0.02						,				A_=1e-5						,				A_="absolute"						,				A_=4						,				A_="full"						,				A_=0						,				A_=0						,				A_=1						,				A_=0						,				A_=2						,				**A_						,				)->		Dict:







											'''simple docstring'''






											super().__init__(pad_token_id=A_						,				bos_token_id=A_						,				eos_token_id=A_						,				**A_     )

											UpperCamelCase   			=     vocab_size
											UpperCamelCase   			=     max_position_embeddings
											UpperCamelCase   			=     hidden_size
											UpperCamelCase   			=     num_hidden_layers
											UpperCamelCase   			=     num_attention_heads
											UpperCamelCase   			=     intermediate_size
											UpperCamelCase   			=     hidden_act
											UpperCamelCase   			=     hidden_dropout_prob
											UpperCamelCase   			=     attention_probs_dropout_prob
											UpperCamelCase   			=     initializer_range
											UpperCamelCase   			=     type_vocab_size
											UpperCamelCase   			=     layer_norm_eps
											UpperCamelCase   			=     position_embedding_type
											UpperCamelCase   			=     block_per_row
											UpperCamelCase   			=     approx_mode
											UpperCamelCase   			=     initial_prior_first_n_blocks
											UpperCamelCase   			=     initial_prior_diagonal_n_blocks






'''simple docstring'''
import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
						print('Googling.....')
						lowerCAmelCase					:    List[Any]           = 'https://www.google.com/search?q=' + ' '.join(sys.argv[1:])
						lowerCAmelCase					:    List[Any]           = requests.get(url, headers={'UserAgent': UserAgent().random})
						# res.raise_for_status()
						with open('project1a.html', 'wb') as out_file:  # only for knowing the class
												for data in res.iter_content(1_00_00):
																		out_file.write(data)
						lowerCAmelCase					:    Tuple           = BeautifulSoup(res.text, 'html.parser')
						lowerCAmelCase					:    List[Any]           = list(soup.select('.eZt8xd'))[:5]

						print(len(links))
						for link in links:
												if link.text == "Maps":
																		webbrowser.open(link.get('href'))
												else:
																		webbrowser.open(f"""https://google.com{link.get('href')}""")




