pub fn sentence_transformers_layout(
dir: &Path,
) -> Option<SentenceTransformersLayout>Expand description
The sentence-transformers layout in dir, if there is one. Both kinds ship a
config_sentence_transformers.json; only its model_type tells a
cross-encoder from an embedder, and one read as the other is served nonsense.