code: def write_qids(name, ids_list):
      with open(
          "quora-IR-dataset/graph/" + name + "-questions.tsv",
          "w",
          encoding="utf8",
      ) as fOut:
          fOut.write("qid\n")
          fOut.write("\n".join(sorted(ids_list, key=lambda x: int(x))))
  
file_path: sentence-transformers/examples/training/quora_duplicate_questions/create_splits.py
imports: import csv
  from collections import defaultdict
  import random
  import os
  from sentence_transformers import util
label_desc: Use image node_id 2 for calling a global function with example usage: write_qids(name, ids_list) without return types