Instructions to use taskload/reduce-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use taskload/reduce-bart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("taskload/reduce-bart") model = AutoModelForSeq2SeqLM.from_pretrained("taskload/reduce-bart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from taskload/reduce-bart: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/taskload/reduce-bart/resolve/refs%2Fpr%2F1/vocab.json
- Command line
-
hf download hf://taskload/reduce-bart@refs/pr/1/vocab.json
-
curl -L -o vocab.json https://huggingface.co/taskload/reduce-bart/resolve/refs%2Fpr%2F1/vocab.json
798 kB
File too large to display, you can check the raw version instead.