code: def set_train_nlu_arguments(parser: argparse.ArgumentParser) -> None:
      """Specifies CLI arguments for `rasa train nlu`."""
      add_config_param(parser)
      add_domain_param(parser, default=None)
      add_out_param(
          parser,
          help_text="Directory where your models should be stored.",
      )
  
      add_nlu_data_param(
          parser, help_text="File or folder containing your NLU data."
      )
  
      _add_num_threads_param(parser)
  
      _add_model_name_param(parser)
      add_persist_nlu_data_param(parser)
      add_finetune_params(parser)
  
imports: import argparse
  from typing import Union
  from rasa.cli.arguments.default_arguments import add_config_param, add_stories_param, add_nlu_data_param, add_out_param, add_domain_param, add_endpoint_param
  from rasa.graph_components.providers.training_tracker_provider import TrainingTrackerProvider
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DATA_PATH
label_desc: Use image node_id 3 for calling a global function with example usage: set_train_nlu_arguments(parser) without return types