Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

VinitT
/
Embeddings-Trivia

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

Instructions to use VinitT/Embeddings-Trivia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use VinitT/Embeddings-Trivia with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("VinitT/Embeddings-Trivia")
    
    sentences = [
        "Johnny Depp plays policeman Ichabod Crane in which 1999 film?",
        "Mythology in France epics and fairy tales as part of deeply embedded spiritual allegories and mythological archetypes: Mythology in France The mythologies in present-day France encompass the mythology of the Gauls, Franks, Normans, Bretons, and other peoples living in France, those ancient stories about divine or heroic beings that these particular cultures believed to be true and that often use supernatural events or characters to explain the nature of the universe and humanity. French mythology is listed for each culture. Bretons are a subset of the celtics that adopted Christianity. Celtic cosmology predominates their mythology: Gauls were another subset of Celtic people. Celtic",
        "Johnny Depp in a snuff film in exchange for money for his family. Depp was a fan and friend of writer Hunter S. Thompson, and played his alter ego Raoul Duke in \"Fear and Loathing in Las Vegas\" (1998), Terry Gilliam's film adaptation of Thompson's pseudobiographical novel of the same name. Depp's next venture with Burton was the period film \"Sleepy Hollow\" (1999), in which he played Ichabod Crane opposite Christina Ricci and Christopher Walken. For his performance, Depp took inspiration from Angela Lansbury, Roddy McDowall and Basil Rathbone. He stated that he \"always thought of Ichabod as a very delicate, fragile",
        "Ichabod Crane Kinderhook town school district (Ichabod Crane Central School District) is also named for the Irving character. It is claimed by many in Tarrytown that Samuel Youngs is the original from whom Irving drew his character of Ichabod Crane\". Author Gary Denis asserts that while the character of Ichabod Crane is loosely based on Kinderhook Schoolmaster, Jesse Merwin, it may possibly include elements from Samuel Youngs' life. Irving's characters drive the story and are most memorable because of his detail in describing each. He says of Ichabod Crane (the main character), 'He was tall, but exceedingly lank, with narrow shoulders, long"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Embeddings-Trivia
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
VinitT's picture
VinitT
Upload embedding model
f1c49cb verified 3 months ago
  • 1_Pooling
    Upload embedding model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    46.7 kB
    Upload embedding model 3 months ago
  • config.json
    744 Bytes
    Upload embedding model 3 months ago
  • config_sentence_transformers.json
    282 Bytes
    Upload embedding model 3 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload embedding model 3 months ago
  • modules.json
    349 Bytes
    Upload embedding model 3 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload embedding model 3 months ago
  • tokenizer.json
    712 kB
    Upload embedding model 3 months ago
  • tokenizer_config.json
    374 Bytes
    Upload embedding model 3 months ago