Importing a Model from Hugging Face
Import compatible open source and third-party models from Hugging Face into OCI Generative AI, host them, create endpoints, and use them like any other model.
Note
For a list of compatible models, see Compatible Models for Import.
Before importing a model that you fine-tuned outside the service, prepare the complete export as described in Importing Fine-Tuned Models.
On the Import models list page, select Import model. If you need help finding the list page, see Listing Imported Models.
Model definition
Import configuration
Tip
After you import the model, perform the following tasks:Use the
imported-model create-from-huggingfacecommand and required parameters to import a model:oci generative-ai imported-model create-from-huggingface [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateImportedModel operation to import a model.