Get best model from artifacts

Hi @ierezell,

I think I understand your question a little better. We are currently working on a feature that will make exactly what you’re asking for super clean and easy :slight_smile:

In the meantime the most straightforward way of going about this would be to save the performance of all of the metrics you care about to the run.summary of the run that produced that model. Then from the api you can query all the runs in the project and select the best run using the metrics you set in the summary. Then you can get the download the best model and use it as an input to your production code.

Here is a related example querying the best model from a sweep but the process will be slightly different for you use case.

1 Like