-
Notifications
You must be signed in to change notification settings - Fork 358
Add model sampling to Surrogate for batch generation #4109
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
|
This pull request was exported from Phabricator. Differential Revision: D77252555 |
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4109 +/- ##
==========================================
- Coverage 96.08% 96.08% -0.01%
==========================================
Files 566 566
Lines 57104 57174 +70
==========================================
+ Hits 54868 54934 +66
- Misses 2236 2240 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
52bf559 to
97abab4
Compare
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
|
This pull request was exported from Phabricator. Differential Revision: D77252555 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D77252555 |
Summary: Pull Request resolved: facebook#4109 Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
97abab4 to
89f9bd8
Compare
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Differential Revision: D77252555
Summary: ModelConfig has a name field that is optional. MBM Surrogate needs an identifier for model; currently uses name if present, or just drops the model if not when storing eval results. MBM Generator needs an identifier for model and uses name if present, or str(model_config) if not. This cleans things up a bit by providing an identifier for ModelConfig that will always exist and so can be used in the place of name and clean up logic in the other parts of MBM. The identifier follows what was done in MBM Generator for tracking gen metadata: it is name if name exists, otherwise a string dump of the model config. Reviewed By: sdaulton Differential Revision: D78560884
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality). Reviewed By: sdaulton Differential Revision: D77252555
89f9bd8 to
eedf449
Compare
|
This pull request was exported from Phabricator. Differential Revision: D77252555 |
|
This pull request has been merged in c5856a6. |
Summary: Adds a "models_for_gen(n)" method to Surrogate that will constructs a list of n models from which to generate n candidates. The list of models is constructed by sampling from the given ModelConfigs according to their model selection eval criterion (taken as a measure of model quality).
Differential Revision: D77252555