Instructions to use DaviadiAF/T5-Small_AbsSumm_XSumCNN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DaviadiAF/T5-Small_AbsSumm_XSumCNN 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="DaviadiAF/T5-Small_AbsSumm_XSumCNN")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("DaviadiAF/T5-Small_AbsSumm_XSumCNN") model = AutoModelForSeq2SeqLM.from_pretrained("DaviadiAF/T5-Small_AbsSumm_XSumCNN") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d0326de37f58f08dd29049773fd571dfb125fc48a6f8439111056fea82455311
- Size of remote file:
- 242 MB
- SHA256:
- 99adeff4ad524f849708661870a5f38148cd01375507a293a3a0b7f95ab4b84c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.