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