code: def fake_model_dir(empty_model_dir):
      metadata_file = "metadata.json"
      metadata_content = {
          "pipeline": "pretrained_embeddings_spacy",
          "language": "en",
      }
      metadata_path = os.path.join(empty_model_dir, metadata_file)
      utils.write_json_to_file(metadata_path, metadata_content)
  
      fake_obj = {"Fake", "model"}
      fake_obj_path = os.path.join(empty_model_dir, "component.pkl")
      with open(fake_obj_path, "wb") as f:
          pickle.dump(fake_obj, f)
      return empty_model_dir
  
file_path: rasa/tests/nlu/test_utils.py
imports: import os
  import pickle
  import pytest
  import tempfile
  import shutil
  from typing import Text
  import rasa.shared.nlu.training_data.message
  import rasa.shared.utils.io
  from rasa.nlu import utils
label_desc: Use image node_id 2 for calling a global function with example usage: fake_model_dir(empty_model_dir) and returns: empty_model_dir