"""simple docstring"""




from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


__lowerCAmelCase    :							List[Any]													=						{
    "susnato/ernie-m-base_pytorch": "https://huggingface.co/susnato/ernie-m-base_pytorch/blob/main/config.json",
    "susnato/ernie-m-large_pytorch": "https://huggingface.co/susnato/ernie-m-large_pytorch/blob/main/config.json",
}

class       a_      (  UpperCamelCase_			):
					UpperCamelCase_ :	Any			=    "ernie_m"
					UpperCamelCase_ :	Optional[int]			=    {"dropout": "classifier_dropout", "num_classes": "num_labels"}




					def __init__(	self						:     Optional[int]  ,						snake_case__						:     Union[str, Any] = 250002  ,						snake_case__						:     int = 768  ,						snake_case__						:     Optional[Any] = 12  ,						snake_case__						:     Any = 12  ,						snake_case__						:     str = 3072  ,						snake_case__						:     int = "gelu"  ,						snake_case__						:     List[str] = 0.1  ,						snake_case__						:     str = 0.1  ,						snake_case__						:     Union[str, Any] = 514  ,						snake_case__						:     Any = 0.02  ,						snake_case__						:     int = 1  ,						snake_case__						:     int = 1E-05  ,						snake_case__						:     int=None  ,						snake_case__						:     Dict=False  ,						snake_case__						:     Dict=0.0  ,						**snake_case__						:     int  ,						):
							super().__init__(pad_token_id=__a  ,						**__a     )
							lowerCAmelCase__        =   vocab_size
							lowerCAmelCase__        =   hidden_size
							lowerCAmelCase__        =   num_hidden_layers
							lowerCAmelCase__        =   num_attention_heads
							lowerCAmelCase__        =   intermediate_size
							lowerCAmelCase__        =   hidden_act
							lowerCAmelCase__        =   hidden_dropout_prob
							lowerCAmelCase__        =   attention_probs_dropout_prob
							lowerCAmelCase__        =   max_position_embeddings
							lowerCAmelCase__        =   initializer_range
							lowerCAmelCase__        =   layer_norm_eps
							lowerCAmelCase__        =   classifier_dropout
							lowerCAmelCase__        =   is_decoder
							lowerCAmelCase__        =   act_dropout





"""simple docstring"""




import pprint

import requests

__lowerCAmelCase    :							Union[str, Any]													=						"https://zenquotes.io/api"







def 							_UpperCAmelCase		(       ):





		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + """/today"""     ).json()







def 							_UpperCAmelCase		(       ):





		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + """/random"""     ).json()


if __name__ == "__main__":
			__lowerCAmelCase    :							Union[str, Any]													=						random_quotes()
			pprint.pprint(response)




