Instructions to use ektvho/bart-cnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ektvho/bart-cnn with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ektvho/bart-cnn", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("ektvho/bart-cnn", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 1 month ago
by
SFconvertbot