class_docstr: Keep track of what's going on in the binarizer
code: def replaced_percent(self) -> float:
      return 100 * self.num_replaced / self.num_tok
  
imports: import logging
  import os
  import typing
  from abc import ABC, abstractmethod
  from collections import Counter
  from dataclasses import dataclass
  from multiprocessing import Pool
  import torch
  from fairseq.data import Dictionary, indexed_dataset
  from fairseq.file_chunker_utils import Chunker, find_offsets
  from fairseq.file_io import PathManager
  from fairseq.tokenizer import tokenize_line
label_desc: Use image node_id 2 for calling the BinarizeSummary obj's underlying member method code with example usage: obj.replaced_percent() and returns: unknown