Skip to content

Commit

Permalink
Apply suggestions from code review [CodeBuild]
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias authored Aug 5, 2024
1 parent 1ac2088 commit 10cc7d4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/changes/changes_2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Code name: Python update and fixed model saving

## Summary

This release Fixes an error in the saving and loading of model metadata. It also adds Exasol Saas support and
This release Fixes an error in saving and loading of the model metadata. It also adds Exasol Saas support and
updated the project to python 3.10


Expand Down
2 changes: 1 addition & 1 deletion doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ severely. Available task_types are the same as the names of our available UDFs,

### 2. Model Uploader Script
You can invoke the python script as below which allows to download the transformer
models from The Hugging Face hub to the local filesystem, and then from there to the Bucketfs.
models from The Hugging Face hub to the local filesystem, and then from there to the BucketFS.


#### List of options
Expand Down
2 changes: 1 addition & 1 deletion exasol_transformers_extension/upload_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def main(
downloader.download_from_huggingface_hub(model)
# upload model files to BucketFS
model_tar_file_path = downloader.upload_to_bucketfs()
print("your model or tokenizer has been saved in the BucketFS at: " + str(model_tar_file_path))
print("Your model or tokenizer has been saved in the BucketFS at: " + str(model_tar_file_path))


if __name__ == '__main__':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from tests.utils.parameters import model_params
from tests.utils.mock_connections import create_mounted_bucketfs_connection

# debug
from tests.fixtures.model_fixture import *
from tests.fixtures.setup_database_fixture import *
from tests.fixtures.language_container_fixture import *
Expand Down

0 comments on commit 10cc7d4

Please sign in to comment.