code: def get_tqdm_kwargs(**kwargs):
      
      default = dict(
          smoothing=0.5,
          dynamic_ncols=True,
          ascii=True,
          bar_format='{l_bar}{bar}|{n_fmt}/{total_fmt}[{elapsed}<{remaining},{rate_noinv_fmt}]'
      )
  
      try:
          # Use this env var to override the refresh interval setting
          interval = float(os.environ['TENSORPACK_PROGRESS_REFRESH'])
      except KeyError:
          interval = _pick_tqdm_interval(kwargs.get('file', sys.stderr))
  
      default['mininterval'] = interval
      default.update(kwargs)
      return default
docs: Return default arguments to be used with tqdm.
  
      Args:
          kwargs: extra arguments to be used.
      Returns:
          dict: