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 helper_decode(
      self, tokens: List[str], delimiter: str = " "
  ) -> str:
      text = delimiter.join(tokens)
      text = text.replace("@@ ", "")
      # It's also possible that we get a BPE encoding on the end of the word
      if text.endswith("@@"):
          text = text[:-2]
      text = text.replace("__newln__", "\n")
      return text
  
imports: from typing import Dict, List, Tuple
  import torch.jit
label_desc: Use image node_id 9 for calling the ScriptableSubwordBpeHelper obj's underlying member method code with example usage: obj.helper_decode(tokens, delimiter) and returns: text