#81 · Primary category: Writing & Content

GPT2-NewsTitle

chinese gpt2 news-summarization nlp text-generation torch transformer

Chinese NewsTitle Generation Project by GPT2.

Project last updated:03/08/22

GitHub Stars

1.1K

Forks

180

Contributors

1

License

Apache-2.0

Why we included this project

This project is a GPT-2 implementation for turning Chinese news articles into short headlines, and its code comes with unusually detailed Chinese comments that walk through training and inference line by line. For someone learning transformer-based text generation, that makes it a better study guide than a black-box library. The repo also bundles a cleaned Chinese news summarization dataset built from sources like Tsinghua news, Sogou news, LCSTS, and CSL, so you can skip the tedious scraping and cleaning stage. A Streamlit app is included, so you can put up a visual demo page without writing front-end code. Treat it as a template and learning resource rather than a production service.

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