Instructions to use xtie/PEGASUS-PET-impression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xtie/PEGASUS-PET-impression with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="xtie/PEGASUS-PET-impression")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("xtie/PEGASUS-PET-impression") model = AutoModelForSeq2SeqLM.from_pretrained("xtie/PEGASUS-PET-impression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6d91ea50455de7fbf179a8b86a4485fa9208c160860fa712696fe0371fd1d803
- Size of remote file:
- 2.28 GB
- SHA256:
- 5a5da5acef2ad76edea9e31f2eaedce774a215b989ed17464d0a9bdf55fb83b2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.