This releases patches a niche bug when loading a Sentence Transformer model which:
- is local
- uses a
Normalize
module as specified inmodules.json
- does not contain the directory specified in the model configuration
This only occurs when a model with Normalize
is downloaded from the Hugging Face hub and then later used locally.
See #2458 and #2459 for more details.
Release highlights
- Don't require loading files for Normalize by @tomaarsen (#2460)
Full Changelog: v2.3.0...v2.3.1