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

thebajajra
/
RexBERT-base-embed-pf-v0.2

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:221599363
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use thebajajra/RexBERT-base-embed-pf-v0.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thebajajra/RexBERT-base-embed-pf-v0.2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thebajajra/RexBERT-base-embed-pf-v0.2")
    
    sentences = [
        "I found out that this novel was based on real ...",
        "I found out that this novel was based on real people only by reading the afterword. This is a tremendously important piece of information about the book.",
        "I recently got a mbp 16 and although I’m very impressed by the speakers I still wanted to purchase a set of external speakers for the desk setup. The thing is since these are so good I don’t even know at which price point I should be shopping to get something better. \n\nThe other day a youtuber I watch said that he has been using the mbp 16 speakers instead of his $200 speakers because he doesn’t feel the need to anymore.\n\nSo, is a pair of $60 speakers going to be better or do I need to go higher in price to really hear a difference?",
        "Larry A Winters is a real good story teller.  His use and knowledge of Jessie Black as the heroine indicates a familiarity that makes the reader wonder if Larry and Jessie are one and the same.  A real page turner but not quite in the cant put it down stage."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
RexBERT-base-embed-pf-v0.2
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
thebajajra's picture
thebajajra
Upload folder using huggingface_hub
29e288a verified 10 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    96.1 kB
    Upload folder using huggingface_hub 10 months ago
  • config.json
    1.21 kB
    Upload folder using huggingface_hub 10 months ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 10 months ago
  • model.safetensors
    596 MB
    xet
    Upload folder using huggingface_hub 10 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 11 months ago
  • sentence_bert_config.json
    58 Bytes
    Upload folder using huggingface_hub 10 months ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub 11 months ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 10 months ago
  • tokenizer_config.json
    21 kB
    Upload folder using huggingface_hub 10 months ago