code: def generate_text_data(num_instances=100):
      vocab = np.array(
          [
              ["adorable", "clueless", "dirty", "odd", "stupid"],
              ["puppy", "car", "rabbit", "girl", "monkey"],
              ["runs", "hits", "jumps", "drives", "barfs"],
              [
                  "crazily.",
                  "dutifully.",
                  "foolishly.",
                  "merrily.",
                  "occasionally.",
              ],
          ]
      )
      return np.array(
          [
              " ".join(
                  [vocab[j][np.random.randint(0, 5)] for j in range(4)]
              )
              for i in range(num_instances)
          ]
      )
  
file_path: autokeras/autokeras/test_utils.py
imports: import inspect
  import os
  import numpy
  import tensorflow
  from tensorflow import keras
  import autokeras
label_desc: Use image node_id 3 for calling a global function with example usage: generate_text_data(num_instances) and returns: np