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

  • Log In
  • Sign Up

cnmoro
/
LexicalEmbed-Base

Feature Extraction
sentence-transformers
Safetensors
English
Portuguese
lexical_embedding
custom_code
Model card Files Files and versions
xet
Community

Instructions to use cnmoro/LexicalEmbed-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use cnmoro/LexicalEmbed-Base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("cnmoro/LexicalEmbed-Base", trust_remote_code=True)
    
    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
LexicalEmbed-Base
67.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
cnmoro's picture
cnmoro
Update README.md
e301e0e verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    1.44 kB
    Update README.md 5 months ago
  • config.json
    335 Bytes
    Upload 6 files 5 months ago
  • lexical_model.py
    1.34 kB
    Update lexical_model.py 5 months ago
  • model.safetensors
    66.4 MB
    xet
    Upload 5 files 5 months ago
  • special_tokens_map.json
    2.68 kB
    Upload 6 files 5 months ago
  • tokenizer.json
    1.23 MB
    Upload 6 files 5 months ago
  • tokenizer_config.json
    21 kB
    Upload 6 files 5 months ago