code: def test_gen_csv():
      data_path = "../data/gen/train-eval.csv"
      before_result = happy_gen.eval(data_path)
      print("before_result", before_result)
      happy_gen.train(data_path)
      after_result = happy_gen.eval(data_path)
      print("after_result", after_result)
  
      assert after_result.loss < before_result.loss
  
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 16 for calling a global function with example usage: test_gen_csv() without return types