Instructions to use Y-Research-Group/CSRv2-pair_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Y-Research-Group/CSRv2-pair_classification with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Y-Research-Group/CSRv2-pair_classification") 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
File size: 128 Bytes
6493336 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae971760e0431c49f152d9d59e625946405df5151459ce98641e58f753e8e265
size 132
|