ABEJA Model SDK documentation

ABEJA model library is SDK for python, which allows developers to create, get and delete models.

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.models import APIClient

api_client = APIClient()
model = api_client.get_model(organization_id, model_id)
model_versions = api_client.list_model_versions(organization_id, model_id)

API Mapping

method path description
post /organizations/<organization_id>/models DEPRECATED APIClient.create_model()
get /organizations/<organization_id/models DEPRECATED APIClient.get_models()
get /organizations/<organization_id>/models/<model_id> DEPRECATED APIClient.get_model()
delete /organizations/<organization_id>/models/<model_id> DEPRECATED APIClient.delete_model()
post /organizations/<organization_id>/models/<model_id>/versions DEPRECATED APIClient.create_model_version()
get /organizations/<organization_id>/models/<model_id>/versions DEPRECATED APIClient.get_model_versions()
get /organizations/<organization_id>/models/<model_id>/versions/<version_id> DEPRECATED APIClient.get_model_version()
delete /organizations/<organization_id>/models/<model_id>/versions/<version_id> DEPRECATED APIClient.delete_model_version()
get /organizations/<organization_id>/training/definitions/<job_definition_name>/models APIClient.get_training_models()
post /organizations/<organization_id>/training/definitions/<job_definition_name>/models APIClient.create_training_model()
get /organizations/<organization_id>/training/definitions/<job_definition_name>/models/<model_id> APIClient.get_training_model()
patch /organizations/<organization_id>/training/definitions/<job_definition_name>/models/<model_id> APIClient.patch_training_model()
get /organizations/<organization_id>/training/definitions/<job_definition_name>/models/<model_id>/download APIClient.download_training_model()
post /organizations/<organization_id>/training/definitions/<job_definition_name>/models/<model_id>/archive APIClient.archive_training_model()
post /organizations/<organization_id>/training/definitions/<job_definition_name>/models/<model_id>/unarchive APIClient.unarchive_training_model()