Skip to content

Add Support for Hugging Face Repositories #411

@austinfrog

Description

@austinfrog

Feature Request: Add Support for Hugging Face Repositories

Problem Description
The artifactory-client-java library does have huggingfaceml package type. This prevents us from programmatically creating and managing Hugging Face repositories in Artifactory using the Java client.

Proposed Solution
Requesting that support for the huggingfaceml package type be added to the artifactory-client-java library.

Alternative Considered
Alternative is to use Artifactory's REST API directly..

Example Usage
A user should be able to manage a Hugging Face repository in a way that is consistent with other package types. For example:

Java

if (PackageType.huggingfaceml == packageType) {
HuggingFaceMlRepositorySettings hfSettings = (HuggingFaceMlRepositorySettings) settings;
// ... access Hugging Face-specific settings ...
}

There isn’t a model for hugging face list here either:
https://github.com/jfrog/artifactory-client-java/tree/master/services/src/main/java/org/jfrog/artifactory/client/model/repository/settings/impl)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions