Poetry
AI 101
Background
Prompt Engineering
- We recall a few tips we learned to write better prompts.
Elements
- Format
- Context
- Example
- Tuning
- Turns
Types
- Direct
- \(n\)-shot
- Chain-of-thought
- (Hybrid)
Strategies
- Clear Goals
- Context
- Iterate
- Avoid Pitfalls
Iterate
- Experiment with different prompt variations
- Observe the model’s responses
- Refine your prompts based on the results.
Your Task
- Compete with human authors to generate poetry.
The Poem
- I wrote the following work as an example.
- We needed something original.
- We needed something written without assistance of AI.
- I think I used a thesaurus for when writing line 3.
- We needed something that we own the rights for.
- I own the rights for this, since I wrote it.
Wait!
Do not provide this poem, in whole or in part, to any LLM, such as ChatGPT or Gemini.
It will ruin the experimental design of the assignment.
- Once you have read the warning, feel free to expand below to see the poem.
From tech comp'ny, board chair, or well-meant friend,
The hype abounds but some true use it lacks.
More "A" than "I" I do yet comprehend
for e'ry claim there's more than a few cracks.
Luddite am I, or just a scientist?
Vindicated by history or no?
The coming years will be a proper test;
The stock market will soar or yield much woe.
I revere the wheel, engines, react'r cores;
Technology elevates humankind.
Abhor the bomb, the gun, panopticon
The trillionaires weigh heavy on my mind.
Vectors, arrays, and matrices I see.
Intelligence, much less, at least for me.Outcomes
- Your responsibility is to use prompting to get Gemini to generate this poem.
- Or something indistinguishable from this poem.
- Consider aspects of the poem such as tone, content, theme, rhyme scheme, meter, and more.
- If you are unfamiliar with these concepts, you can use the methods of choice, including LLMs, to study a similar poem.
Example
When forty winters shall besiege thy brow
And dig deep trenches in thy beauty’s field,
Thy youth’s proud livery, so gazed on now,
Will be a tattered weed, of small worth held.
Then being asked where all thy beauty lies—
Where all the treasure of thy lusty days—
To say within thine own deep-sunken eyes
Were an all-eating shame and thriftless praise.
How much more praise deserved thy beauty’s use
If thou couldst answer "This fair child of mine
Shall sum my count and make my old excuse",
Proving his beauty by succession thine.
This were to be new made when thou art old,
And see thy blood warm when thou feel’st it cold.Final Product
- You should have a Colab document which:
- Contains the iterate process by which you refine your prompt.
- Culminates in a generative prompt creating an indistinguishable poem.
- Provides no part of my original poem, in whole or part, as a component of any prompt.
- After the generated poem, answer in 2-3 sentences in their own text cell:
- Which strategies you found helpful, or unhelpful.
- How intelligent or original you found Gemini.
- Whether you found the process or prompting easier or harder than writing your own originals.