





'''simple docstring'''



import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer




def 				_lowerCAmelCase  (			lowerCamelCase_     :					str						,    lowerCamelCase_     :					str						,    **lowerCamelCase_     :					Optional[int]			):
			__lowercase			  =							AutoConfig.from_pretrained(lowerCamelCase_						,    **lowerCamelCase_			)
			__lowercase			  =							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)












'''simple docstring'''



import numpy as np




def 				_lowerCAmelCase  (			lowerCamelCase_     :					np.array			):
			return 1 / (1 + np.exp(-vector			))




def 				_lowerCAmelCase  (			lowerCamelCase_     :					np.array			):
			return vector * sigmoid(1.7_02 * vector			)


if __name__ == "__main__":
	import doctest

	doctest.testmod()





