#107 · Primary category: Writing & Content
headlines
Automatically generate headlines to short articles
Project last updated:04/22/18
GitHub Stars
520
Forks
145
Contributors
2
License
MIT
Why we included this project
Headline generation is a fiddly problem, and this repo is one of the clearer worked examples of doing it with Keras. It reproduces the approach from the paper 'Generating News Headlines with Recurrent Neural Networks', training an attention model on hundreds of thousands of paired article openings and original headlines. A nice touch that goes beyond the paper is copying out-of-vocabulary words from the article text directly into the generated headline, which helps when proper nouns carry the story. The Jupyter notebooks walk you through building a GloVe embedding vocabulary, training, and then inspecting attention weights to see which description words drove each title. It is research example code rather than a production service, so you will need to bring your own data and adapt it, but it is a readable starting point for anyone experimenting with summary-style generation.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
AppFlowy
Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
ppt-master
AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
humanizer
Agent skill that removes signs of AI-generated writing from text
Resume-Matcher
The #1 AI Harness for Building Resumes, PDFs, Cover Letters & more, locally with 100+ LLMs support.
storm
An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.