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

thebajajra
/
RexBERT-large-embed-pf-v0.1

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-large-embed-pf-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thebajajra/RexBERT-large-embed-pf-v0.1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thebajajra/RexBERT-large-embed-pf-v0.1")
    
    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-large-embed-pf-v0.1
1.58 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
thebajajra's picture
thebajajra
Upload folder using huggingface_hub
deb3abd verified 7 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 7 months ago
  • .gitattributes
    1.52 kB
    initial commit 7 months ago
  • README.md
    136 kB
    Upload folder using huggingface_hub 7 months ago
  • config.json
    1.24 kB
    Upload folder using huggingface_hub 7 months ago
  • config_sentence_transformers.json
    277 Bytes
    Upload folder using huggingface_hub 7 months ago
  • model.safetensors
    1.58 GB
    xet
    Upload folder using huggingface_hub 7 months ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub 7 months ago
  • sentence_bert_config.json
    58 Bytes
    Upload folder using huggingface_hub 7 months ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub 7 months ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 7 months ago
  • tokenizer_config.json
    21 kB
    Upload folder using huggingface_hub 7 months ago