Hugging Face Limitations in Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

The following are the limitations of Hugging Face in Artifactory:

  • Artifactory Version Support: Hugging Face repositories are supported from Artifactory version 7.77.1, and deploying and resolving datasets is supported from Artifactory version 7.90.x. Security scanning of datasets is coming soon.

  • Hugging Face Spaces: Artifactory does not currently support Hugging Face Spaces.

  • Naming Restrictions: When deploying models to Hugging Face repositories, structure all names and revision identifiers according to the Hugging Face limitations:

    • Organization names: Can only contain letters, numbers, and hyphens (-). Cannot start or end with a hyphen, or use consecutive hyphens (--). Cannot contain only numbers.

    • Model names: Can only contain letters, numbers, hyphens (-), underscores (_), and periods (.)

    • Revision identifiers: Can only contain letters, numbers, hyphens (-), and periods (.). Cannot contain spaces or control characters like ^ or &.

  • Model Deployment Limitations on Earlier Artifactory Versions: Due to limitations in the implementation of the Hugging Face client, you can only deploy lighter models to Hugging Face local repositories on Artifactory versions earlier than 7.75.3.