Register a model#
For each ML model that you're working with, you can create a model object in Neptune and track any related metadata.
Creating a Model object#
Model object is suitable for storing general metadata that is shared by all versions of the model. For example:
- Model signature
- Validation datasets
- Description of model's purpose
Create model through API#
Import Neptune and call the
Alternatively, you can use the class constructor:
To see the model in Neptune, navigate to the Models section of your project.
Create model in app#
- In the Models section of your project, click Create new model.
- Enter a key and optionally a name and description for your model.
Now you can log metadata to the model in your Python code.
How do I find the ID?
The Neptune ID is a unique identifier for the object. It's shown in the leftmost column of the table view.
The ID is stored in the system namespace, in the
Logging metadata to the model#
Track model metadata by assigning them to the
Upload the model signature and other data with the
Track dataset versions with the
To stop the connection to Neptune and sync all data, call the
stop() method and execute the script or cell:
To see the model in Neptune, click the link in the console output.