-
Notifications
You must be signed in to change notification settings - Fork 181
[adding name to NLL evaluator] #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
|
|
||
| class NLLEvaluator(TrainingClientEvaluator): | ||
| def __init__(self, data: list[tinker.Datum]): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually wouldn't it be better to make the name default to "test", and remove the prefixing of "test" from the training loop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah that's better -- I thought the original code meant to always want "test/" to be the prefix of the log name but that's indeed a bit cumbersome.
|
Claude finished @ruiqi-zhong's task —— View job Code Review Complete ✓Todo List:
SummaryThis PR successfully adds a Key Changes
Design Discussion: Where Should the Prefix Be Applied?joschu's suggestion (tinker_cookbook/supervised/nll_evaluator.py:10):
Current implementation: ✅ Already follows this approach!
This is the correct design because:
Code Quality AssessmentStrengths:
Minor Issues:
Recommendations
Testing ConsiderationsTo verify this works correctly, consider testing:
ConclusionApproval Status: ✅ LGTM (with clarification that joschu's suggestion is already implemented) The PR successfully achieves its goal and the design is sound. The evaluators now properly namespace their metrics, enabling multiple evaluators of the same type to coexist with distinct names. |
|
Claude finished @ruiqi-zhong's task —— View job Code Review Complete ✓Todo List:
SummaryThis PR successfully implements the ability to have multiple NLL evaluators with distinct names for proper metric logging. The implementation correctly follows joschu's suggestion to default the name to Key Changes Review1.
|
adding name to NLL evaluator. otherwise we cannot have two different nll evaluators and log their results properly.