Generative AI can collect kindness stories from media and help us learn from kind people.
Index | ID | Source | Year | Category | Story | Summary | |
---|---|---|---|---|---|---|---|
Index | ID | Source | Year | Category | Story | Summary |
Search a keyword to shorten the story list.
The kindness story is collected by the AI tool Gemini.
The Python pandas dataframe is used to organize the information in a json list by
adding a unique ID for each story and converting the information into a dictionary with
keys of Source, Kindness Category, and Story content.
The Large Language Model checkpoint library "facebook/bart-large-xsum" is used to create a summarizer pipeline.
By feeding the story dictionary into the summarizer, an additional category of "Summary of each story" is produced.
The jQuery DataTable is used to display the list of kindness stories.
A click button provides a user interface to access
the content of the selected kindness story in a separated webpage.
The KerasCV Stable Diffusion is used to generate AI images using text prompt.