You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The all-MiniLM-L6-v2 is a sentence embedding model that can be used to convert sentences into a fixed-length numeric representation. Sentence embedding models are used in tools for similarity detection, information retrieval, or, with Large Language Models, such as in retrieval augmentation generation and semantic search workflows.
You can use this model with the documentEmbedding feature:
mdl = documentEmbedding(Model="all-MiniLM-L6-v2");
embed(mdl, "Accelerating the pace of engineering and science.");
MATLAB Release Compatibility
- Compatible with R2024a to R2026a
Platform Compatibility
- Windows
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
