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

  • Log In
  • Sign Up

SSHHIVANI
/
verifact-biencoder-v1

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

Instructions to use SSHHIVANI/verifact-biencoder-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use SSHHIVANI/verifact-biencoder-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("SSHHIVANI/verifact-biencoder-v1")
    
    sentences = [
        "Shahid Kapoor was in a film.",
        "In addition to acting in films , Kapoor has sung several of her film songs .",
        "Two years later , he played a drug abusing singer in the crime drama Udta Punjab , which won him the Filmfare Critics Award for Best Actor .",
        "Matthew Paige Damon -LRB- -LSB- ˈdeɪmən -RSB- born October 8 , 1970 -RRB- is an American actor , film producer , and screenwriter ."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
verifact-biencoder-v1
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SSHHIVANI's picture
SSHHIVANI
Upload folder using huggingface_hub
17bb5ec verified 3 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    17.6 kB
    Upload folder using huggingface_hub 3 months ago
  • config.json
    776 Bytes
    Upload folder using huggingface_hub 3 months ago
  • config_sentence_transformers.json
    295 Bytes
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • modules.json
    448 Bytes
    Upload folder using huggingface_hub 3 months ago
  • sentence_bert_config.json
    250 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 3 months ago
  • tokenizer_config.json
    618 Bytes
    Upload folder using huggingface_hub 3 months ago