rapidsai / crossfit

Metric calculation library
Apache License 2.0
2 stars 6 forks source link

Remove namespace prefix from `SentenceTransformerModel` cfg loader #16

Closed oliverholworthy closed 1 year ago

oliverholworthy commented 1 year ago

Remove namespace prefix from SentenceTransformerModel cfg loader.

The current implementaton restricts the use of SentenceTransformerModel to the hugging face models in the sentence-transformers namespace. Removing this prefix enables loading from other namespaces e.g. intfloat/e5-* or from a local path