Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lambdaofgod
/
paperswithcode_word2vec

Sentence Similarity
sentence-transformers
feature-extraction
Model card Files Files and versions
xet
Community

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
paperswithcode_word2vec / 0_WordEmbeddings
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
lambdaofgod's picture
lambdaofgod
Add new SentenceTransformer model.
bab6ed6 over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    118 MB
    xet
    Add new SentenceTransformer model. over 3 years ago
  • whitespacetokenizer_config.json
    2.11 MB
    Add new SentenceTransformer model. over 3 years ago
  • wordembedding_config.json
    164 Bytes
    Add new SentenceTransformer model. over 3 years ago