Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dpshade22
/
e5-base-john-10

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:70323
loss:CosineSimilarityLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use dpshade22/e5-base-john-10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use dpshade22/e5-base-john-10 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dpshade22/e5-base-john-10")
    
    sentences = [
        "Suffer me that I may speak; and after that I have spoken, mock on.",
        "And Peleg lived after he begat Reu two hundred and nine years, and begat sons and daughters.",
        "And to offer a sacrifice according to that which is said in the law of the Lord, A pair of turtledoves, or two young pigeons.",
        "As for me, is my complaint to man? and if it were so, why should not my spirit be troubled?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
e5-base-john-10
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
dpshade22's picture
dpshade22
Upload e5-base-john-10 embedding model
c63a053 verified 4 months ago
  • 1_Pooling
    Upload e5-base-john-10 embedding model 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    20.8 kB
    Upload e5-base-john-10 embedding model 4 months ago
  • config.json
    612 Bytes
    Upload e5-base-john-10 embedding model 4 months ago
  • config_sentence_transformers.json
    282 Bytes
    Upload e5-base-john-10 embedding model 4 months ago
  • model.safetensors
    438 MB
    xet
    Upload e5-base-john-10 embedding model 4 months ago
  • modules.json
    349 Bytes
    Upload e5-base-john-10 embedding model 4 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload e5-base-john-10 embedding model 4 months ago
  • special_tokens_map.json
    695 Bytes
    Upload e5-base-john-10 embedding model 4 months ago
  • tokenizer.json
    712 kB
    Upload e5-base-john-10 embedding model 4 months ago
  • tokenizer_config.json
    1.22 kB
    Upload e5-base-john-10 embedding model 4 months ago
  • vocab.txt
    232 kB
    Upload e5-base-john-10 embedding model 4 months ago