code: def test_gen_eval_ratio():
      args = GENTrainArgs(eval_ratio=0.1, num_train_epochs=1)
  
      happy_gen.train(DATA_PATH, args=args)
  
imports: from happytransformer import HappyGeneration, GENTrainArgs
  import pytest
  from tests import happy_gen
label_desc: Use image node_id 2 for calling a global function with example usage: test_gen_eval_ratio() without return types