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 decode(self, tokens: List[str]) -> str:
      output: List[str] = []
      accum: List[str] = []
      for token in tokens:
          accum.append(token)
      if len(accum) > 0:
          output.append(self.helper_decode(accum, " "))
  
      text = "".join(output)
      if self.add_prefix_space:
          assert text.startswith(" ")
          text = text.lstrip(" ")
      return text
  
imports: from typing import Dict, List, Tuple
  import torch.jit
label_desc: Use image node_id 8 for calling the ScriptableSubwordBpeHelper obj's underlying member method code with example usage: obj.decode(tokens) and returns: text