import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer

def 			lowercase_				(			_lowerCamelCase							:       str		,	_lowerCamelCase							:       str		,	**_lowerCamelCase							:       Tuple):
    lowercase__ :   Tuple    					=				AutoConfig.from_pretrained(_lowerCamelCase		,	**_lowerCamelCase)
    lowercase__ :   Tuple    					=				AutoModelForSeqaSeqLM.from_config(_lowerCamelCase)
    model.save_pretrained(_lowerCamelCase)
    AutoTokenizer.from_pretrained(_lowerCamelCase).save_pretrained(_lowerCamelCase)
    return model


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







from maths.prime_factors import prime_factors
def 				__lowerCamelCase						( UpperCAmelCase_						:		int						):




      """simple docstring"""





      if not isinstance(UpperCAmelCase_ ,  UpperCAmelCase_						):
            a						:Dict 							=       F'''Input value of [number={number}] must be an integer'''
            raise TypeError(UpperCAmelCase_						)
      if number < 1:
            raise ValueError('''Input must be a positive integer'''						)
      return -1 if len(prime_factors(UpperCAmelCase_						)						) % 2 else 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()





