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
I'm facing some difficulties of using this repository in production due to its limited support for commit strings / revisions. Would it be possible to implement the below two changes:
a) Allow the huggingface revision kwarg to be fed into SentenceTransformer(..) which is then fed into snapshot_download to know for sure a certain model version is downloaded?
b) Not overwrite the default huggingface filename in snapshot_download? By default huggingface seems to keep the revision in the filename. This can then be used to detect the revision downloaded from the environment. Overwriting it with force_filename=relative_filepath causes us to lose this piece of information... :(
Thanks for this amazing repo!
The text was updated successfully, but these errors were encountered:
+1, right now I guess the workaround would be to use huggingface to download the model with revision and then load it in sentence-transformers from disk, but it's not really nice.
I'm facing some difficulties of using this repository in production due to its limited support for commit strings / revisions. Would it be possible to implement the below two changes:
a) Allow the huggingface
revision
kwarg to be fed intoSentenceTransformer(..)
which is then fed intosnapshot_download
to know for sure a certain model version is downloaded?b) Not overwrite the default huggingface filename in snapshot_download? By default huggingface seems to keep the revision in the filename. This can then be used to detect the revision downloaded from the environment. Overwriting it with
force_filename=relative_filepath
causes us to lose this piece of information... :(Thanks for this amazing repo!
The text was updated successfully, but these errors were encountered: