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
576 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
datalyes's picture
datalyes
Delete model_info.json
58d9a60 verified 6 months ago
  • 1_Pooling
    Upload PatentTEB model: patembed-base_small 6 months ago
  • 2_Dense
    Upload PatentTEB model: patembed-base_small 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    5.22 kB
    Upload PatentTEB model: patembed-base_small 6 months ago
  • config.json
    583 Bytes
    Upload PatentTEB model: patembed-base_small 6 months ago
  • config_sentence_transformers.json
    2.37 kB
    Upload PatentTEB model: patembed-base_small 6 months ago
  • model.safetensors
    573 MB
    xet
    Upload PatentTEB model: patembed-base_small 6 months ago
  • modules.json
    345 Bytes
    Upload PatentTEB model: patembed-base_small 6 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload PatentTEB model: patembed-base_small 6 months ago
  • special_tokens_map.json
    695 Bytes
    Upload PatentTEB model: patembed-base_small 6 months ago
  • tokenizer.json
    959 kB
    Upload PatentTEB model: patembed-base_small 6 months ago
  • tokenizer_config.json
    1.46 kB
    Upload PatentTEB model: patembed-base_small 6 months ago
  • vocab.txt
    329 kB
    Upload PatentTEB model: patembed-base_small 6 months ago