

from __future__ import annotations

from typing import Dict

from ...configuration_utils import PretrainedConfig


lowercase_									=   {
    '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  __lowerCAmelCase     (					SCREAMING_SNAKE_CASE							):
  _a									=  """ernie_m"""
  _a									=  {"dropout": "classifier_dropout", "num_classes": "num_labels"}




  def __init__(				self							,   lowerCAmelCase = 250_002							,   lowerCAmelCase = 768							,   lowerCAmelCase = 12							,   lowerCAmelCase = 12							,   lowerCAmelCase = 3_072							,   lowerCAmelCase = "gelu"							,   lowerCAmelCase = 0.1							,   lowerCAmelCase = 0.1							,   lowerCAmelCase = 514							,   lowerCAmelCase = 0.02							,   lowerCAmelCase = 1							,   lowerCAmelCase = 1e-05							,   lowerCAmelCase=None							,   lowerCAmelCase=False							,   lowerCAmelCase=0.0							,   **lowerCAmelCase							,   )  -> List[Any]:
        '''simple docstring'''






        super().__init__(pad_token_id=lowerCAmelCase							,   **lowerCAmelCase					)
        _lowercase	       =vocab_size
        _lowercase	       =hidden_size
        _lowercase	       =num_hidden_layers
        _lowercase	       =num_attention_heads
        _lowercase	       =intermediate_size
        _lowercase	       =hidden_act
        _lowercase	       =hidden_dropout_prob
        _lowercase	       =attention_probs_dropout_prob
        _lowercase	       =max_position_embeddings
        _lowercase	       =initializer_range
        _lowercase	       =layer_norm_eps
        _lowercase	       =classifier_dropout
        _lowercase	       =is_decoder
        _lowercase	       =act_dropout





import os
def      a      (			)    ->      Any:





      """simple docstring"""



      with open(os.path.dirname(A__     ) + '/p022_names.txt'     ) as file:
            _lowercase	       =str(file.readlines()[0]     )
            _lowercase	       =names.replace('"'      ,   ''     ).split(','     )

      names.sort()

      _lowercase	       =0
      _lowercase	       =0

      for i, name in enumerate(A__     ):
            for letter in name:
                  name_score += ord(A__     ) - 64

            total_score += (i + 1) * name_score
            _lowercase	       =0
      return total_score


if __name__ == "__main__":
  print(solution())


