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

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dpshade22/e5-base-john")
    
    sentences = [
        "Many therefore of his disciples, when they had heard this, said, This is an hard saying; who can hear it?",
        "If ye keep my commandments, ye shall abide in my love; even as I have kept my Father's commandments, and abide in his love.",
        "When Jesus knew in himself that his disciples murmured at it, he said unto them, Doth this offend you?",
        "He said, I am the voice of one crying in the wilderness, Make straight the way of the Lord, as said the prophet Esaias."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
e5-base-john
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
dpshade22's picture
dpshade22
Upload e5-base-john embedding model
ffd4367 verified 4 months ago
  • 1_Pooling
    Upload e5-base-john embedding model 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    23.1 kB
    Upload e5-base-john embedding model 4 months ago
  • config.json
    612 Bytes
    Upload e5-base-john embedding model 4 months ago
  • config_sentence_transformers.json
    282 Bytes
    Upload e5-base-john embedding model 4 months ago
  • model.safetensors
    438 MB
    xet
    Upload e5-base-john embedding model 4 months ago
  • modules.json
    349 Bytes
    Upload e5-base-john embedding model 4 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload e5-base-john embedding model 4 months ago
  • special_tokens_map.json
    695 Bytes
    Upload e5-base-john embedding model 4 months ago
  • tokenizer.json
    712 kB
    Upload e5-base-john embedding model 4 months ago
  • tokenizer_config.json
    1.22 kB
    Upload e5-base-john embedding model 4 months ago
  • vocab.txt
    232 kB
    Upload e5-base-john embedding model 4 months ago