code: def download_model(lang_id, if_exists="strict", dimension=None):
      """
      Download pre-trained common-crawl vectors from fastText's website
      https://fasttext.cc/docs/en/crawl-vectors.html
      """
      if lang_id not in valid_lang_ids:
          raise Exception(
              "Invalid lang id. Please select among %s"
              % repr(valid_lang_ids)
          )
  
      file_name = "cc.%s.300.bin" % lang_id
      gz_file_name = "%s.gz" % file_name
  
      if os.path.isfile(file_name):
          if if_exists == "ignore":
              return file_name
          elif if_exists == "strict":
              print("File exists. Use --overwrite to download anyway.")
              return
          elif if_exists == "overwrite":
              pass
  
      if _download_gz_model(gz_file_name, if_exists):
          with gzip.open(gz_file_name, "rb") as f:
              with open(file_name, "wb") as f_out:
                  shutil.copyfileobj(f, f_out)
  
      return file_name
  
file_path: fastText/python/fasttext_module/fasttext/util/util.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import sys
  import shutil
  import os
  import gzip
label_desc: Use image node_id 8 for calling a global function with example usage: download_model(lang_id, if_exists, dimension) and returns: file_name, file_name