Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
text-embeddings-inference
Instructions to use Revankumar/Ecommerce_assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Revankumar/Ecommerce_assistant with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Revankumar/Ecommerce_assistant") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a40c3ef | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a3a6d26ddc6c77fc23f10dad77bef281a1eeb004d004c4b17140b9354254aa60
size 133462128
|