




"""simple docstring"""


import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer


def 					UpperCAmelCase__       (snake_case__							:					str		,   snake_case__							:					str		,   **snake_case__							:					Tuple    ):
  """simple docstring"""

  _snake_case							:		List[Any]								=  AutoConfig.from_pretrained(snake_case__		,   **snake_case__    )
  _snake_case							:		Dict								=  AutoModelForSeqaSeqLM.from_config(snake_case__    )
  model.save_pretrained(snake_case__    )
  AutoTokenizer.from_pretrained(snake_case__    ).save_pretrained(snake_case__    )
  return model


if __name__ == "__main__":
     fire.Fire(save_randomly_initialized_version)








"""simple docstring"""


from math import factorial

A_						=				{str(d): factorial(d) for d in range(10)}


def 					UpperCAmelCase__       (snake_case__							:					int    ):
  """simple docstring"""

  return sum(DIGIT_FACTORIAL[d] for d in str(snake_case__    )    )


def 					UpperCAmelCase__       ():
  """simple docstring"""

  _snake_case							:		List[str]								=  7 * factorial(9    ) + 1
  return sum(i for i in range(3		,   snake_case__    ) if sum_of_digit_factorial(snake_case__    ) == i    )


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


