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

antoinelouis
/
crossencoder-mMiniLMv2-L6-mmarcoFR

Text Ranking
sentence-transformers
Safetensors
French
xlm-roberta
passage-reranking
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use antoinelouis/crossencoder-mMiniLMv2-L6-mmarcoFR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use antoinelouis/crossencoder-mMiniLMv2-L6-mmarcoFR with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("antoinelouis/crossencoder-mMiniLMv2-L6-mmarcoFR")
    
    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
crossencoder-mMiniLMv2-L6-mmarcoFR
878 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
antoinelouis's picture
antoinelouis
Adding `safetensors` variant of this model
6a7fb4d verified over 2 years ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub almost 3 years ago
  • README.md
    6.35 kB
    Update README.md over 2 years ago
  • config.json
    811 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • dev_scores.csv
    168 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • model.safetensors
    428 MB
    xet
    Adding `safetensors` variant of this model over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    428 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload folder using huggingface_hub almost 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload folder using huggingface_hub almost 3 years ago
  • tokenizer_config.json
    418 Bytes
    Upload folder using huggingface_hub almost 3 years ago