Instructions to use lennartschaeffer/TextSummarizerGenAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lennartschaeffer/TextSummarizerGenAI with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("lennartschaeffer/TextSummarizerGenAI") model = AutoModelForSeq2SeqLM.from_pretrained("lennartschaeffer/TextSummarizerGenAI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 412 Bytes
51c573a 73d2eeb 51c573a c47c936 51c573a bc2415c 51c573a e7ee943 51c573a 73d2eeb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ---
library_name: transformers
datasets:
- EdinburghNLP/xsum
base_model:
- google/flan-t5-small
---
# TextSummarizer AI
<!-- Provide a quick summary of what the model is/does. -->
Flan T5 small model fine tuned on BBC News articles for text summarization.
- **Developed by:** Lennart Schaeffer
- **Finetuned from model [optional]:** Flan T5 small
## Uses
Summarizing and condensing long sequences of text.
|