Instructions to use Zohaib002/Longformer-Encoder-Decoder-LED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Zohaib002/Longformer-Encoder-Decoder-LED with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Zohaib002/Longformer-Encoder-Decoder-LED") model = AutoModelForSeq2SeqLM.from_pretrained("Zohaib002/Longformer-Encoder-Decoder-LED", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Zohaib002/Longformer-Encoder-Decoder-LED: direct link, hf CLI and curl.
- Browser
- Download file 5.24 kB
-
https://huggingface.co/Zohaib002/Longformer-Encoder-Decoder-LED/resolve/2a65083c2252b1f3d6253f6d1c28f3ea7bf5fbf1/training_args.bin
- Command line
-
hf download hf://Zohaib002/Longformer-Encoder-Decoder-LED@2a65083c2252b1f3d6253f6d1c28f3ea7bf5fbf1/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Zohaib002/Longformer-Encoder-Decoder-LED/resolve/2a65083c2252b1f3d6253f6d1c28f3ea7bf5fbf1/training_args.bin
5.24 kB
- Xet hash:
- 9dd98e5b786e63f53f8a8241f2ab70502664a386d641bebb4ef279941ce36995
- Size of remote file:
- 5.24 kB
- SHA256:
- d2aea0194ee6b8709781d120e5a5693cc37c33cdaf036cdf19d29a8b77bb733d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.