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

bobox
/
custom-pooler-marginmse-v0

Sentence Similarity
sentence-transformers
Safetensors
English
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:350048
loss:MarginMSELoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use bobox/custom-pooler-marginmse-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use bobox/custom-pooler-marginmse-v0 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bobox/custom-pooler-marginmse-v0")
    
    sentences = [
        "A typical training station of the Royal Air Force ( not flying ) will have the following integrated wing-based structure :",
        "The studios , opened in 2008 , were designed by Zach Hancock and are maintained by chief engineer Martin Pilchner .",
        "The approval from the European regulator, EASA, means Blue Islands can train their flight and cabin crew to be able to operate and work on their ATR aircraft.\nThe training will be completed at their operational base in Jersey.\nRob Veron, managing director of Blue Islands said he was delighted with the approval.\nHe said: \"This is a huge achievement for our operational team as we are the only airline in the Channel Islands to have gained this approval.\n\"This means we no longer have to send away any of our locally based crew, we can be more dynamic with our programmes and further cement our roots here in the islands.\"\nBlue Islands say a typical training programme would include aircraft training on the ATR plane, in the simulator and ground-school training.",
        "A typical Royal Air Force training station ( not flying ) will have the following integrated wing-based structure :",
        "In 1974 the museum had acquired what is now the Henry Cole wing from the Royal College of Science."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [5, 5]
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_CustomPooler
    Add custom GQA pooler model with MarginMSELoss about 1 month ago
  • .gitattributes
    1.57 kB
    Add custom GQA pooler model with MarginMSELoss about 2 months ago
  • README.md
    49.3 kB
    Add custom GQA pooler model with MarginMSELoss about 2 months ago
  • config.json
    743 Bytes
    Add custom GQA pooler model with MarginMSELoss about 2 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add custom GQA pooler model with MarginMSELoss about 1 month ago
  • custom_pooler.py
    11 kB
    Add custom GQA pooler model with MarginMSELoss — upload custom_pooler.py about 1 month ago
  • model.safetensors
    2.27 GB
    xet
    Add custom GQA pooler model with MarginMSELoss about 1 month ago
  • modules.json
    242 Bytes
    Add custom GQA pooler model with MarginMSELoss about 1 month ago
  • sentence_bert_config.json
    241 Bytes
    Add custom GQA pooler model with MarginMSELoss about 1 month ago
  • tokenizer.json
    16.8 MB
    xet
    Add custom GQA pooler model with MarginMSELoss about 2 months ago
  • tokenizer_config.json
    380 Bytes
    Add custom GQA pooler model with MarginMSELoss about 2 months ago