


import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer







def    _snake_case (       __snake_case					,  __snake_case					,  **__snake_case    )     ->     Optional[Any]:






      '''simple docstring'''







      UpperCAmelCase_  :	List[Any]				      =		AutoConfig.from_pretrained(__snake_case					,  **__snake_case    )
      UpperCAmelCase_  :	str				      =		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)





def    _snake_case (       __snake_case					,  __snake_case    )     ->     str:






      '''simple docstring'''







      if a < 0 or b < 0:
            raise ValueError("the value of both inputs must be positive"    )

      UpperCAmelCase_  :	List[Any]				      =		str(bin(__snake_case    )    )[2:]  # remove the leading "0b"
      UpperCAmelCase_  :	int				      =		str(bin(__snake_case    )    )[2:]  # remove the leading "0b"

      UpperCAmelCase_  :	Optional[int]				      =		max(len(__snake_case    )					,  len(__snake_case    )    )

      return "0b" + "".join(
          str(int(char_a == "1" and char_b == "1"    )    )
          for char_a, char_b in zip(a_binary.zfill(__snake_case    )					,  b_binary.zfill(__snake_case    )    )    )


if __name__ == "__main__":
   import doctest

   doctest.testmod()
