News is More than a Collection of Facts: Moral Frame Preserving News Summarization - code

News is More than a Collection of Facts: Moral Frame Preserving News Summarization - code

3
contributors

Description

Code used to generate summaries that preserve the moral framing of the original news article. We leverage the zero-shot summarization ability of Large Language Models, shown to produce results on par with human-generated summaries. We compare three language models and five prompting methods. Leveraging the intuition that journalists intentionally use or report moral-laden words in the article text, we propose approaches that first identify moral-laden words in the article (e.g., through Chain-of-Thought or supervised classification) and then guide the language model in preserving such words in the summary.

Logo of News is More than a Collection of Facts: Moral Frame Preserving News Summarization - code
Keywords
Programming languages
  • Jupyter Notebook 49%
  • Python 45%
  • Other 3%
  • Markdown 1%
  • YAML 1%
License
  • MIT
</>Source code
Packages
data.4tu.nl

Reference papers

Contributors

Member of community

4TU