FPHam's picture
Update README.md
038d680
|
raw
history blame
4.7 kB
metadata
tags:
  - llm
  - llama
  - spellcheck
  - grammar
license: llama2
Hemingway

What?

This is one of my rewriting model, and it is based on the public domain works by Ernest Hemingway:

  • The Sun Also Rises
  • The Old Man of the Sea

Show Ernest a paragraph and he will rewrite it and embellish it with his own flourishes. But remember that his technological fantasies and language are rooted sometimes in the nineteen forties.

Wikipedia article about Hemingway's style, rewritten by Hemingway model:

The Iceberg Theory or the Theory of Omission is a theory about writing invented by the American writer Ernest Hemingway.

In his early days as a reporter for newspapers, Hemingway learned how to write under pressure of deadlines and editors who wanted only copy that was alive with what they called “local color.” Later, when he began to write his own stories, he carried over into his fiction the virtues of the newspaper report—the elimination of everything that did not make the sense of the story clearer; the icy restraint; the avoidance of sentimentality; the contempt for talk that was not part of some action; and above all, the emphasis on the concreteness of experience.

But he went further than any newspaper could go, because he knew that there were important things which happened below the surface of life, and that you must learn about those things if you were going to feel truly about anything. So he made up a theory that the real estate of a story lay beneath the surface, and that the writer’s job was to bring this land into view so that it seemed as real as the surface. This meant that the writer should omit whatever did not contribute to the understanding of the various actions and characters.

There should be no intrusion of the author’s personality. Everything should come across naturally.

Paragraph by paragraph

A short paragraph at a time. Anything more and Ernest might take off on one of his flights of fancy.

Parameters

His rewriting ability depends on many things and that is one of your exercises to find out what are the best combinations of all the many variables. As a beginning I suggest Temperature = 0.7, Top_P = 0.9, Top_K = 20; this is only a suggestion for a starting point.

Hemingway likes ALPACA

### Instruction:
Rewrite the following text: {paragraph} 
 
### Response:

Example

Fragment of a story written by ChatGPT

Rewrite the following text: The sun dipped below the horizon, casting a warm glow over the small coastal town of Harmony Bay. On the porch of a weathered beach cottage, Maggie sat in an old rocking chair, gazing at the waves rolling in. Her lifelong friend, Jake, approached with two cups of steaming coffee.

"Evening, Maggie. Thought you could use some of Clara's famous brew," Jake said, handing her a cup.

"Thanks, Jake. The sea always gets me thinking," Maggie replied, taking a sip. "About life, dreams, and all that."

Jake settled into the chair next to her. "Well, you know what old Captain Thompson used to say - 'Life's a voyage, and you never know where the currents might take you.'"

Maggie chuckled. "Captain Thompson was a wise man. Speaking of which, did I tell you about the letter I received from my estranged sister, Lily? She's inviting me to visit her in Paris."

Result:

The sun went down red behind the hills across the bay and the water turned a cold color and the sky had those long clouds that come after the sun goes off the water. Out on the porch of one of the shack houses of Harmony Village, Maggie was sitting in an old rocker looking out toward the sea when she saw Jake coming up the road carrying two steaming mugs.

“Hello, Maggie,” he said. “I thought maybe you’d like a little of Clara’s wonderful coffee.” He handed her one of the mugs.

“Thank you, Jake. It helps me think. About life and things like that.”

He sat down beside her. “You know, Maggie,” he said, “you’re not the only one who thinks about it. Old Cap’n Thompson used to sit here for hours and think about it. ‘Life,’ he used to say, ‘is a great sea with a thousand ships.’”

She laughed. “Yes. And Captain Thompson was a wise man. Talking of wisdom, or something like it, have I told you about the letter I got from Lil?”