Instructions to use davanstrien/dataset_mentions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use davanstrien/dataset_mentions with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("davanstrien/dataset_mentions") 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] - setfit
How to use davanstrien/dataset_mentions with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("davanstrien/dataset_mentions") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5ea7436298aacba858d1309a7c77c0286525b60de501742a92e6b2baaf553ee6
- Size of remote file:
- 6.99 kB
- SHA256:
- 147ebde4cc47af4cf3ec8b7c5123e3a0a6bc64c91e68c7b9287668899f667a8a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.