Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
nomic_bert
feature-extraction
Trained with AutoTrain
custom_code
text-embeddings-inference
Instructions to use olivernormand/lex-002 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use olivernormand/lex-002 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("olivernormand/lex-002", trust_remote_code=True) sentences = [ "search_query: i love autotrain", "search_query: huggingface auto train", "search_query: hugging face auto train", "search_query: i love autotrain" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!