Skip to content

Add a Community Model

Scan a model directly from a public repository on Hugging Face by specifying the repository URL or ID. The model is automatically downloaded and scanned by the HiddenLayer AI Security Platform.

Concurrent Scans

Four concurrent scans is the maximum allowed for a tenant by default. Concurrent scans is the combined total of all SaaS scans, like Local and Community scans. Adding more model files while scans are in progress will put the unscanned files in a queue and process when resources are available. The concurrent scan limit can be increased for your tenant by submitting a request through HiddenLayer’s Customer Support portal or by emailing Support at [email protected].

Private or Gated Hugging Face Repositories

Private or gated Hugging Face repositories are not supported.

Adding a New Community Model

  1. In the AI Security Platform, go to the Model Inventory page.

  2. Click + Add Model. The Add Model slideout displays.

    Add Model
  3. Click the Community Upload tab.

  4. Enter a name for the model. This name should be unique for your organization.

  5. Enter the URL or Repository ID for the model you want to scan.

    • URL format: https://huggingface.com/…/main

    • Hugging Face Repo ID format: HuggingFace/main-branch

      Add Model
  6. Click Add. The scan is added to your Model Inventory.

    • Notifications will display updates about the scan, like when a scan completes.

      Add Model
  7. Click on the Recent Scans - Last 24 Hours drop-down menu from any page within the platform. If there are no scans within the last 24 hours, then No Local Scan History Last 24 Hours displays instead of the drop-down menu.

    Scan Local Model Last 24 Hours Any Page

Adding to Existing Community Model

  1. In the AI Security Platform, go to the Model Inventory page.

  2. Click + Add Model. The Add Model slideout displays.

    Add Model
  3. Click the Community Upload tab.

  4. Enter a name for an existing model. As you type the name, suggestions will display that you can select.

  5. Enter the URL or Repository ID for the model you want to scan.

    • URL format: https://huggingface.com/…/main

    • Hugging Face Repo ID format: HuggingFace/main-branch

      Add Model
  6. Click Add. The scan is added to your existing model.