

"""simple docstring"""




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


lowercase_			=  logging.get_logger(__name__)

lowercase_			=  {
    "edbeeching/decision-transformer-gym-hopper-medium": (
        "https://huggingface.co/edbeeching/decision-transformer-gym-hopper-medium/resolve/main/config.json"
    ),
    # See all DecisionTransformer models at https://huggingface.co/models?filter=decision_transformer
}


class 			A						(							_UpperCAmelCase			):







    """simple docstring"""





    lowerCamelCase		     =							'decision_transformer'
    lowerCamelCase		     =							['past_key_values']
    lowerCamelCase		     =							{
        'max_position_embeddings': 'n_positions',
        'num_attention_heads': 'n_head',
        'num_hidden_layers': 'n_layer',
    }


    def __init__(				self			:	List[Any],lowercase_			:	Tuple=1_7,lowercase_			:	Union[str, Any]=4,lowercase_			:	Any=1_2_8,lowercase_			:	Optional[Any]=4_0_9_6,lowercase_			:	Optional[Any]=True,lowercase_			:	int=1,lowercase_			:	str=1_0_2_4,lowercase_			:	Union[str, Any]=3,lowercase_			:	Dict=1,lowercase_			:	Any=None,lowercase_			:	Dict="relu",lowercase_			:	int=0.1,lowercase_			:	Optional[Any]=0.1,lowercase_			:	Optional[Any]=0.1,lowercase_			:	List[Any]=1E-5,lowercase_			:	Optional[int]=0.02,lowercase_			:	Union[str, Any]=True,lowercase_			:	Dict=True,lowercase_			:	List[str]=5_0_2_5_6,lowercase_			:	int=5_0_2_5_6,lowercase_			:	Any=False,lowercase_			:	List[Any]=False,**lowercase_			:	Union[str, Any],)->   List[Any]:





        '''simple docstring'''







        A__   				=       state_dim
        A__   				=       act_dim
        A__   				=       hidden_size
        A__   				=       max_ep_len
        A__   				=       action_tanh
        A__   				=       vocab_size
        A__   				=       n_positions
        A__   				=       n_layer
        A__   				=       n_head
        A__   				=       n_inner
        A__   				=       activation_function
        A__   				=       resid_pdrop
        A__   				=       embd_pdrop
        A__   				=       attn_pdrop
        A__   				=       layer_norm_epsilon
        A__   				=       initializer_range
        A__   				=       scale_attn_weights
        A__   				=       use_cache
        A__   				=       scale_attn_by_inverse_layer_idx
        A__   				=       reorder_and_upcast_attn

        A__   				=       bos_token_id
        A__   				=       eos_token_id

        super().__init__(bos_token_id=lowercase_,eos_token_id=lowercase_,**lowercase_		)




def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int = 1000				)							->				int:





    '''simple docstring'''






    A__   				=       3
    A__   				=       0
    while a < n:
        if a % 3 == 0 or a % 5 == 0:
            result += a
        elif a % 15 == 0:
            result -= a
        a += 1
    return result


if __name__ == "__main__":
     print(f"""{solution() = }""")

