code: def mock_data(
      samples,
      train_file,
      dev_file,
      test_file,
      text_vocab_file=None,
      text_vocab_list=None,
      label_vocab_file=None,
      label_vocab_list=None,
  ):
      logging.info("Generate mock data: {}".format(train_file))
      mock_a_text_file(samples, 300, train_file)
      logging.info("Generate mock data: {}".format(dev_file))
      mock_a_text_file(samples, 100, dev_file)
      logging.info("Generate mock data: {}".format(test_file))
      mock_a_text_file(samples, 100, test_file)
  
      if text_vocab_file and text_vocab_list:
          logging.info(
              "Generate text vocab file: {}".format(text_vocab_file)
          )
          save_a_vocab_file(text_vocab_file, text_vocab_list)
      if label_vocab_file and label_vocab_file:
          logging.info(
              "Generate label vocab file: {}".format(label_vocab_file)
          )
          save_a_vocab_file(label_vocab_file, label_vocab_list)
  
      # for seq2seq
      if (
          not text_vocab_file
          and not text_vocab_list
          and not label_vocab_file
          and not label_vocab_list
      ):
          logging.info(
              "Generate mock data: {} and split to src and tgt.".format(
                  train_file
              )
          )
          split_file(train_file)
          logging.info(
              "Generate mock data: {} and split to src and tgt.".format(
                  dev_file
              )
          )
          split_file(dev_file)
          logging.info(
              "Generate mock data: {} and split to src and tgt.".format(
                  test_file
              )
          )
          split_file(test_file)
  
file_path: delta/delta/data/datasets/utils.py
imports: import os
  import pickle
  import numpy
  from pathlib import Path
  import tempfile
  from absl import logging
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 10 for calling a global function with example usage: mock_data(samples, train_file, dev_file, test_file, text_vocab_file, text_vocab_list, label_vocab_file, label_vocab_list) without return types