mlcommons / mlcommons/algorithmic-efficiency
Skip eval on train and test for self-reporting results
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 425
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Feature request: allow users to skip eval on train and test
Evaluating on the training and test sets is time-consuming and not necessary for self-reporting results.
We should add a flag that allow the user to skip eval on these datasets, to make scoring faster.
Accordingly, in this scenario we should modify:
goals_reached = (
train_state['validation_goal_reached'] and
train_state['test_goal_reached'])
into:
goals_reached = (train_state['validation_goal_reached'])
This would speed up self-evalution even more, by stopping training when validation target is reached, avoiding unnecessary usage of computational resources.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the training loop that computes goals_reached and the self-reporting evaluation path described in the issue. Trace how train, validation, and test evaluation are selected, then define the flag's scope and verify that enabling it skips train and test evaluation while stopping on the validation goal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100