CineAI commited on
Commit
24f1de0
·
verified ·
1 Parent(s): 4f27f27

Create prompts.yaml

Browse files
Files changed (1) hide show
  1. llm/prompts.yaml +74 -0
llm/prompts.yaml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Add more examples of the template here, id should be an interval from 1 to 100_000
2
+ # The description provides a basic overview of the template, the description should include the level of difficulty,
3
+ # the name of the prompting method and end with the word "prompt", e.g. "simple short prompt" or "simple zero-shot thought chain prompt
4
+ # The prompt is rated from 0 to 10
5
+
6
+ prompts:
7
+ - id: 1
8
+ prompt_template: |
9
+ Question: {question}
10
+ Answer:
11
+ description: simple question without a prompt
12
+ rate: 1
13
+
14
+ - id: 2
15
+ prompt_template: |
16
+ Question: {question}
17
+ Answer: Write a concise answer on the question with one example if it's possible. CONCISE ANSWER.
18
+ description: simple concise prompt
19
+ rate: 3
20
+
21
+ # useful for solving simple math task
22
+ - id: 3
23
+ prompt_template: |
24
+ Let's think step by step.
25
+ Question: {question}
26
+ Answer:
27
+ description: simple zero-shot chain-of-thoughts prompt
28
+ rate: 5
29
+
30
+ # another one example for solving simple math task
31
+ - id: 4
32
+ prompt_template: |
33
+ Q: Roger has 5 tennis balls. He buys 2 more cans of tennis balls.
34
+ Each can has 3 tennis balls. How many tennis balls does he have now?
35
+ A: Roger started with 5 balls. 2 cans of 3 tennis balls each is 6 tennis balls. 5 + 6 = 11. The answer is 11.
36
+ Question: {question}
37
+ Answer:
38
+ description: simple few-shot chain-of-thoughts prompt
39
+ rate: 5
40
+
41
+ - id: 5
42
+ prompt_template: |
43
+ Q: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done,
44
+ there will be 21 trees. How many trees did the grove workers plant today?
45
+ A: We start with 15 trees. Later we have 21 trees. The difference must be the number of trees they planted.
46
+ So, they must have planted 21 - 15 = 6 trees. The answer is 6.
47
+ Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?
48
+ A: There are 3 cars in the parking lot already. 2 more arrive. Now there are 3 + 2 = 5 cars. The answer is 5.
49
+ Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?
50
+ A: Leah had 32 chocolates and Leah’s sister had 42. That means there were originally 32 + 42 = 74
51
+ chocolates. 35 have been eaten. So in total they still have 74 - 35 = 39 chocolates. The answer is 39.
52
+ Q: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops
53
+ did Jason give to Denny?
54
+ A: Jason had 20 lollipops. Since he only has 12 now, he must have given the rest to Denny. The number of
55
+ lollipops he has given to Denny must have been 20 - 12 = 8 lollipops. The answer is 8.
56
+ Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does
57
+ he have now?
58
+ A: He has 5 toys. He got 2 from mom, so after that he has 5 + 2 = 7 toys. Then he got 2 more from dad, so
59
+ in total he has 7 + 2 = 9 toys. The answer is 9.
60
+ Q: There were nine computers in the server room. Five more computers were installed each day, from
61
+ monday to thursday. How many computers are now in the server room?
62
+ A: There are 4 days from monday to thursday. 5 computers were added each day. That means in total 4 * 5 =
63
+ 20 computers were added. There were 9 computers in the beginning, so now there are 9 + 20 = 29 computers.
64
+ The answer is 29.
65
+ Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many
66
+ golf balls did he have at the end of wednesday?
67
+ A: Michael initially had 58 balls. He lost 23 on Tuesday, so after that he has 58 - 23 = 35 balls. On
68
+ Wednesday he lost 2 more so now he has 35 - 2 = 33 balls. The answer is 33.
69
+ Q: Olivia has $23. She bought five bagels for $3 each. How much money does she have left?
70
+ A: She bought 5 bagels for $3 each. This means she spent $15. She has $8 left.
71
+ Question: {question}
72
+ Answer:
73
+ description: simple self-consistency prompt
74
+ rate: 6