code: def _lookup_tokens(
      self, tokens: List[Tuple[str, int, int]]
  ) -> Tuple[List[int], List[int], List[int]]:
      return self.vocab_lookup(
          tokens,
          bos_idx=self.vocab.bos_idx,
          eos_idx=self.vocab.eos_idx,
          use_eos_token_for_bos=False,
          max_seq_len=self.max_seq_len,
      )
  
file_path: pytext/pytext/torchscript/tensorizer/roberta.py
imports: from typing import List, Optional, Tuple
  import torch
  from pytext.torchscript.utils import pad_2d_mask
  from .bert import ScriptBERTTensorizerBase
label_desc: Use image node_id 1 for calling the ScriptRoBERTaTensorizerWithIndices obj's underlying member method code with example usage: obj._lookup_tokens(tokens) and returns: self