






import warnings

from ...utils import logging
from .image_processing_poolformer import PoolFormerImageProcessor


lowercase  :							List[str]			  =    logging.get_logger(__name__)




class 		UpperCAmelCase_						(	SCREAMING_SNAKE_CASE__					):


						'''simple docstring'''




						def __init__(	self		,				*_SCREAMING_SNAKE_CASE		,				**_SCREAMING_SNAKE_CASE				) ->				None:
								warnings.warn(
								    "The class PoolFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
								    " Please use PoolFormerImageProcessor instead."		,				_SCREAMING_SNAKE_CASE		,				)
								super().__init__(*_SCREAMING_SNAKE_CASE		,				**_SCREAMING_SNAKE_CASE				)








import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer

def      lowerCAmelCase__	(    _a       :			str  ,      _a       :			str  ,      **_a       :			Optional[int]    ):
		snake_case_				:							Any						 =       AutoConfig.from_pretrained(_a  ,      **_a    )
		snake_case_				:							str						 =       AutoModelForSeqaSeqLM.from_config(_a    )
		model.save_pretrained(_a    )
		AutoTokenizer.from_pretrained(_a    ).save_pretrained(_a    )
		return model


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