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
|
Download README.md from lennartschaeffer/TextSummarizerGenAI: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/lennartschaeffer/TextSummarizerGenAI/resolve/main/README.md
- Command line
-
hf download hf://lennartschaeffer/TextSummarizerGenAI/README.md
-
curl -L -o README.md https://huggingface.co/lennartschaeffer/TextSummarizerGenAI/resolve/main/README.md
412 Bytes
metadata
library_name: transformers
datasets:
- EdinburghNLP/xsum
base_model:
- google/flan-t5-small
TextSummarizer AI
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.