pa90 commited on
Commit
403daef
·
verified ·
1 Parent(s): 1642892

Update Sentence Duel.txt

Browse files
Files changed (1) hide show
  1. Sentence Duel.txt +36 -43
Sentence Duel.txt CHANGED
@@ -1,43 +1,36 @@
1
-
2
- [Prompt]
3
-
4
- Generate a webapp for doing a metaphor battle with an LLM (GPT-3.5
5
- Turbo). A human user comes up with a metaphorical sentence and then the
6
- model creates another one. Finally, the model assesses which one is more
7
- attractive. Below are specific guidelines for the page at the webapp:
8
- (1) The tile of the page: “Metaphor Battle Game: Boost Your Metaphorical
9
- Creativity”
10
- (2) Craft four input text boxes: “Topic,” “Human,” “AI, “ and ”AI Judgment.“
11
- (Position each ‘Submit’ button directly below the ”Topic“ and ”Human“ input
12
- boxes.)
13
- (3) Add two additional buttons: “New Battle” and “Reset Scores.“ Directly
14
- below the last text box “AI Judgment,” build the “New Battle” button on
15
- the left and “Reset Scores” on the right.
16
- (4) Generate scoring records: “Human Wins,” “AI Wins,” and “Ties”
17
- (5) Guidelines for the model’s sentence generation:
18
- (a) Limit the number of words in the range of 12 to 15.
19
- (b) While writing a metaphorical sentence, the model should not know
20
- about what sentence a human participant has suggested to maintain
21
- fairness.
22
- (6) Temperature Setting: Set temperature to 0.7 for the model’s sentence
23
- generation and to 0.3 for the model’s judgment.
24
- (7) Color Specifications:
25
- Background of the page: Light Blue
26
- Title: Cyan
27
- Four Input Text Boxes:
28
- “Topic”->White, “Human”->Light Yellow, “AI”->Light Gray
29
- “Submit” button: Green
30
- “AI Judgment”: Light Pink
31
- “New Battle” Button->Purple; “Reset Scores” Button->Red
32
- Scoring: “Human Wins”->Yellow, “AI Wins”->Teal, “Ties”->Orange
33
-
34
- ----Notes---------------
35
- *(6) Temperature setting:
36
- Considering API key pricing, it is recommended to opt for GPT 3.5-Turbo rather than GPT 4.0,
37
- as it is extremely cheaper. GPT 3.5-Turbo was open to the public on January 2024. Its key is available through the OpenAI API Service.
38
-
39
- *To make an instant-response duel possible, you ought to issue one of LLM API keys, so I selected GPT-3.5 Turbo.
40
- You should also be careful to limit the number of words in an input sentence, preferably 15.
41
- If you do not set this word limit, the model would respond verbosely. Here is the screenshot of my webapp page.
42
-
43
- *In building a webapp for this exercise, it could be beneficial to make good use of coding tools for making a webapp. I used Claude Code.
 
1
+
2
+ [Prompt]
3
+
4
+ Generate a webapp for having a metaphor battle with an LLM (GPT-3.5
5
+ Turbo). A human participant comes up with a metaphorical sentence and then the
6
+ model creates another one. Finally, the model assesses which one is more
7
+ attractive. Below are specific guidelines for the page at the webapp:
8
+ (1) The tile of the page: “Metaphor Battle Game: Boost Your Metaphoric
9
+ Creativity”
10
+ (2) Craft four input text boxes: “Topic,” “Human,” “AI, “ and ”AI Judgment.“
11
+ (Position each ‘Submit’ button directly below the ”Topic“ and ”Human“ input
12
+ boxes.)
13
+ (3) Add two additional buttons: “New Battle” and “Reset Scores.“ Directly
14
+ below the last text box “AI Judgment,” build the “New Battle” button on
15
+ the left and “Reset Scores” on the right.
16
+ (4) Generate scoring records: “Human Wins,” “AI Wins,” and “Ties”
17
+ (5) Guidelines for the model’s sentence generation:
18
+ (a) Limit the number of words in the range of 12 to 15.
19
+ (b) While writing a metaphorical sentence, the model should not know
20
+ about what sentence a human participant has suggested to maintain
21
+ fairness.
22
+ (6) Temperature Setting: Set temperature to 0.7 for the model’s sentence
23
+ generation and to 0.3 for the model’s judgment.
24
+ (7) Color Specifications:
25
+ Background of the page: Light Blue
26
+ Title: Cyan
27
+ Four Input Text Boxes:
28
+ “Topic”->White, “Human”->Light Yellow, “AI”->Light Gray
29
+ “Submit” button: Green
30
+ “AI Judgment”: Light Pink
31
+ “New Battle” Button->Purple; “Reset Scores” Button->Red
32
+ Scoring: “Human Wins”->Yellow, “AI Wins”->Teal, “Ties”->Orange
33
+
34
+ ----Notes---------------
35
+ * How to obtain an API key for GPT-3.5 Turbo
36
+ It is available through the OpenAI API Service.