class_docstr: Version of parlai.utils.bpe.SubwordBPEHelper that can be TorchScripted.
class_docstr_tok: ["Version","of","parlai.utils.bpe.SubwordBPEHelper","that","can","be","TorchScripted","."]
code: def __init__(
      self,
      add_prefix_space: bool,
      version: Tuple[int, int],
      bpe_codes: Dict[str, float],
      separator: str,
  ):
      self.add_prefix_space = add_prefix_space
      self.version = version
      self.bpe_codes = bpe_codes
      self.separator = separator
  
imports: from typing import Dict, List, Tuple
  import torch.jit
label_desc: Use image node_id 2 to create a new ScriptableSubwordBpeHelper object from inherited base classes: object with example: obj = ScriptableSubwordBpeHelper(add_prefix_space, version, bpe_codes, separator)