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

  • 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 over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    15.2 kB
    Add new SentenceTransformer model. over 1 year ago
  • config.json
    627 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • config_sentence_transformers.json
    208 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • modules.json
    368 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • special_tokens_map.json
    1.02 kB
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer_config.json
    1.66 kB
    Add new SentenceTransformer model. over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. over 1 year ago