If you already have a model you’ve used elsewhere, or you’ve found an open-source model on Hugging Face that’s not directly supported on AI Studio, you can still fine-tune it using AI Studio.
Here’s a guide on how to bring your custom model into AI Studio for fine-tuning.
pip install https://s3-han02.fptcloud.com/modelhubsdk/ai-studio/model_space-0.2.5.9-py3-none-any.whl
export FPT_SPACE_URL="https://ai-api.fptcloud.com"
export FPT_SPACE_TOKEN=""
export FPT_TENANT_ID=""
model_space model upload --model-id --version-id --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.
Note
Make sure you have edited the tags to include the model size and chat template information
Ensure that all files from external model sources are fully uploaded to the Model Hub