Instructions to use LegolasTheElf/Long-T5-Booksum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LegolasTheElf/Long-T5-Booksum with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("LegolasTheElf/Long-T5-Booksum") model = AutoModelForSeq2SeqLM.from_pretrained("LegolasTheElf/Long-T5-Booksum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from LegolasTheElf/Long-T5-Booksum: direct link, hf CLI and curl.
- Browser
- Download file 990 MB
-
https://huggingface.co/LegolasTheElf/Long-T5-Booksum/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://LegolasTheElf/Long-T5-Booksum/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/LegolasTheElf/Long-T5-Booksum/resolve/main/pytorch_model.bin
990 MB
- Xet hash:
- 578652ba553a0152ccb1783b7df4e0a6f8b710adc8da8d8f0b6ff746a7c03264
- Size of remote file:
- 990 MB
- SHA256:
- 134d0d187b6cde13e94f8ae3dca1aecdc26ecafe075410af4880e5ec9cf0c23d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.