



import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer

def      __lowercase					( snake_case,  snake_case,  **snake_case ):







				"""simple docstring"""






				__magic_name__		:Dict        =      AutoConfig.from_pretrained(_snake_case,  **_snake_case )
				__magic_name__		:Any        =      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)














from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available


SCREAMING_SNAKE_CASE__      :			Union[str, Any]							=		{"""tokenization_herbert""": ["""HerbertTokenizer"""]}

try:
					if not is_tokenizers_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__      :			Optional[Any]							=		["""HerbertTokenizerFast"""]


if TYPE_CHECKING:
					from .tokenization_herbert import HerbertTokenizer

					try:
										if not is_tokenizers_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_herbert_fast import HerbertTokenizerFast

else:
					import sys

					SCREAMING_SNAKE_CASE__      :			Union[str, Any]							=		_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)






