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

  • Log In
  • Sign Up

haf1g
/
result_model

Sentence Similarity
sentence-transformers
Safetensors
English
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:80
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use haf1g/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use haf1g/result_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("haf1g/result_model")
    
    sentences = [
        "A man, woman, and child enjoying themselves on a beach.",
        "A family of three is at the beach.",
        "There are two woman in this picture.",
        "There are children present"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
result_model / eval
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
haf1g's picture
haf1g
Training in progress, step 10
e71ac84 verified 12 months ago
  • similarity_evaluation_pair-score-evaluator-dev_results.csv
    93 Bytes
    Training in progress, step 10 12 months ago