exasol / transformers-extension

An Exasol extension for using state-of-the-art pretrained machine learning models via the Hugging Face Transformers API.
MIT License
2 stars 2 forks source link

Refactor model path generation into one function out of HuggingFaceHubBucketFSModelTransferSP and LoadLocalModel #216

Closed MarleneKress79789 closed 1 month ago

MarleneKress79789 commented 2 months ago

Currently the model path is created in different places. this is confusing and error prone. we want to pull the creation of the model path into a seperate function and use the new function in HuggingFaceHubBucketFSModelTransferSP and LoadLocalModel