Access production-ready models#
This example illustrate how to download production-stage model files.
It assumes the following:
- You use tags to indicate model stage.
- The model binaries are stored in the "model/binary"field of a run.
To access and download model files based on their stage:
- 
Initialize a project: import neptune project = neptune.init_project( project="workspace-name/project-name", # (1)! mode="read-only", )- 
The full project name. For example, "ml-team/classification".- You can copy the name from the project details ( → Details & privacy)
- You can also find a pre-filled projectstring in Experiments → Create a new run.
 
 
- 
- 
Fetch the experiments table as a pandas DataFrame and filter it for runs with the "production" tag: 
- 
Download the files using the download()method:
- 
To stop the connection to Neptune and sync all data, call the stop()method:
Result: The model files are downloaded to the current working directory.