Downloading Models

Accessing models from the Incu AI platform is designed to be straightforward and efficient, ensuring users can quickly integrate or testing models.

  1. Using the Incu AI SDK (coming soon)

  2. Cloning via Git:

    Since models on Incu AI are managed using Git repositories, you can clone the repository to your local environment:

    Copy

    bashCopy codegit clone https://incu.co/models/example-model

    This method allows for version control and easy updates to the model files.

  3. Direct Download from the Web:

    Models can be downloaded directly from the Incu AI web interface. Navigate to the model's page and download the files to your local.

    Example download script:

    Copy

    pythonCopy codefrom inferium_sdk import InferiumHub
    
    repo_id = "example-repo-id"
    file_name = "model.pt"
    
    InferiumHub.download_file(repo_id=repo_id, file_name=file_name, save_to="models/")
  4. Automated Scripts for Continuous Integration:

    For integrating model downloads into automated workflows, you can use scripts. Here’s an example:

    Copy

    pythonCopy codefrom inferium_sdk import InferiumHub
    
    def fetch_model(repo_id, file_name, destination):
        InferiumHub.download_file(repo_id=repo_id, file_name=file_name, save_to=destination)
    
    fetch_model("example-repo-id", "model.pt", "models/")

Advantages of Downloading Models from Incu AI

Ready-to-Use Models: Access a diverse range of pre-trained models that can save significant time and computational resources.

User-Friendly: The platform is designed to be intuitive, with easy-to-follow procedures for downloading and integrating models.

Comprehensive Support: Detailed documentation and robust community support ensure you can troubleshoot and get help as needed.

By leveraging the capabilities of Incu AI, you can seamlessly integrate powerful AI models into your applications, enhancing functionality and performance.

Last updated