code: def get_duplicate_set(ids_set):
      dups_set = set()
      for a in ids_set:
          for b in duplicates[a]:
              ids = sorted([a, b])
              dups_set.add(tuple(ids))
      return dups_set
  
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 1 for calling a global function with example usage: get_duplicate_set(ids_set) and returns: dups_set