Feature Extraction
sentence-transformers
PyTorch
TensorFlow
Rust
English
bert
sentence-similarity
text-embeddings-inference
Instructions to use radames/all-MiniLM-L6-v2-feature-extraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use radames/all-MiniLM-L6-v2-feature-extraction with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("radames/all-MiniLM-L6-v2-feature-extraction") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Duplicate from sentence-transformers/all-MiniLM-L6-v2
Radamés Ajna +1: julien-c Co-authored-by: Julien Chaumond <julien-c@users.noreply.huggingface.co>a5639e3