code: def get_args():
      parser = argparse.ArgumentParser()
      parser.add_argument(
          "--model",
          "-m",
          type=str,
          default="GRU4Rec",
          help="Model for session-based rec.",
      )
      parser.add_argument(
          "--dataset",
          "-d",
          type=str,
          default="diginetica-session",
          help="Benchmarks for session-based rec.",
      )
      parser.add_argument(
          "--validation",
          action="store_true",
          help="Whether evaluating on validation set (split from train set), otherwise on test set.",
      )
      parser.add_argument(
          "--valid_portion",
          type=float,
          default=0.1,
          help="ratio of validation set.",
      )
      return parser.parse_known_args()[0]
  
imports: import argparse
  from logging import getLogger
  from recbole.config import Config
  from recbole.data import create_dataset
  from recbole.data.utils import get_dataloader
  from recbole.utils import init_logger, init_seed, get_model, get_trainer, set_color
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: parser