Model Catalog

1. Upload Files

Step 1: Install the SDK CLI

pip install https://s3-han02.fptcloud.com/aifactory-public/SDK/model_space-0.3.3-py3-none-any.whl

Step 2: Set up environment variables

export FPT_SPACE_URL=https://ai-api.fptcloud.com/
export FPT_TENANT_ID=
export FPT_SPACE_TOKEN=

Note:

Please visit https://ai.fptcloud.com/{{tenant_name}}/user-token to generate your access token and paste it after FPT_SPACE_TOKEN= above

To use the SDK through a proxy (e.g., internal environments), make sure to configure one of the proxy environment variables (HTTP_PROXY or HTTPS_PROXY) in addition to the variables above.

export HTTP_PROXY=
export HTTPS_PROXY=

Step 3: Upload model

model_space model upload --model-id {{model_id}} --path 

2. Download Files

Step 1: Install the SDK CLI

pip install https://s3-han02.fptcloud.com/aifactory-public/SDK/model_space-0.3.3-py3-none-any.whl

Step 2: Set up environment variables

Note:

Please visit https://ai.fptcloud.com/{{tenant_name}}/user-token to generate your access token and paste it after FPT_SPACE_TOKEN= above

To use the SDK through a proxy (e.g., internal environments), make sure to configure one of the proxy environment variables (HTTP_PROXY or HTTPS_PROXY) in addition to the variables above.

Step 3: Download model version

3. Delete File

Purpose: Delete the files associated with a version.

To delete files, follow these steps:

Step 1: Click on a model to view its details > Select the File Browser tab.

Step 2: Click the three dots in the Action column > Select Delete

Step 3: A confirmation dialog will appear. To confirm deletion, type "delete" into the text box. The Delete button will be enabled once the text is entered.

Step 4: To delete, click the Confirm button. To cancel the action, click Cancel.

Last updated