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

  • Log In
  • Sign Up

mohamed20-AI
/
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 mohamed20-AI/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mohamed20-AI/result_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mohamed20-AI/result_model")
    
    sentences = [
        "Two adults, one female in white, with shades and one male, gray clothes, walking across a street, away from a eatery with a blurred image of a dark colored red shirted person in the foreground.",
        "Two people ride bicycles into a tunnel.",
        "There are people just getting on a train",
        "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: 2 commits
mohamed20-AI's picture
mohamed20-AI
Training in progress, step 10
f0c2a33 verified 12 months ago
  • similarity_evaluation_pair-score-evaluator-dev_results.csv
    94 Bytes
    Training in progress, step 10 12 months ago