Instructions to use cl-nagoya/ruri-pt-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cl-nagoya/ruri-pt-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cl-nagoya/ruri-pt-base") 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: 201 Bytes
19fae3f | 1 2 3 4 5 6 7 8 9 10 | {
"__version__": {
"sentence_transformers": "3.0.0",
"transformers": "4.41.2",
"pytorch": "2.3.1+cu118"
},
"prompts": {},
"default_prompt_name": null,
"similarity_fn_name": null
} |