text: #!/usr/bin/env python3
  
  # Copyright (c) Facebook, Inc. and its affiliates.
  # This source code is licensed under the MIT license found in the
  # LICENSE file in the root directory of this source tree.
  """
  Pretrained polyencoder retrieval model on the Wizard of Wikipedia dialogue task.
  """
  
  from parlai.core.build_data import download_models
  
  
  def download(datapath):
      model_type = 'wizard_single_task'
      version = 'v1.0'
      opt = {'datapath': datapath, 'model_type': model_type}
      fnames = [f'{version}.tar.gz']
      download_models(
          opt=opt,
          fnames=fnames,
          model_folder='blended_skill_talk',
          version=version,
          use_model_type=True,
      )
  