Skip to content

Code for supporting sample-based metrics for evaluation (#81) - #81

Merged
mseeger merged 3 commits into
mainfrom
helmet_eval4
Apr 2, 2026
Merged

mseeger merged 3 commits into
mainfrom
helmet_eval4

Conversation

@mseeger

@mseeger mseeger commented Apr 1, 2026 •

Copy link
Copy Markdown
Contributor

Sample-based metrics are now integrated:

  • Can select them instead of eval_loss during training
  • Can select them in longcontext_eval.py

Closes #72


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mseeger
mseeger requested a review from Jantory April 1, 2026 16:19
@mseeger mseeger self-assigned this Apr 1, 2026

@Jantory Jantory left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the validation loss during each evaluation step?

@mseeger

mseeger commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor Author

@Jantory If you want evaluation loss during training, you need to set --eval.use_sample_metric False (which is the default). But this will then not give you the sample-based eval metric.

At the moment, I cannot compute both, this would double the eval time (which is already longer than the training time if done every 10 steps). This can be improved, but needs #76

@mseeger
mseeger merged commit 816947b into main Apr 2, 2026
6 checks passed
@mseeger
mseeger deleted the helmet_eval4 branch April 2, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement training loss and evaluation metric for Helmet datasets

2 participants