code: def langid_job1(thread=None):
      if thread is None:
          thread = max_thread()
      config = {}
      config["dataset"] = "langid"
      config["args"] = {
          "dim": 16,
          "minn": 2,
          "maxn": 4,
          "thread": thread,
      }
      config["args"]["input"] = "langid.train"
      config["quant_args"] = {
          "qnorm": True,
          "cutoff": 50000,
          "retrain": True,
      }
      config["quant_args"]["input"] = config["args"]["input"]
      config["test"] = {
          "n": 10000,
          "p1": 0.985,
          "r1": 0.985,
          "size": 368132610,
          "data": "langid.valid",
      }
      # One quant example (to illustrate slack): 0.984 0.984 932793
      config["quant_test"] = {
          "p1": 0.97,
          "r1": 0.97,
          "size": 1000000,
      }
      config["quant_test"]["n"] = config["test"]["n"]
      config["quant_test"]["data"] = config["test"]["data"]
      return config
  
file_path: fastText/python/fasttext_module/fasttext/tests/test_configurations.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import multiprocessing
label_desc: Use image node_id 5 for calling a global function with example usage: langid_job1(thread) and returns: config