How to log a model
Use therun.log_model
API to log a model. Provide the path where your model files are saved to the path
parameter. The path can be a local file, directory, or reference URI to an external bucket such as s3://bucket/path
.
Optionally provide a name for the model artifact for the name
parameter. If name
is not specified, W&B uses the basename of the input path prepended with the run ID.
Copy and paste the proceeding code snippet. Ensure to replace values enclosed in <>
with your own.