Instructions to use lambdaofgod/paperswithcode_word2vec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lambdaofgod/paperswithcode_word2vec with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lambdaofgod/paperswithcode_word2vec") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
bab6ed6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2f0028a20b8d6ab7c6c73d50d7edb19a88eedb9e5a3f3fb0b489780f4a695efa
size 117635243
|