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

s2593817
/
sft-question-embedding

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:9306
loss:CoSENTLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use s2593817/sft-question-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use s2593817/sft-question-embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("s2593817/sft-question-embedding")
    
    sentences = [
        "What are the name, population, and life expectancy of the largest Asian country by land?",
        "Find the names and phone numbers of customers living in California state.",
        "What is the age of the doctor named Zach?",
        "What are the name and location of the cinema with the largest capacity?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sft-question-embedding
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
s2593817's picture
s2593817
Add new SentenceTransformer model.
82ea4a3 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    15.2 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    627 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    208 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    368 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    1.02 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.66 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago