class_docstr: Creates a dataset to use for the task of joint intent
  and slot classification with pretrained model.
  
  For a dataset to use during inference without labels, see
  IntentSlotDataset.
class_docstr_tok: ["Creates","a","dataset","to","use","for","the","task","of","joint","intent","and","slot","classification","with","pretrained","model",".","For","a","dataset","to","use","during","inference","without","labels",",","see","IntentSlotDataset","."]
code: def __len__(self):
      return len(self.all_input_ids)
  
imports: from typing import Dict, Optional
  import numpy
  from nemo.collections.nlp.data.data_utils import get_stats
  from nemo.collections.nlp.data.dialogue.dataset.dialogue_dataset import DialogueDataset
  from nemo.core.neural_types import ChannelType, LabelsType, MaskType, NeuralType
  from nemo.utils import logging
label_desc: Use image node_id 4 for calling the DialogueBERTDataset obj's underlying member method code with example usage: obj.__len__() and returns: len