
"""simple docstring"""
from typing import Any





def    _lowerCAmelCase    (     lowerCamelCase__							:							Any				)  ->    int:
  if not input_list:
    return []
  _SCREAMING_SNAKE_CASE   :				int							    = [input_list.count(lowerCAmelCase__				) for value in input_list]
  _SCREAMING_SNAKE_CASE   :				str							    = max(lowerCAmelCase__				)  # Gets the maximum count in the input list.
  # Gets values of modes
  return sorted({input_list[i] for i, value in enumerate(lowerCAmelCase__				) if value == y}				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()





"""simple docstring"""
import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer





def    _lowerCAmelCase    (     lowerCamelCase__							:							str,						lowerCamelCase__							:							str,						**lowerCamelCase__							:							Optional[Any]				)  ->    Union[str, Any]:
  _SCREAMING_SNAKE_CASE   :				Dict							    = AutoConfig.from_pretrained(lowerCamelCase__,						**lowerCamelCase__				)
  _SCREAMING_SNAKE_CASE   :				List[str]							    = 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)



