Instructions to use cnmoro/custom-model2vec-tokenlearn-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use cnmoro/custom-model2vec-tokenlearn-medium with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("cnmoro/custom-model2vec-tokenlearn-medium") - sentence-transformers
How to use cnmoro/custom-model2vec-tokenlearn-medium with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cnmoro/custom-model2vec-tokenlearn-medium") 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:
- 7315426979b664e50a8cd0ac30feaa8cc02d450fae5c8cb823f7b76f537ebfea
- Size of remote file:
- 256 MB
- SHA256:
- ccec285a91720334f3f80e0a551c29dfca821d0dc3c6f75b4593da745eccd400
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.