Transformers
PyTorch
TensorBoard
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use theojolliffe/bart-cnn-science with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theojolliffe/bart-cnn-science with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("theojolliffe/bart-cnn-science") model = AutoModelForSeq2SeqLM.from_pretrained("theojolliffe/bart-cnn-science", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from theojolliffe/bart-cnn-science: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/theojolliffe/bart-cnn-science/resolve/main/tokenizer.json
- Command line
-
hf download hf://theojolliffe/bart-cnn-science/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/theojolliffe/bart-cnn-science/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.