Instructions to use leafxyz/main_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use leafxyz/main_v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("leafxyz/main_v1") 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
- Xet hash:
- 3c55f862f19af647e2c7ede5641cdd18cf91983c2cf6d4919021a09b33ebd17f
- Size of remote file:
- 11.4 MB
- SHA256:
- 67b23115c7cace3b6700c333da5038e66e95a9c2c71531b6953563a8c8bb1dee
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.