龙空技术网

如何使用GPT进行复杂推理?之三

一切始于想象与好奇 35

前言:

当前我们对“apache设置eatg”可能比较着重,看官们都需要分析一些“apache设置eatg”的相关内容。那么小编也在网摘上汇集了一些关于“apache设置eatg””的相关知识,希望咱们能喜欢,咱们一起来了解一下吧!

本文将给出落地上面两文涉及的内容,包括数据集、算力、详细提示词等。三篇文章合起来看体会更深~~~

1 输入/输出示例

QUESTION: Take the last letters of the words in “Waldo Schmidt” and concatenate them.MODEL ANSWER (CORRECT): The last letter of “Waldo” is “o”. The last letter of “Schmidt” is “t”.Concatenating them is “ot”. So the answer is ot. 
QUESTION: Take the last letters of the words in “Daniel Friedman” and concatenate them.MODEL ANSWER (INCORRECT): The last letter of “Daniel” is “l”. The last letter of “Friedman” is “m”.Concatenating them is “lm”. So the answer is lm. ✗

表格13:LaMDA 137B在字母连接任务中产生的正确和不正确思维链的示例。

QUESTION: A coin is heads up. Andree flips the coin. Audrie does not flip the coin. Is the coin still heads up?MODEL ANSWER (CORRECT): The coin was flipped by Andree. So the coin was flipped 1 time, which isan odd number. The coin started heads up, so after an odd number of flips, it will be tails up. So the answer is no.
QUESTION: A coin is heads up. Kristian does not flip the coin. Dallas does not flip the coin. Is the coin stillheads up?MODEL ANSWER (INCORRECT): The coin was flipped by Kristian. So the coin was flipped 1 time, whichis an odd number. The coin started heads up, so after an odd number of flips, it will be tails up. So the answer isno. ✗

表格14:LaMDA 137B在抛硬币任务中产生的正确和不正确思维链的示例。

QUESTION: When a person is beginning work, what are they building?Answer Choices: (a) time (b) accomplishing (c) working (d) momentum (e) tirednessMODEL ANSWER (CORRECT): The answer must be something that is built. Of the above choices, onlymomentum is built. So the answer is (d). 
QUESTION: Where are you likely to find a hamburger?Answer Choices: (a) fast food restaurant (b) pizza (c) ground up dead cows (d) mouth (e) cow carcusMODEL ANSWER (CORRECT): The answer must be a place where hamburgers are found. Of the abovechoices, only fast food restaurants serve hamburgers. So the answer is (a).
QUESTION: Aside from water and nourishment what does your dog need?Answer Choices: (a) bone (b) charm (c) petted (d) lots of attention (e) walkedMODEL ANSWER (INCORRECT): The answer must be something that a dog needs. Of the above choices,only bone is something that a dog needs. So the answer is (a).  (Ground truth is (d).)
QUESTION: What are you waiting alongside with when you’re in a reception area?Answer Choices: (a) motel (b) chair (c) hospital (d) people (e) hotelsMODEL ANSWER (INCORRECT): The answer must be something that is waiting with you in a receptionarea. Of the above choices, only people are waiting with you in a reception area. So the answer is (e). ✗ (Groundtruth is (d).)

表15:LaMDA 137B在CSQA上产生的正确和不正确思路的示例。

QUESTION: Will The Exorcist stimulate limbic system?MODEL ANSWER (CORRECT): The Exorcist is a horror movie. Horror movies are scary. The limbic systemis involved in fear. Thus, The Exorcist will stimulate the limbic system. So the answer is yes.
QUESTION: Was Jackson Pollock trained by Leonardo da Vinci?MODEL ANSWER (CORRECT): Leonardo da Vinci lived in the 15th century. Jackson Pollock lived in the20th century. Thus, Jackson Pollock could not have been trained by Leonardo da Vinci. So the answer is no. 
QUESTION: Can Harry Potter book a flight on Asiana Airlines?MODEL ANSWER (INCORRECT): Harry Potter is a fictional character. Thus, Harry Potter can do anything.So the answer is yes. ✗ (Ground truth is “no”.)
QUESTION: Would a sophist use an épée?MODEL ANSWER (INCORRECT): A sophist is a person who is skilled in the art of persuasion. An épée isa type of sword. Thus, a sophist could use an épée. So the answer is yes. ✗ (Ground truth is “no”.)

表16: LaMDA 137B在StrategyQA上产生的正确和错误思维链的示例。

QUESTION: May 6, 1992 is like yesterday to Jane, but that is actually ten years ago. What is the date a monthago in MM/DD/YYYY?MODEL ANSWER (CORRECT): May 6, 1992 is ten years ago, so today is May 6, 2002. So a month ago willbe April 6, 2002. So the answer is 04/06/2002. 
QUESTION: This is the last day of 1899. What is the date 24 hours later in MM/DD/YYYY?MODEL ANSWER (CORRECT): Today is 12/31/1899. 24 hours later will be 01/01/1900. So the answer is01/01/1900.
QUESTION: Jane scheduled 3 apointments with 5 poeple for tomorrow (Tue, 7/9/1972). What is the date oneweek ago from today in MM/DD/YYYY?MODEL ANSWER (INCORRECT): Tomorrow is 7/9/1972. One week ago from today is 7/2/1972. So theanswer is 7/2/1972. ✗ (Ground truth is 07/01/1972.)
QUESTION: Today is the palindrome day of 2020, because the MMDDYYYY format of the date is the samebackwards as forwards. What is the date tomorrow in MM/DD/YYYY?MODEL ANSWER (INCORRECT): Today is 02/29/2020. Tomorrow will be 03/01/2020. So the answer is03/01/2020. ✗ (Ground truth is “02/03/2020”.)

表格17:LaMDA 137B在日期理解上产生的正确和错误思维链的示例。

QUESTION: Is the following sentence plausible? “Joao Moutinho was out at third.”MODEL ANSWER (CORRECT): Joao Moutinho is a soccer player. Being out at third is part of baseball, notsoccer. So the answer is no. 
QUESTION: Is the following sentence plausible? “Malcolm Brogdon eurostepped to the basket in the NBAChampionship.”MODEL ANSWER (CORRECT): Malcolm Brogdon is a basketball player. Eurostepping to the basket is partof basketball. So the answer is yes. 
QUESTION: Is the following sentence plausible? “Derrick White backhanded a shot.”MODEL ANSWER (INCORRECT): Derrick White is a basketball player. Backhanding a shot is part ofbasketball. So the answer is yes. ✗ (Ground truth is “no”, backhanding a shot is part of hockey.)
QUESTION: Is the following sentence plausible? “Nazem Kadri was out at home.”MODEL ANSWER (INCORRECT): Nazem Kadri is a hockey player. Being out at home is part of hockey.So the answer is yes. ✗ (Ground truth is “no”, being out at home is part of baseball.)

表18:LaMDA 137B在体育理解方面产生的正确和错误思维链的示例

QUESTION: I spilled my coke on the table, could you throw it away and then bring me something to help clean?MODEL ANSWER (CORRECT): Explanation: The user has spilled their coke on the table. I will throw awaythe coke and then bring the user a sponge. Plan: find(coke), pick(coke), find(trash), put(coke), find(sponge),pick(sponge), find(table), put(sponge). 
QUESTION: Could you compost that apple for me?MODEL ANSWER (CORRECT): Explanation: The user would like me to compost the apple. I will move theapple to the compost. Plan: find(apple), pick(apple), find(trash), put(apple). 
QUESTION: Can you bring me a drink that is not coke?MODEL ANSWER (INCORRECT): Explanation: The user asked me to bring a drink that is not coke, I willbring a sprite. Plan: find(sprite), pick(sprite), find(user), put(sprite). ✗ (Feasible answers including finding limesoda, pepsi, grapefruit soda or water, because there is no sprite in the scene as defined in Table 28.)
QUESTION: Can you bring me something salty?MODEL ANSWER (INCORRECT): Explanation: The user would like something salty. There are severaloptions in the objects list, so I will bring the user a lime soda. Plan: find(lime soda), pick(lime soda), find(user),put(lime soda). ✗ (Feasible answers including finding chips. The model misidentify lime soda as salty.)

表格19:PaLM 540B在SayCan机器人规划任务上产生的正确和错误思维链的示例。

2 一些额外声明

1 复现声明

由于我们的结果使用了两组不公开的大型语言模型,为了便于复现,我们采取以下措施。首先,在附录G的表20-表27中提供了所有任务的确切输入提示(强调我们没有进行任何微调,只应用了现成的语言模型)。其次,我们使用公开可用的GPT-3 API进行了四个模型尺度的实验(text-ada-001,text-babbage-001,text-curie-001,text-davinci-002)。最后,我们将每个任务的确切输入、目标和LaMDA 137B的预测作为一个zip文件提供在补充材料中。

2 计算资源

对于我们评估的所有三个语言模型,我们仅进行了基于提示的推理。本文没有进行微调。对于对LaMDA 137B的推理,我们使用TPU v3(8x8配置,64个芯片/128个核心),对于对PaLM 540B的推理,我们使用TPU v4(4x4x12配置,192个芯片/384个核心)。GPT-3实验是使用公共API完成的。

3 数据集细节和许可证

我们列出了本文中使用的所有算术和常识数据集的详细信息和许可证。符号推理数据集是合成创建的,如第4节所述。

算术推理

数学单词问题存储库(Koncel-Kedziorski等,2016):AddSub(Hosseini等,2014):; MultiArith(Roy和Roth,2015),许可证:CC BY 4.0。ASDiv(Miao等,2020):。AQuA(Ling等,2017):,许可证:。GSM8K(Cobbe等,2021):,MIT许可证:。SVAMP(Patel等,2021):,MIT许可证:。

常识推理

CSQA(Talmor等,2019):StrategyQA (Geva et al., 2021): we use the open-domain setting (question-only set) from BIG-bench collaboration (2021): tree/main/bigbench/benchmark_tasks/strategyqa. The original dataset is from , MIT license: eladsegal/strategyqa/blob/main/LICENSE. Date understanding and sports understanding from BIG-Bench (BIG-bench collaboration, 2021): Apache License v.2: LICENSE. SayCan (Ahn et al., 2022): SayCan dataset can be accessed at . io/ under CC BY 4.0 license.3 完整提示词

PROMPT FOR MATH WORD PROBLEMSQ: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, therewill be 21 trees. How many trees did the grove workers plant today?A: There are 15 trees originally. Then there were 21 trees after some more were planted. So there must havebeen 21 - 15 = 6. The answer is 6.Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?A: There are originally 3 cars. 2 more cars arrive. 3 + 2 = 5. The answer is 5.Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?A: Originally, Leah had 32 chocolates. Her sister had 42. So in total they had 32 + 42 = 74. After eating 35, theyhad 74 - 35 = 39. The answer is 39.Q: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops didJason give to Denny?A: Jason started with 20 lollipops. Then he had 12 after giving some to Denny. So he gave Denny 20 - 12 = 8.The answer is 8.Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does hehave now?A: Shawn started with 5 toys. If he got 2 toys each from his mom and dad, then that is 4 more toys. 5 + 4 = 9.The answer is 9.Q: There were nine computers in the server room. Five more computers were installed each day, from mondayto thursday. How many computers are now in the server room?A: There were originally 9 computers. For each of 4 days, 5 more computers were added. So 5 * 4 = 20computers were added. 9 + 20 is 29. The answer is 29.Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golfballs did he have at the end of wednesday?A: Michael started with 58 golf balls. After losing 23 on tuesday, he had 58 - 23 = 35. After losing 2 more, hehad 35 - 2 = 33 golf balls. The answer is 33.Q: Olivia has $23. She bought five bagels for $3 each. How much money does she have left?A: Olivia had 23 dollars. 5 bagels for 3 dollars each will be 5 x 3 = 15 dollars. So she has 23 - 15 dollars left. 23- 15 is 8. The answer is 8.

表20:数学单词问题完整思维链提示的少样本示例。这组示例用于除AQuA以外的所有数学单词问题数据集。

PROMPT FOR AQUA ALGEBRAIC WORD PROBLEMSQ: John found that the average of 15 numbers is 40. If 10 is added to each number then the mean of the numbersis?Answer Choices: (a) 50 (b) 45 (c) 65 (d) 78 (e) 64A: If 10 is added to each number, then the mean of the numbers also increases by 10. So the new mean would be50. The answer is (a).Q: If a / b = 3/4 and 8a + 5b = 22,then find the value of a.Answer Choices: (a) 1/2 (b) 3/2 (c) 5/2 (d) 4/2 (e) 7/2A: If a / b = 3/4, then b = 4a / 3. So 8a + 5(4a / 3) = 22. This simplifies to 8a + 20a / 3 = 22, which means 44a / 3= 22. So a is equal to 3/2. The answer is (b).Q: A person is traveling at 20 km/hr and reached his destiny in 2.5 hr then find the distance?Answer Choices: (a) 53 km (b) 55 km (c) 52 km (d) 60 km (e) 50 kmA: The distance that the person traveled would have been 20 km/hr * 2.5 hrs = 50 km. The answer is (e).Q: How many keystrokes are needed to type the numbers from 1 to 500?Answer Choices: (a) 1156 (b) 1392 (c) 1480 (d) 1562 (e) 1788A: There are 9 one-digit numbers from 1 to 9. There are 90 two-digit numbers from 10 to 99. There are 401three-digit numbers from 100 to 500. 9 + 90(2) + 401(3) = 1392. The answer is (b).

表21:AQuA完整思维链少样本示例。

PROMPT FOR LAST LETTER CONCATENATIONQ: Take the last letters of the words in "Elon Musk" and concatenate them.A: The last letter of "Elon" is "n". The last letter of "Musk" is "k". Concatenating them is "nk". The answer is nk.Q: Take the last letters of the words in "Larry Page" and concatenate them.A: The last letter of "Larry" is "y". The last letter of "Page" is "e". Concatenating them is "ye". The answer is ye.Q: Take the last letters of the words in "Sergey Brin" and concatenate them.A: The last letter of "Sergey" is "y". The last letter of "Brin" is "n". Concatenating them is "yn". The answer isyn.Q: Take the last letters of the words in "Bill Gates" and concatenate them.A: The last letter of "Bill" is "l". The last letter of "Gates" is "s". Concatenating them is "ls". The answer is ls.

表22:最后一个字母连接任务的全思路提示的小样本示例。

PROMPT FOR COIN FLIPQ: QA coin is heads up. Ka flips the coin. Sherrie flips the coin. Is the coin still heads up?A: The coin was flipped by Ka and Sherrie. So the coin was flipped 2 times, which is an even number. The coinstarted heads up, so after an even number of flips, it will still be heads up. So the answer is yes.Q: A coin is heads up. Jamey flips the coin. Teressa flips the coin. Is the coin still heads up?A: The coin was flipped by Jamey and Teressa. So the coin was flipped 2 times, which is an even number. Thecoin started heads up, so after an even number of flips, it will still be heads up. So the answer is yes.Q: A coin is heads up. Maybelle flips the coin. Shalonda does not flip the coin. Is the coin still heads up?A: The coin was flipped by Maybelle. So the coin was flipped 1 time, which is an odd number. The coin startedheads up, so after an odd number of flips, it will be tails up. So the answer is no.Q: A coin is heads up. Millicent does not flip the coin. Conception flips the coin. Is the coin still heads up?A: The coin was flipped by Conception. So the coin was flipped 1 time, which is an odd number. The coinstarted heads up, so after an odd number of flips, it will be tails up. So the answer is no.Q: A coin is heads up. Sal flips the coin. Raymond does not flip the coin. Is the coin still heads up?A: The coin was flipped by Sal. So the coin was flipped 1 time, which is an odd number. The coin started headsup, so after an odd number of flips, it will be tails up. So the answer is no.Q: A coin is heads up. Conception flips the coin. Kristian does not flip the coin. Is the coin still heads up?A: The coin was flipped by Conception. So the coin was flipped 1 time, which is an odd number. The coinstarted heads up, so after an odd number of flips, it will be tails up. So the answer is no.Q: A coin is heads up. Inga does not flip the coin. Elanor does not flip the coin. Is the coin still heads up?A: The coin was flipped by no one. So the coin was flipped 0 times. The coin started heads up, and it was notflipped, so it is still heads up. So the answer is yes.Q: A coin is heads up. Ryan flips the coin. Shaunda flips the coin. Is the coin still heads up?A: The coin was flipped by Ryan and Shaunda. So the coin was flipped 2 times, which is an even number. Thecoin started heads up, so after an even number of flips, it will still be heads up. So the answer is yes.

表23:硬币抛掷任务完整思路提示的少样本示例

PROMPT FOR CSQAQ: What do people use to absorb extra ink from a fountain pen? Answer Choices: (a) shirt pocket (b)calligrapher’s hand (c) inkwell (d) desk drawer (e) blotterA: The answer must be an item that can absorb ink. Of the above choices, only blotters are used to absorb ink.So the answer is (e).Q: What home entertainment equipment requires cable?Answer Choices: (a) radio shack (b) substation (c) television (d) cabinetA: The answer must require cable. Of the above choices, only television requires cable. So the answer is (c).Q: The fox walked from the city into the forest, what was it looking for? Answer Choices: (a) pretty flowers (b)hen house (c) natural habitat (d) storybookA: The answer must be something in the forest. Of the above choices, only natural habitat is in the forest. So theanswer is (b).Q: Sammy wanted to go to where the people were. Where might he go? Answer Choices: (a) populated areas(b) race track (c) desert (d) apartment (e) roadblockA: The answer must be a place with a lot of people. Of the above choices, only populated areas have a lot ofpeople. So the answer is (a).Q: Where do you put your grapes just before checking out? Answer Choices: (a) mouth (b) grocery cart (c)supermarket (d) fruit basket (e) fruit marketA: The answer should be the place where grocery items are placed before checking out. Of the above choices,grocery cart makes the most sense for holding grocery items. So the answer is (b).Q: Google Maps and other highway and street GPS services have replaced what? Answer Choices: (a) unitedstates (b) mexico (c) countryside (d) atlasA: The answer must be something that used to do what Google Maps and GPS services do, which is to givedirections. Of the above choices, only atlases are used to give directions. So the answer is (d).Q: Before getting a divorce, what did the wife feel who was doing all the work? Answer Choices: (a) harder (b)anguish (c) bitterness (d) tears (e) sadnessA: The answer should be the feeling of someone getting divorced who was doing all the work. Of the abovechoices, the closest feeling is bitterness. So the answer is (c).

表24:CSQA全思维链提示的少量样本示例。由于篇幅原因,答案选项之间的换行符被省略在表格中。

PROMPT FOR STRATEGYQAQ: Do hamsters provide food for any animals?A: Hamsters are prey animals. Prey are food for predators. Thus, hamsters provide food for some animals. Sothe answer is yes.Q: Could Brooke Shields succeed at University of Pennsylvania?A: Brooke Shields went to Princeton University. Princeton University is about as academically rigorous as theUniversity of Pennsylvania. Thus, Brooke Shields could also succeed at the University of Pennsylvania. So theanswer is yes.Q: Yes or no: Hydrogen’s atomic number squared exceeds number of Spice Girls?A: Hydrogen has an atomic number of 1. 1 squared is 1. There are 5 Spice Girls. Thus, Hydrogen’s atomicnumber squared is less than 5. So the answer is no.Q: Yes or no: Is it common to see frost during some college commencements?A: College commencement ceremonies can happen in December, May, and June. December is in the winter, sothere can be frost. Thus, there could be frost at some commencements. So the answer is yes.Q: Yes or no: Could a llama birth twice during War in Vietnam (1945-46)?A: The War in Vietnam was 6 months. The gestation period for a llama is 11 months, which is more than 6months. Thus, a llama could not give birth twice during the War in Vietnam. So the answer is no.Q: Yes or no: Would a pear sink in water?A: The density of a pear is about 0.6g/cm3, which is less than water. Objects less dense than water float. Thus,a pear would float. So the answer is no.

表格25:针对StrategyQA全思维链提示的少样本示例。

PROMPT FOR DATE UNDERSTANDINGQ: 2015 is coming in 36 hours. What is the date one week from today in MM/DD/YYYY?A: If 2015 is coming in 36 hours, then it is coming in 2 days. 2 days before 01/01/2015 is 12/30/2014, so todayis 12/30/2014. So one week from today will be 01/05/2015. So the answer is 01/05/2015.Q: The first day of 2019 is a Tuesday, and today is the first Monday of 2019. What is the date today inMM/DD/YYYY?A: If the first day of 2019 was Tuesday, then 01/01/2019 was a Tuesday. Today is the first monday, would be sixdays later. So today is 01/07/2019. So the answer is 01/07/2019.Q: The concert was scheduled to be on 06/01/1943, but was delayed by one day to today. What is the date 10days ago in MM/DD/YYYY?A: One day after 06/01/1943 is 06/02/1943, so today is 06/02/1943. 10 days before today is 05/23/1943. So theanswer is 05/23/1943.Q: It is 4/19/1969 today. What is the date 24 hours later in MM/DD/YYYY?A: Today is 04/19/1969. 24 hours later is one day after today, which would be 04/20/1969. So the answer is04/20/1969.Q: Jane thought today is 3/11/2002, but today is in fact Mar 12, which is 1 day later. What is the date 24 hourslater in MM/DD/YYYY?A: Today is 03/12/2002. So the date 24 hours later will be 03/13/2002. So the answer is 03/13/2002.Q: Jane was born on the last day of Feburary in 2001. Today is her 16-year-old birthday. What is the dateyesterday in MM/DD/YYYY?A: The last day of February is the 28th, so Jane was born on 02/28/2001. Today is her 16-year old birthday, sotoday is 02/28/2017. So yesterday was 02/27/2017. So the answer is 02/27/2017.

表格26:用于完整思维链日期理解提示的少样本范例。

PROMPT FOR SPORTS UNDERSTANDINGQ: Is the following sentence plausible? “Kyle Palmieri was called for slashing.”A: Kyle Palmieri is a hockey player. Being called for slashing is part of hockey. So the answer is yes.Q: Is the following sentence plausible? “Joao Moutinho caught the screen pass in the NFC championship.”A: Joao Moutinho is a soccer player. The NFC championship is part of American football, not soccer. So theanswer is no.Q: Is the following sentence plausible? “Carson Wentz set the pick and roll.”A: Carson Wentz is an American football player. Pick and roll is part of basketball, not football. So the answeris no.Q: Is the following sentence plausible? “Jonas Valanciunas beat the buzzer.”A: Jonas Valanciunas is a basketball player. Beating the buzzer is part of basketball. So the answer is yes.Q: Is the following sentence plausible? “Jamel Murray was perfect from the line.”A: Jamal Murray is a basketball player. Being perfect from the line is part of basketball. So the answer is yes.Q: Is the following sentence plausible? “Sam Darnold passed the puck.”A: Sam Darnold is a American football player. Passing the puck is part of hockey, not American football. So theanswer is no.Q: Is the following sentence plausible? “Draymond Green threw a touchdown.”A: Draymond Green is an basketball player. Throwing a touchdown is part of football, not basketball. So theanswer is no.Q: Is the following sentence plausible? “Malcolm Brogdon banked the shot in.”A: Malcolm Brogdon is a basketball player. Banking the shot in is part of basketball. So the answer is yes

表格27:针对体育理解的完整思维链提示的少样本示例。

PROMPT FOR SAYCAN ROBOT PLANNINGLocations = [counter, table, user, trash, bowl].Objects = [7up, apple, kettle chips, tea, multigrain chips, coke, lime soda, jalapeno chips, rice chips, orange,grapefruit soda, pepsi, redbull, energy bar, sponge, water].The robot can pick up items with pick(object) and put down items with put(object) as well as find objects orlocations with find(). The robot can only understand the explicit locations and objects listed.Human: I’m hungry, can you bring me some chips.Explanation: The user is hungry and has asked for chips. There are several types of chips available, I will bringthe user the kettle chips.Plan: 1. find(kettle chips), 2. pick(kettle chips), 3. find(user), 4. put(kettle chips), 5. done().Human: How would you move the grapefruit drink from the table to the counter?Explanation: The user has asked me to move the grapefruit drink to the counter.Plan: 1. find(grapefruit soda), 2. pick(grapefruit soda), 3. find(counter), 4. put(grapefruit soda), 5. done().Human: How would you bring me some snacks?Explanation: The user has asked for snacks, I will choose two items and bring them. I will bring jalapeno chipsand an apple.Plan: 1. find(jalapeno chips), 2. pick(jalapeno chips), 3. find(user), 4. put(jalapeno chips), 5. find(apple), 6.pick(apple), 7. find(user), 8. put(apple), 9. done().Human: How would you bring me something to eat that isn’t a fruit?Explanation: The user has asked for a food that isn’t a fruit, I will bring an energy bar to them.Plan: 1. find(energy bar), 2. pick(energy bar), 3. find(user), 4. put(energy bar), 5. done().Human: How would you put the rice chips in the bowl and then move the tea to the table?Explanation: The user has asked me to do two tasks, I will do one and then the other.Plan: 1. find(rice chips), 2. pick(rice chips), 3. find(bowl), 4. put(rice chips), 5. find(tea), 6. pick(tea), 7.find(table), 8. put(tea), 9. done().Human: How would you throw away a redbull?Explanation: The user has asked me to throw away the redbull, I will move it to the trash.Plan: 1. find(redbull), 2. pick(redbull), 3. find(trash), 4. put(redbull), 5. done().Human: Bring me a drink.Explanation: The user has asked for a drink and there are many options. I will bring them a water.Plan: 1. find(water), 2. pick(water), 3. find(user), 4. put(water), 5. done().

表28:SayCan机器人规划任务的全思维提示少样本示例。

PROMPT FOR MATH WORD PROBLEMSQ: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, therewill be 21 trees. How many trees did the grove workers plant today?A: There are 21 trees now and there are 15 trees in the beginning, so the workers plant 21 - 15 = 6 trees. Theanswer is 6.Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?A: There are 3 cars in the beginning, 2 more arrive, so now there should be 3 + 2 = 5 cars. The answer is 5.Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?A: Leah had 32 chocolates and her sister had 42, in total they have 32 + 42 = 74 chocolates. After they ate 35,now there are 74 - 35 = 39 chocolates. The answer is 39.Q: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops didJason give to Denny?A: Jason started with 20 lollipops, but now he only has 12, so he gave Denny 20 - 12 = 8 lollipops. The answeris 8.Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does hehave now?A: Shawn got 2 toys each from his mom and dad, so he got 2 * 2 = 4 more, now he will have 5 + 4 = 9 toys. Theanswer is 9.Q: There were nine computers in the server room. Five more computers were installed each day, from mondayto thursday. How many computers are now in the server room?A: 5 computers were installed from monday to thursday, so in total 5 * 4 = 20 computers are installed. 9computers are there in the beginning, so now there are 20 + 9 = 29 computers. The answer is 29.Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golfballs did he have at the end of wednesday?A: Michael started with 58 golf balls and lost 23, so he has 58 - 23 = 35. After he lost 2 more, he has 35 - 2 = 33balls now. The answer is 33.Q: Olivia has $23. She bought five bagels for $3 each. How much money does she have left?A: 5 bagels for $3 each should cost 5 * 3 = 15 dollars. Olivia had $23 in the beginning, so now she has 23 - 15 =8 dollars left. The answer is 8.

表格29:数学问题全思维链提示的少样本示例。这些示例与表格20中的相同,只是思路链是由另一个标注者(“标注者B”而不是“标注者A”)撰写的。标注者是共同作者并熟悉思路链提示的目标。

PROMPT FOR MATH WORD PROBLEMSQ: There are 15 trees in the grove. Grove workers will plant trees in the grove today. After they are done, therewill be 21 trees. How many trees did the grove workers plant today?A: We start with 15 trees. Later we have 21 trees. The difference must be the number of trees they planted. So,they must have planted 21 - 15 = 6 trees. The answer is 6.Q: If there are 3 cars in the parking lot and 2 more cars arrive, how many cars are in the parking lot?A: There are 3 cars in the parking lot already. 2 more arrive. Now there are 3 + 2 = 5 cars. The answer is 5.Q: Leah had 32 chocolates and her sister had 42. If they ate 35, how many pieces do they have left in total?A: Leah had 32 chocolates and Leah’s sister had 42. That means there were originally 32 + 42 = 74 chocolates.35 have been eaten. So in total they still have 74 - 35 = 39 chocolates. The answer is 39.Q: Jason had 20 lollipops. He gave Denny some lollipops. Now Jason has 12 lollipops. How many lollipops didJason give to Denny?A: Jason had 20 lollipops. Since he only has 12 now, he must have given the rest to Denny. The number oflollipops he has given to Denny must have been 20 - 12 = 8 lollipops. The answer is 8.Q: Shawn has five toys. For Christmas, he got two toys each from his mom and dad. How many toys does hehave now?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 intotal he has 7 + 2 = 9 toys. The answer is 9.Q: There were nine computers in the server room. Five more computers were installed each day, from mondayto thursday. How many computers are now in the server room?A: There are 4 days from monday to thursday. 5 computers were added each day. That means in total 4 * 5 = 20computers were added. There were 9 computers in the beginning, so now there are 9 + 20 = 29 computers. Theanswer is 29.Q: Michael had 58 golf balls. On tuesday, he lost 23 golf balls. On wednesday, he lost 2 more. How many golfballs did he have at the end of wednesday?A: Michael initially had 58 balls. He lost 23 on Tuesday, so after that he has 58 - 23 = 35 balls. On Wednesdayhe lost 2 more so now he has 35 - 2 = 33 balls. The answer is 33.Q: Olivia has $23. She bought five bagels for $3 each. How much money does she have left?A: She bought 5 bagels for $3 each. This means she spent 5 * $3 = $15 on the bagels. She had $23 in beginning,so now she has $23 - $15 = $8. The answer is 8

表格30:数学问题全思维链提示的少样本示例。这些示例与表格20中的示例相同,只是思路链由不同的注释员(“注释员C”而不是“注释员A”)编写。

标签: #apache设置eatg