Instructions to use LongNN/TextSummarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LongNN/TextSummarization with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("LongNN/TextSummarization") model = AutoModelForSeq2SeqLM.from_pretrained("LongNN/TextSummarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 25 Bytes
54673d5 | 1 2 3 4 | ---
license: gpl-3.0
---
|