Text Analytics Toolbox Model for all-MiniLM-L6-v2 Network
Pretrained all-MiniLM-L6-v2 Network for MATLAB
34 Downloads
Updated
11 Sep 2024
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
Created with
R2024a
Compatible with R2024a to R2024b
Platform Compatibility
Windows macOS (Apple silicon) macOS (Intel) LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.