code: def _create_dummy_meta_data(self):
      text_field_meta = FieldMeta()
      text_field_meta.vocab = VocabStub()
      text_field_meta.vocab_size = 4
      text_field_meta.unk_token_idx = 1
      text_field_meta.pad_token_idx = 0
      text_field_meta.pretrained_embeds_weight = None
      label_meta = FieldMeta()
      label_meta.vocab = VocabStub()
      label_meta.vocab_size = 3
      metadata = CommonMetadata()
      metadata.features = {DatasetFieldName.TEXT_FIELD: text_field_meta}
      metadata.target = label_meta
      return metadata
  
file_path: captum/tests/attr/models/test_pytext.py
imports: from __future__ import print_function
  import os
  import tempfile
  import unittest
  from typing import Dict, List
  import torch
label_desc: Use image node_id 7 for calling the TestWordEmbeddings obj's underlying member method code with example usage: obj._create_dummy_meta_data() and returns: metadata