This Python script takes a paragraph as input, and runs it successively through ChatGPT to extract a shortened version that performs

ianarawjo/chatgpt-extractive-shortener

submited by
Style Pass
2023-03-26 17:30:02

This Python script takes a paragraph as input, and runs it successively through ChatGPT to extract a shortened version that performs "nearly-extractive" summarization: a version with deleted words/phrases that don't contribute to the overall meaning, and minimal rewordings or additions.

When I talk about pictures in my mind I am talking, quite specifically, about images that shimmer around the edges. There used to be an illustration in every elementary psychology book showing a cat drawn by a patient in varying stages of schizophrenia. This cat had a shimmer around it. You could see the molecular structure breaking down at the very edges of the cat: the cat became the background and the background the cat, everything interacting, exchanging ions. People on hallucinogens describe the same perception of objects. I’m not a schizophrenic, nor do I take hallucinogens, but certain images do shimmer for me. Look hard enough, and you can’t miss the shimmer. It’s there. You can’t think too much about these pictures that shimmer. You just lie low and let them develop. You stay quiet. You don’t talk to many people and you keep your nervous system from shorting out and you try to locate the cat in the shimmer, the grammar in the picture.

We feed this through chatgpt_extractive_shortener.py in the command line, and get the response (non-deterministic, quality varies):

Leave a Comment
Related Posts