Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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.1

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

Instructions to use thebajajra/RexBERT-base-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-base-embed-pf-v0.1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thebajajra/RexBERT-base-embed-pf-v0.1")
    
    sentences = [
        "Can I bring Katana (Samurai Sword) from Japan to Malaysia?",
        "I've seen the j hook method and binder method on here, but I was looking for something a little cheaper. I need to hang 100 empty record sleeves on a wall for a photoshoot and couldn't think of anything other than command strips. I'd use magic tape but I hear that it rips paper. I also need to hang them on cement",
        "Hi all, \n\nWith the success of GoT, and with the upcoming QoT, LoTR and The Witcher series, I was wondering which fantasy books you thought would translate well to TV. \n\nI think The Traitor Baru Cormorant would be great, as well as Farseer. My heart also wants me to believe Malazan would be good, but the CGI budget would likely need to be ridiculous.",
        "Hi everyone, currently I'm at Japan and thinking of buying a Katana (Samurai Sword) and bring it back to Malaysia. How do you guys/girls reckon? Will i pass through japanese and malaysian customs without a problem?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
RexBERT-base-embed-pf-v0.1
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
thebajajra's picture
thebajajra
Delete .DS_Store
746392b verified about 1 year ago
  • 1_Pooling
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    51.7 kB
    Upload folder using huggingface_hub about 1 year ago
  • config.json
    1.24 kB
    Upload folder using huggingface_hub about 1 year ago
  • config_sentence_transformers.json
    277 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • model.safetensors
    596 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • sentence_bert_config.json
    58 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    21 kB
    Upload folder using huggingface_hub about 1 year ago