title-generator / README.md
DINESH03032005's picture
Update README.md
e81f5ce verified
---
language: en
tags:
- title-generation
- summarization
license: apache-2.0
datasets: []
pipeline_tag: summarization
---
# Title Generator Model
A custom wrapper around `google/flan-t5-base` that generates short titles (2–4 words)
for longer text inputs.
## Example
```python
from transformers import pipeline
generator = pipeline("summarization", model="DINESH03032005/title-generator")
text = "Artificial Intelligence is transforming industries by automating tasks."
print(generator(text))