Sentence Similarity
sentence-transformers
Safetensors
llama
feature-extraction
text-embeddings-inference
Instructions to use BAAI/LLARA-document with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/LLARA-document with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/LLARA-document") 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
- Xet hash:
- 91bf184ab12793d0754344f9095332759432e666320cc6c07f637af50e36db6f
- Size of remote file:
- 500 kB
- SHA256:
- 9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.