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

bsl
/
bart-ranker

Text Ranking
Transformers
PyTorch
Safetensors
bart
text-classification
sentence-similarity
Model card Files Files and versions
xet
Community
4

Instructions to use bsl/bart-ranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use bsl/bart-ranker with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("bsl/bart-ranker")
    model = AutoModelForSequenceClassification.from_pretrained("bsl/bart-ranker")
  • Notebooks
  • Google Colab
  • Kaggle
bart-ranker
1.63 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 11 commits
tomaarsen's picture
tomaarsen HF Staff
Update model metadata to set pipeline tag to the new `text-ranking`
5a92dc0 verified about 1 year ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    507 Bytes
    Update model metadata to set pipeline tag to the new `text-ranking` about 1 year ago
  • config.json
    1.64 kB
    upload model over 3 years ago
  • merges.txt
    456 kB
    upload model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.63 GB
    xet
    upload model over 3 years ago
  • special_tokens_map.json
    239 Bytes
    upload model over 3 years ago
  • tokenizer.json
    2.11 MB
    upload model over 3 years ago
  • tokenizer_config.json
    354 Bytes
    upload model over 3 years ago
  • vocab.json
    798 kB
    upload model over 3 years ago