The FrogML SDK library is a Python tool designed to streamline the Machine Learning (ML) models and associated artifacts stored in JFrog Artifactory. With FrogML, you can upload and download models seamlessly and efficiently. FrogML is the main SDK library for JFrog ML. For more information, see JFrog ML Introduction.
Prerequisite: Before connecting FrogML to Artifactory, you must have an existing Machine Learning repository in Artifactory. For more information, see Create a Machine Learning Repository.
To connect FrogML to Artifactory:
Run the following command to install the FrogML SDK:
pip install frogml
Run the following command to authenticate FrogML against Artifactory:
export JF_ACCESS_TOKEN=<AUTH_TOKEN> export JF_URL=https://[JFrogPlatformURL]Where:
<AUTH_TOKEN>: Your Artifactory access token[JFrogPlatformURL]: The URL of your JPD
For example:
export JF_ACCESS_TOKEN=ajK2m4p6N8r9TbuFvWxYz1C3E5G7H9JtywzZ55JCAwpHhTZsOr7Uv-L7oeCKZ3y export JF_URL=https://company.jfrog.io
Note
You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.
Next steps:
Log and load ML models:
For more information about FrogML, see the JFrog ML documentation.