Instructions to use bloomberg/KeyBART with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bloomberg/KeyBART with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("bloomberg/KeyBART") model = AutoModelForSeq2SeqLM.from_pretrained("bloomberg/KeyBART", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload pytorch_model.bin with git-lfs
83f8ab2 -
Delete pytorch_model.bin
14a6496 -
Upload pytorch_model.bin with git-lfs
2953c83