Creating a Trained Custom Model
Create a custom model in OCI Generative AI by fine-tuning a base model with your own dataset.
Before you create a model, ensure that you have permission to create custom models and list buckets, and that your dataset meets the training data requirements.
Note
Base models for custom models aren't available in all regions. See Pretrained Foundational Models in Generative AI for the regions that a base model is available in.
Base models for custom models aren't available in all regions. See Pretrained Foundational Models in Generative AI for the regions that a base model is available in.
On the Custom models list page, select Create custom model. If you need help finding the list page, see Listing Custom Models.
Model definition
Fine-tuning configuration
Data Selection
Review custom model
Review the custom model information. If you're not happy with the information, go back and change the values. If you're happy with the selections, create the custom model. Use the model create command and required parameters to create a custom model:
oci generative-ai model create --base-model-id <base-model-OCID> --compartment-id <compartment-OCID> --fine-tune-details [complex type] [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Note
For the base model ID, instead of an OCID, you can use the base model name exactly as listed in the Console's playground. You can also find this OCI model name, in the model's detail page in Pretrained Foundational Models in Generative AI.Run the CreateModel operation to create a custom model.
Note
For the base model ID, instead of an OCID, you can use the base model name exactly as listed in the Console's playground. You can also find this OCI model name, in the model's detail page in Pretrained Foundational Models in Generative AI.