






from typing import Any






class 						lowercase_   :






      '''simple docstring'''




      def __init__( self :		Dict					,   __UpperCAmelCase :		Any    )       ->List[str]:




       """simple docstring"""


       a						    = data
       a						    = None






class 						lowercase_   :






      '''simple docstring'''




      def __init__( self :		Any    )       ->Optional[Any]:




       """simple docstring"""


       a						    = None







      def  __lowerCAmelCase   ( self :		Optional[Any]    )       ->Tuple:




       """simple docstring"""


       a						    = self.head
       while temp is not None:
        print(temp.data					,   end=''' '''    )
        a						    = temp.next
       print()







      def  __lowerCAmelCase   ( self :		str					,   __UpperCAmelCase :		Any    )       ->Dict:




       """simple docstring"""


       a						    = Node(__UpperCAmelCase    )
       a						    = self.head
       a						    = new_node







      def  __lowerCAmelCase   ( self :		Optional[int]					,   __UpperCAmelCase :		Union[str, Any]					,   __UpperCAmelCase :		int    )       ->Any:




       """simple docstring"""


       if node_data_a == node_data_a:
        return
       else:
        a						    = self.head
        while node_a is not None and node_a.data != node_data_a:
         a						    = node_a.next

        a						    = self.head
        while node_a is not None and node_a.data != node_data_a:
         a						    = node_a.next

        if node_a is None or node_a is None:
         return

        a    ,	a						    = node_a.data, node_a.data


if __name__ == "__main__":
     UpperCAmelCase__							  =						LinkedList()
     for i in range(5, 0, -1):
          ll.push(i)

     ll.print_list()

     ll.swap_nodes(1, 4)
     print("After swapping")
     ll.print_list()










from ... import PretrainedConfig


UpperCAmelCase__							  =						{
    "sijunhe/nezha-cn-base": "https://huggingface.co/sijunhe/nezha-cn-base/resolve/main/config.json",
}






class 						lowercase_   (      lowercase  ):






      '''simple docstring'''




      __snake_case	    =    NEZHA_PRETRAINED_CONFIG_ARCHIVE_MAP
      __snake_case	    =    '''nezha'''







      def __init__( self :		Union[str, Any]					,   __UpperCAmelCase :		List[str]=21_128					,   __UpperCAmelCase :		Any=768					,   __UpperCAmelCase :		int=12					,   __UpperCAmelCase :		Optional[int]=12					,   __UpperCAmelCase :		Tuple=3_072					,   __UpperCAmelCase :		Union[str, Any]="gelu"					,   __UpperCAmelCase :		List[str]=0.1					,   __UpperCAmelCase :		Any=0.1					,   __UpperCAmelCase :		str=512					,   __UpperCAmelCase :		List[Any]=64					,   __UpperCAmelCase :		Tuple=2					,   __UpperCAmelCase :		List[Any]=0.02					,   __UpperCAmelCase :		List[str]=1e-1_2					,   __UpperCAmelCase :		int=0.1					,   __UpperCAmelCase :		Dict=0					,   __UpperCAmelCase :		Any=2					,   __UpperCAmelCase :		Optional[Any]=3					,   __UpperCAmelCase :		int=True					,   **__UpperCAmelCase :		Optional[Any]					,   )       ->Any:




       """simple docstring"""


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

       a						    = vocab_size
       a						    = hidden_size
       a						    = num_hidden_layers
       a						    = num_attention_heads
       a						    = hidden_act
       a						    = intermediate_size
       a						    = hidden_dropout_prob
       a						    = attention_probs_dropout_prob
       a						    = max_position_embeddings
       a						    = max_relative_position
       a						    = type_vocab_size
       a						    = initializer_range
       a						    = layer_norm_eps
       a						    = classifier_dropout
       a						    = use_cache


