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

Culture-and-Morality-Lab
/
psyembedding-e5-large-v2

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:11180
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Culture-and-Morality-Lab/psyembedding-e5-large-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Culture-and-Morality-Lab/psyembedding-e5-large-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Culture-and-Morality-Lab/psyembedding-e5-large-v2")
    
    sentences = [
        "Of course she would, otherwise she stands no chance of becoming prez. The only thing above Le Pen's xenophobia is their thrive for power.",
        "Mormon Church declares same-sex couples apostates and excludes children of those couples from blessings and baptism.",
        "Feminists have legitimate gripes with the way the world is structured and their ideas are quite sane. The feminists of the world are not deluded or wacky and it's a bad idea to call them that. Open your mind to new ideas and drop the patriarchal thinking.",
        "Hi, Professor Lichtman. Thanks for doing this AMA. What would you say to people who argue about the economy keys being affected by people not feeling, in terms of their lived experiences, that the economy has been good (due to the cost of living exceeding, in many cases, their income) and this potentially costing Harris the election? They seem to believe that this should be costing her the ST and LT economy keys."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
psyembedding-e5-large-v2
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Culture-and-Morality-Lab's picture
Culture-and-Morality-Lab
Upload 10 files
fbaa37f verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    41 kB
    Upload 10 files 5 months ago
  • config.json
    584 Bytes
    Upload 10 files 5 months ago
  • config_sentence_transformers.json
    277 Bytes
    Upload 10 files 5 months ago
  • model.safetensors
    1.34 GB
    xet
    Upload 10 files 5 months ago
  • modules.json
    349 Bytes
    Upload 10 files 5 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload 10 files 5 months ago
  • special_tokens_map.json
    695 Bytes
    Upload 10 files 5 months ago
  • tokenizer.json
    712 kB
    Upload 10 files 5 months ago
  • tokenizer_config.json
    1.22 kB
    Upload 10 files 5 months ago
  • vocab.txt
    232 kB
    Upload 10 files 5 months ago