opensearch-project / opensearch-py-ml

Apache License 2.0
34 stars 64 forks source link

[Fix] To change the model zip file name from hugging face org id to a custom prefix when upload_prefix provided. #413

Closed conggguan closed 3 months ago

conggguan commented 3 months ago

Description

Change the model zip file name from hugging face org id to a custom prefix when upload_prefix provided, now when provided a upload_prefix, the origin name logic will change the mid prefix only, but the final zip file name with a org id be a prefix.

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.