code: def model_text(model_dict, fout):
      name = model_dict.get("title").title()
      fout.write(f"### {name}")
      fout.write("\n")
  
      links = ""
      if "project" in model and model["project"]:
          link = model["project"]
          links += f"[[related project]]({link})"
      if "external_website" in model and model["external_website"]:
          link = model["external_website"]
          links += f"[[external website]]({link})"
      if links != "":
          fout.write(links + "\n")
  
      fout.write("\n" + model["description"])
      fout.write("\n\n")
  
      fout.write("Example invocation(s):\n\n")
      if "example" in model:
          example = model["example"]
      else:
          example = "parlai eval_model --model {} --task {} --model-file {}".format(
              model["agent"], model["task"], model["path"]
          )
      fout.write(example_to_code(example, model.get("result")))
      fout.write("\n\n")
  
      if "example2" in model:
          fout.write(
              example_to_code(model["example2"], model.get("result2"))
          )
          fout.write("\n\n")
  
label_desc: Use image node_id 2 for calling a global function with example usage: model_text(model_dict, fout) without return types