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