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-bert-large-uncased

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-bert-large-uncased 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-bert-large-uncased with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Culture-and-Morality-Lab/psyembedding-bert-large-uncased")
    
    sentences = [
        "I really shy away from early voting narratives, which I got into in another question thats posted here (I think!) The polls could absolutely be missing a meaningful chunk of Trumps support, as was the case in 16 and 20. Though its worth noting that he is polling much better this time around than the last two times. That could be an indication that the issue has been resolved, through some combination of new polling methods and more willingness of Trump supporters to answer polls and state their support for him. (I talked with one pollster who believes he missed in 20 because theyd get Trump voters on the phone but, for whatever reason, they wouldnt say they were voting for him. Now when voters hesitate, this pollster nudges them a little to pick a candidate. He thinks its fixed the problem. Well see.)\n\n\n\nI did write about some of the polling issues here:\n\n[",
        "Those are ways to cope individually but to actually abolish the institution of capitalist employment relationships there has to be collective action. You can call it however you want, socialism/communism happens to be a banner that people who held these ideas have been fighting under for many many years.",
        "everyones scared shitless of trump winning. every single one of us is voting again and then add in new voters and R voters going D and its a landslide win.",
        "I know, that's why I said one of the reasons. The main reason is his uselessness when your team is bad"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
psyembedding-bert-large-uncased
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits

This model has 1 file scanned as unsafe.

Culture-and-Morality-Lab's picture
Culture-and-Morality-Lab
Upload 10 files
c5bd80d verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    38.2 kB
    Upload 10 files 5 months ago
  • config.json
    619 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
    229 Bytes
    Upload 10 files 5 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload 10 files 5 months ago
  • special_tokens_map.json
    125 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