code: def __init__(
      self,
      *,
      duplication_jaccard_threshold: float = 0.85,
  ):
      self._duplication_jaccard_threshold = (
          duplication_jaccard_threshold
      )
      self._num_perm = NUM_PERM
      self._index = MinHashLSH(
          threshold=self._duplication_jaccard_threshold,
          num_perm=self._num_perm,
      )
  
      self._duplicate_clusters = defaultdict(set)
  
imports: import json
  import multiprocessing
  import re
  from collections import defaultdict
  from functools import partial
  from typing import Dict, List, Optional, Set, Tuple, Type
  from datasets import Dataset
  from tqdm import tqdm
  from datasketch import MinHash, MinHashLSH
  from dpu_utils.utils.iterators import ThreadedIterator
label_desc: Use image node_id 1 to create a new DuplicationIndex object  with example: obj = DuplicationIndex()