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

MahfoudAi
/
result_model

Sentence Similarity
sentence-transformers
Safetensors
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 MahfoudAi/result_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use MahfoudAi/result_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("MahfoudAi/result_model")
    
    sentences = [
        "Woman in white in foreground and a man slightly behind walking with a sign for John's Pizza and Gyro in the background.",
        "A man and a soman are eating together at John's Pizza and Gyro.",
        "A high school is hosting an event.",
        "A family of three is at the beach."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
result_model / eval
91 Bytes
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
MahfoudAi's picture
MahfoudAi
Training in progress, step 10
1523c4e verified 2 days ago
  • similarity_evaluation_pair-score-evaluator-dev_results.csv
    91 Bytes
    Training in progress, step 10 2 days ago