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

ml6team
/
cross-encoder-mmarco-german-distilbert-base

Text Ranking
sentence-transformers
PyTorch
Safetensors
German
distilbert
cross-encoder
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use ml6team/cross-encoder-mmarco-german-distilbert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use ml6team/cross-encoder-mmarco-german-distilbert-base with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("ml6team/cross-encoder-mmarco-german-distilbert-base")
    
    query = "Which planet is known as the Red Planet?"
    passages = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    	"Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
    ]
    
    scores = model.predict([(query, passage) for passage in passages])
    print(scores)
  • Notebooks
  • Google Colab
  • Kaggle
cross-encoder-mmarco-german-distilbert-base
1.09 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 5 commits
nielsr's picture
nielsr HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
c6d4a96 verified about 1 year ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 1 year ago
  • README.md
    1.7 kB
    Update model metadata to set pipeline tag to the new `text-ranking` and library name to `sentence-transformers` (#2) about 1 year ago
  • config.json
    679 Bytes
    add model checkpoints about 4 years ago
  • model.safetensors
    541 MB
    xet
    Adding `safetensors` variant of this model (#1) about 1 year ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    541 MB
    xet
    add model checkpoints about 4 years ago
  • special_tokens_map.json
    112 Bytes
    add model checkpoints about 4 years ago
  • tokenizer.json
    2.92 MB
    add model checkpoints about 4 years ago
  • tokenizer_config.json
    345 Bytes
    add model checkpoints about 4 years ago
  • vocab.txt
    996 kB
    add model checkpoints about 4 years ago