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