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
      • Hardware
      • 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
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
MahfoudAi's picture
MahfoudAi
Embedding/hack_ai_embbedding_model
0ee5855 verified 3 months ago
  • 1_Pooling
    ORVEX/hack_ai_embbedding_model 3 months ago
  • eval
    Training in progress, step 10 3 months ago
  • .gitattributes
    1.57 kB
    ORVEX/hack_ai_embbedding_model 3 months ago
  • README.md
    16.6 kB
    Embedding/hack_ai_embbedding_model 3 months ago
  • config.json
    775 Bytes
    ORVEX/hack_ai_embbedding_model 3 months ago
  • config_sentence_transformers.json
    283 Bytes
    ORVEX/hack_ai_embbedding_model 3 months ago
  • model.safetensors
    2.24 GB
    xet
    Training in progress, step 10 3 months ago
  • modules.json
    277 Bytes
    ORVEX/hack_ai_embbedding_model 3 months ago
  • sentence_bert_config.json
    241 Bytes
    ORVEX/hack_ai_embbedding_model 3 months ago
  • tokenizer.json
    16.8 MB
    xet
    ORVEX/hack_ai_embbedding_model 3 months ago
  • tokenizer_config.json
    394 Bytes
    ORVEX/hack_ai_embbedding_model 3 months ago
  • training_args.bin
    5.52 kB
    xet
    ORVEX/hack_ai_embbedding_model 3 months ago