-
Notifications
You must be signed in to change notification settings - Fork 155
Description
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)