Skip to content

Instantly share code, notes, and snippets.

@C-EB
Created February 6, 2025 16:15
Show Gist options
  • Save C-EB/c2dff9a78755974c7515fa28e42805cd to your computer and use it in GitHub Desktop.
Save C-EB/c2dff9a78755974c7515fa28e42805cd to your computer and use it in GitHub Desktop.
test evaluation
test_results = trainer.evaluate(
eval_dataset=tokenized_datasets['test'],
metric_key_prefix="test"
)
print("Test Results:", test_results)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment