You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The directory structure where pre-trained models are downloaded has been changed with transformers 4.22
While the models files directly are downloaded into the cache directory in older versions, with version 4.22 transformers uses complex directory structure.
We need to upload this directory to bucket as we downloaded.
* Updated to transformers 4.31.0 and torch 2.0.1+cpu.
* Adapt bucketfs_operations.py to the new model format
* Used tar to upload model directory
* Fix upload_model.py by unifying in model and tokenizer path to a single local-model-path. Because we are using a tar archive of the cache directory as the model file which then gets extracted from the BucketFS, we required that the Model and Tokenizer are in the same cache directory under the same name.
Co-authored-by: Marlene Kreß <[email protected]>
Background
Acceptance Criteria
The text was updated successfully, but these errors were encountered: