How to use from the
Use from the
Transformers library
# 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")
Quick Links

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.

Downloads last month
7
Safetensors
Model size
77M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for lennartschaeffer/TextSummarizerGenAI

Finetuned
(526)
this model

Dataset used to train lennartschaeffer/TextSummarizerGenAI