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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bsl/bart-ranker") model = AutoModelForSequenceClassification.from_pretrained("bsl/bart-ranker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#4)
Verified signature- Adding `safetensors` variant of this model (ea2d0bda602dad5a8db30f3019b8c33302f83b54) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>a9852d4
-
Update model metadata to set pipeline tag to the new `text-ranking` (#3)
Verified signature- Update model metadata to set pipeline tag to the new `text-ranking` (5a92dc08494b8fdddf7d47900b52a8ed38481053) Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>1800d30
-
Update README.md
7288bc3
-
Update README.md
d74c62a -
Update README.md
9171905 -
Update README.md
f6f6426 -
Update README.md
afce7f6 -
Update README.md
7ce859a -
Update README.md
b3f2559 -
Update README.md
41085e8
-
upload model
Binsheng Liu95a3303
-
initial commit
f46557b