Fill-Mask
Transformers
PyTorch
English
pegasus
text2text-generation
summarization
long context
custom_code
Instructions to use ccdv/lsg-pegasus-large-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ccdv/lsg-pegasus-large-4096 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ccdv/lsg-pegasus-large-4096", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 7984386e3ea220c376e2749f8d16100a4849bc5176d10ef390409f4583cfc048
- Size of remote file:
- 2.31 GB
- SHA256:
- 4307ead51b53b6fe50f7bc59a20c0d6134385372a526dbbe6a329d99dca68b44
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.