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 PredictionUDFs and LoadLocalModel so that LoadLocalModel constructs the bucketfs model file path #217

Closed MarleneKress79789 closed 3 months ago

MarleneKress79789 commented 5 months ago

We want to simplify the model loading and path management and also make future changes easier. To archive this, pull the bucketfs file path construction for the model from the HuggingFaceHubBucketFSModelTransferSP and BaseModelUDF into LoadLocalModel and supply the path to HuggingFaceHubBucketFSModelTransferSP for loading the model.