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
Ubuntu commited on
Commit ·
47751ab
1
Parent(s): 6493336
Update config
Browse files- adapter_config.json +2 -2
adapter_config.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27b437f3e2d38b2e40398cdf5d26ef9e686b7569cfd9356d693ceccad056dc8e
|
| 3 |
+
size 1149
|