Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
Generated from Trainer
dataset_size:31800
loss:MultipleNegativesRankingLoss
Instructions to use as9122/instructor-xl-stance-mixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use as9122/instructor-xl-stance-mixed with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("as9122/instructor-xl-stance-mixed") sentences = [ "Search for texts invalidating Artificial intelligence will ultimately enhance human creativity rather than replace it.", "The claim is essentially true because Toyota's brand reputation has become synonymous with quality and dependability, making it the default 'best' choice for the majority of pragmatic car buyers worldwide.", "The infinite and effortless generation of content by AI will lead to market saturation and a profound devaluation of all creative work, discouraging humans from engaging in the difficult creative process and thus replacing a vibrant creative culture with one of passive consumption.", "Search for texts invalidating", "Artificial intelligence will ultimately enhance human creativity rather than replace it." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [5, 5] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!