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

  • Log In
  • Sign Up

datalyes
/
patembed-base_small

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
patent
embeddings
mteb
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use datalyes/patembed-base_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use datalyes/patembed-base_small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("datalyes/patembed-base_small")
    
    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
patembed-base_small / 2_Dense
2.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
datalyes's picture
datalyes
Upload PatentTEB model: patembed-base_small
6253194 verified 6 months ago
  • config.json
    134 Bytes
    Upload PatentTEB model: patembed-base_small 6 months ago
  • model.safetensors
    2.1 MB
    xet
    Upload PatentTEB model: patembed-base_small 6 months ago