code: def test_gen_save_load_train():
      output_path = "data/gen-train/"
      data_path = "../data/gen/train-eval.txt"
      args = GENTrainArgs()
      run_save_load(happy_gen, output_path, args, data_path, "train")
  
imports: import torch
  from happytransformer import HappyGeneration, GENSettings, GENTrainArgs, GENEvalArgs
  import pytest
  from tests.run_save_load import run_save_load
  from tests import happy_gen
label_desc: Use image node_id 10 for calling a global function with example usage: test_gen_save_load_train() without return types