Choose your model version*
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=127b8a93-14cd-47cf-9d8f-aee1680924b0 export FPT_SPACE_TOKEN=
Note:
Please visit https://ai.fptcloud.com/AI-8T0FUWK6H/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: Download model version
model_space model download --model-id f9ddc6d2-ddbd-4c26-9c69-dd7bc0510f2d --version-id f75071f2-1fa1-4ec2-9683-7a6b41190190 --path
Optional parameters
Include only files that match the given regex patterns. Multiple patterns should be separated by commas ,.
Exclude files that match the given regex patterns. You can also use commas , to separate multiple patterns.