code: def training_data_dedupe(
      data: DataStr, common_key: str, training_size: int = 50000
  ) -> TrainingData:  # pragma: nocover
      ...
  
imports: from __future__ import annotations
  import collections
  import itertools
  import random
  import sys
  import warnings
  from typing import Iterator, Tuple, overload
  import numpy
  import dedupe
  from dedupe._typing import DataInt, DataStr, Literal, RecordDict, RecordDictPair, RecordID, TrainingData
  from dedupe.canonical import getCanonicalRep
  from dedupe.core import unique
label_desc: Use image node_id 11 for calling a global function with example usage: training_data_dedupe(data, common_key, training_size) without return types