class_docstr: Dataset to benchmark a translation like seq2seq task.
  Args:
      vocab_size (int, optional): size of the vocabulary (default 10000).
      max_source_positions (int, optional): max number of tokens in the
          source sentence (default: 1024).
      total_samples (int, optional): the total number of rows in the
          dataset (default: 10000).
code: def __len__(self):
      return self.total_samples
  
imports: import torch
  from torch.utils.data import Dataset
label_desc: Use image node_id 3 for calling the BenchmarkLMDataset obj's underlying member method code with example usage: obj.__len__() and returns: self