prompt
stringlengths 104
13.4k
| response
stringlengths 1
1.45k
|
---|---|
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
[EX Q]: [4, 2, 0, 5, 3, 5, 5, 6, 7]
[EX A]: [4, 2, 0, 3, 6, 7]
[EX Q]: [3, 3, 1, 7, 1, 5, 2, 5, 5, 6]
[EX A]: [7, 2, 6]
[EX Q]: [6, 1, 6, 5, 7]
[EX A]: | [1, 5, 7]
|
Given the task definition and input, reply with output. Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Premise: Tom was a 16 year old high school student.
Initial Context: Toms birthday was coming up and he was excited.
Original Ending: His parents got him many presents. He opened each one enthusiastically. He received many great presents and was very grateful.
Counterfactual Context: Toms exams was coming up and he was excited.
| His parents got him many test prep books. He opened each one enthusiastically. He received many test prep books and was very grateful. |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Q: eggs and beans are low priced breakfasts at Strada nearby the Rainbow Vegetarian Café.
A: | name[Strada], food[English], priceRange[moderate], customer rating[1 out of 5], familyFriendly[yes], near[Rainbow Vegetarian Café] |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
For an child friendly, average coffee shop serving fast food try The Eagle, riverside near Burger King | name[The Eagle], eatType[coffee shop], food[Fast food], priceRange[high], customer rating[average], area[riverside], familyFriendly[yes], near[Burger King] |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
[EX Q]: Wiig was born on August 22, 1973, in Canandaigua, New York, the daughter of Jon Wiig, who ran a lake marina in Western New York, and Laurie (née Johnston), an artist
[EX A]: August 22, 1973
[EX Q]: Lloyd was born on October 22, 1938, in Stamford, Connecticut, the son of Ruth Lloyd (née Lapham; 1896–1984), a singer and sister of San Francisco mayor Roger Lapham, and her lawyer husband Samuel R
[EX A]: October 22, 1938
[EX Q]: Amy Lou Adams was born on August 20, 1974, to American parents Richard and Kathryn Adams, when her father was stationed with the United States Army at the Caserma Ederle military complex in Vicenza, Italy
[EX A]: | August 20, 1974
|
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
One example: Fact: pesticides can harm animals.
Solution is here: What can harm animals?
Explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Now, solve this: Fact: koala's will move to another area if impacted by fire.
Solution: | If koalas are impacted by fire what happens? |
Detailed Instructions: The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Problem:Because according to this, getting something wrong means there's something wrong with us.
Solution: | Jer prema ovome, ako u nečem pogriješimo znači da nešto nije u redu s nama. |
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
One example is below.
Q: 6 @ 17
A: 23
Rationale: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
Q: 9794 @ 2743 # 373 # 2104 # 3545 # 2114 @ 7834 @ 9957
A: | 22192 |
You will be given a definition of a task first, then some input of the task.
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: and { only { filter_eq { all_rows ; engine ; ford cosworth dfr v8 } } ; eq { hop { filter_eq { all_rows ; engine ; ford cosworth dfr v8 } ; year } ; 1989 } }, interpretation: select the rows whose engine record fuzzily matches to ford cosworth dfr v8 . there is only one such row in the table . the year record of this unqiue row is 1989 .
Output: | yes |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[47, 444, 859, 530, 197, 409]
Solution: [47, 859, 197, 409]
Why? The integers '444' and '530' are not prime integers and they were removed from the list.
New input: [657, 347, 311, 101, 467, 237, 107, 719, 466, 391, 46, 569, 201, 398, 543, 439, 927, 445, 469, 542]
Solution: | [347, 311, 101, 467, 107, 719, 569, 439] |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
One example: [-11, 2, 3]
Solution is here: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Now, solve this: [83.974 14.404 93.014 86.911]
Solution: | 93.014 |
Detailed Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Problem:The oligohidrosis caused by zonisamide was reversible in that the patient regained the ability to sweat within 2 weeks of the cessation of drug administration.
Solution: | adverse drug event |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Example Input: I_JUMP I_TURN_RIGHT I_JUMP
Example Output: jump and jump right
Example Input: I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK
Example Output: walk opposite left twice after jump around left twice
Example Input: I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK
Example Output: | walk right thrice and look opposite right twice
|
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT
A: | turn left twice after walk left thrice |
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Answer: | Super eryyui Dukes |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
bYubMFxyTqR, AcDbMFxSnI
Solution: bYubfmxyTqR, AcDbfmxSnI
Why? Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
New input: WsreRImilelsQpGVrEcoTXSrdJRWjOllUDzIqMPYwm, RiDAFwkOmuNlyVHrfXreRImilelsQpGVrEcoTXLGabhV
Solution: | WsceeegiillmopqrrrstvxSrdJRWjOllUDzIqMPYwm, RiDAFwkOmuNlyVHrfXceeegiillmopqrrrstvxLGabhV |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
[Q]: There is a cheap family restaurant located near The Bakers, called The Golden Curry. It provides English food.
[A]: name[The Golden Curry], food[English], priceRange[cheap], familyFriendly[yes], near[The Bakers]
[Q]: Blue Spice is an expensive Japanese restaurant in riverside providing at a starting price of £30.
[A]: name[Blue Spice], food[Japanese], priceRange[more than £30], area[riverside]
[Q]: Fitzbillies as a coffee shop provides French food in the city centre with a price range less than £20 . They are rated average and family-friendly.
[A]: | name[Fitzbillies], eatType[coffee shop], food[French], priceRange[less than £20], customer rating[average], area[city centre], familyFriendly[yes]
|
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
--------
Question: busque "billy 's barbecue".
Answer: search for " billy 's barbecue " .
Question: encuentra todos los restaurantes con una calificación mayor de 8.
Answer: find all the restaurants rated higher than 8 .
Question: ¿qué restaurante "mexican" tiene más comentarios?
Answer: | what " mexican " restaurant has the most reviews ?
|
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Q: News Headline: What 's Next On The Trump Agenda ? - {NBC News}
Edit: spaghetti
A: | Funny |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: burning wood is used to increase temperature.
A: | What is used to increase temperature? |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Q: [2, 1, 6, 9, 4, 4] , [1, 6, 6, 1, 3, 3]
A: | [1, 6] |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Q: x = 10, equation weights = [1, 8, 4, 2, 3]
A: | 18423 |
You will be given a definition of a task first, then some input of the task.
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
chair
Output: | seat |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: পারবে কিভাবে ভারত তো রানে অল আউট হয়া জাইত।তাহলে বাংলাদেশ কিবাবে পারবে? কথায় যুকতি আচ্ছে।
A: non-religious
****
Q: তুই একটা খানকি, আর খানকি দের কোনো ধর্ম নেই
A: non-religious
****
Q: বাংলাদেশের ক্ষমতাসীন দলের বিভিন্ন ব্যক্তির ইসলাম বিরোধী মন্তব্যসমূহ
A: | religious
****
|
Given the task definition and input, reply with output. In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Republic of the Congo
| .cg |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[Q]: [-84.411 57.765 -30.138 63.684 -18.747 -71.293 98.58 -46.857 81.232
-51.033]
[A]: 98.58
[Q]: [-78.772 -97.401 24.852 93.762 17.864]
[A]: -97.401
[Q]: [ 45.578 -77.478]
[A]: | -77.478
|
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
[Q]: Sometimes I require therapy to help pull me out .
[A]: yes
[Q]: You do n't need a diagnosis to do things at home .
[A]: no
[Q]: All of my friends go to UCs , and I dropped out of college and basically feel the same way as you , or at least at one point I did .
[A]: | no
|
Please answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Answer: | Great services |
Given the task definition and input, reply with output. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
ভারতের দালালি যারা করে এরা ভারত চলেযাক এদের বাংলাদেশের দরকার নাই
| non-religious |
Detailed Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: পাকিস্তান কে ভারত কোন দিন পাত্তা দেইনি আশা করি জংগি দেশকে ভারত গনোনাতেও রাখবেনা।ছালার ব্যটা জঙ্গির দেশ যেন মনে রাখে বাংলাদেশ নয় ওটা ওর বাবার দেশ।
A: | non-religious |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: Consider Input: নৌকা ভর্তি গুমের লাশ, কোন সাহসে ভোট চাস!
Output: non-religious
Input: Consider Input: ভারতের টিভি সিরিয়াল বন্ধ নিয়ে রিপোর্ট করলে আরও ভালো হতো
Output: non-religious
Input: Consider Input: আপনি ঠিক বলছেন তবে মোল্লাদের মধ্যে এটা বেশি দেখা যায়
| Output: non-religious
|
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Example Input: I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_WALK
Example Output: look opposite right thrice and walk
Example Input: I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT
Example Output: turn around right twice and turn opposite right
Example Input: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK
Example Output: | run opposite right and walk opposite left thrice
|
Detailed Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Problem:Blue Spice is a Japanese restaurant which can be found in the city centre, offering food at a moderate price range.
Solution: | name[Blue Spice], food[Japanese], priceRange[moderate], area[city centre] |
Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Query: SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 ns:organization.organization_founder.organizations_founded M1 .
?x1 ns:people.person.nationality ns:m.09c7w0 .
FILTER ( M3 != ?x0 ) .
FILTER ( M3 != ?x1 ) .
M3 ns:influence.influence_node.influenced M4 .
M3 ns:influence.influence_node.influenced M5 .
M3 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 .
M3 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1
} Question: Did a Italian film director found M1 | 0 |
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Ex Input:
sixseventwoninefivezeronine
Ex Output:
6729509
Ex Input:
fiveninesixfiveoneone
Ex Output:
596511
Ex Input:
eightfourtwoeighteightzero
Ex Output:
| 842880
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Example input: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Example output: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Example explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Q: [{'first': 97, 'second': -11}, {'first': -66, 'second': 22}, {'first': 66, 'second': 73}, {'first': -33, 'second': 14}, {'first': -10, 'second': -99}, {'first': 88, 'second': -48}, {'first': 77, 'second': -60}]
A: | [{'first': -66, 'second': 22}, {'first': -33, 'second': 14}, {'first': -10, 'second': -99}, {'first': 66, 'second': 73}, {'first': 77, 'second': -60}, {'first': 88, 'second': -48}, {'first': 97, 'second': -11}] |
Teacher:Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Teacher: Now, understand the problem? Solve this instance: Because etoposide-induced pulmonary toxicity is an uncommon but serious adverse event, clinicians must be vigilant about the possibility of it, so that the optimal treatment can start as soon as possible.
Student: | adverse drug event |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example: gocogccocco
Example solution: gocog
Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Problem: ttiiitittsit
| Solution: tiiit |
Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Input: Fact: Ultraviolet light causes skin cancer.
Output: | Ultraviolet light can cause what? |
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Example input: x = 3, equation weights = [4, 2]
Example output: 14
Example explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Q: x = 4, equation weights = [3, 4, 1]
A: | 65 |
Detailed Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Q: News Headline: Healthcare debate highlights the split that threatens to paralyze {Republicans}
Edit: everyone
A: | Not Funny |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Input: Consider Input: [21, -34, 84, 92, 71, 99, -7, 2]
Output: 7
Input: Consider Input: [-51, -2, -31, 6, -98, 37]
Output: 8
Input: Consider Input: [83, -32, -82]
| Output: 50
|
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Example Input: RzKihHivnxftYOPGojzvZqI, TsHXAwmxftYOPGojzvPJMJOoyT
Example Output: RzKihHivnfgjooptvxyzZqI, TsHXAwmfgjooptvxyzPJMJOoyT
Example Input: NhzSZVjfBrYEEvacLD, yplIWKypZVjfBrYEEvasGjxtw
Example Output: NhzSabeefjrvvyzcLD, yplIWKypabeefjrvvyzsGjxtw
Example Input: SuxWbpagkBZbo, bqxWbpagATEb
Example Output: | SuabgpwxkBZbo, bqabgpwxATEb
|
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The public does receive your activities on the website or app for an unspecified purpose. You can opt in for data collection.
A: | Unspecified |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Input: Consider Input: [{'first': -58, 'second': -19}, {'first': 77, 'second': 13}, {'first': 68, 'second': -26}, {'first': -33, 'second': 43}, {'first': -22, 'second': 8}, {'first': -33, 'second': 34}]
Output: [{'first': -58, 'second': -19}, {'first': -33, 'second': 34}, {'first': -33, 'second': 43}, {'first': -22, 'second': 8}, {'first': 68, 'second': -26}, {'first': 77, 'second': 13}]
Input: Consider Input: [{'first': 14, 'second': -73}, {'first': -18, 'second': 87}, {'first': 74, 'second': -36}, {'first': 32, 'second': -22}]
Output: [{'first': -18, 'second': 87}, {'first': 14, 'second': -73}, {'first': 32, 'second': -22}, {'first': 74, 'second': -36}]
Input: Consider Input: [{'first': 9, 'second': 98}, {'first': -88, 'second': -40}, {'first': 10, 'second': -46}, {'first': 30, 'second': 1}, {'first': -70, 'second': 62}, {'first': 10, 'second': -53}, {'first': 16, 'second': -36}]
| Output: [{'first': -88, 'second': -40}, {'first': -70, 'second': 62}, {'first': 9, 'second': 98}, {'first': 10, 'second': -53}, {'first': 10, 'second': -46}, {'first': 16, 'second': -36}, {'first': 30, 'second': 1}]
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: I'm having a beautiful mind moment. All the pieces are falling together. Bread connects to cigarettes, which connects to smoking, which connects to the hospital.
A: | Hey, you're writing on my wall! |
Given the task definition, example input & output, solve the new input case.
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Example: Aromi is an English restaurant in the city centre.
Output: name[Aromi], eatType[restaurant], food[English], area[city centre]
The output correctly parses all the parseable attributes in the input, no more, no less.
New input case for you: A children friendly restaurant named The Wrestlers that serves French food. In the city centre area is a coffee shop with a price range of more than 30. It is near Raja Indian Cuisine.
Output: | name[The Wrestlers], eatType[coffee shop], food[French], priceRange[more than £30], area[city centre], familyFriendly[yes], near[Raja Indian Cuisine] |
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Q: Sentence: What you get is a $ 13 / day charge to access the internet through a slow 512 / 512 kb / s that you can only use to check email etc ( Read {{ : }} No downloading ) .
Word: :
A: | : |
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: Wait, so let me get our deal straight. I scare these people to death and you buy me a 12 pack of condoms?
A: | I'll even make it a 24 pack, how's that sound? |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 91, 'second': 57}, {'first': -52, 'second': -43}, {'first': -71, 'second': -21}, {'first': 5, 'second': -82}, {'first': 88, 'second': 10}, {'first': 24, 'second': 100}, {'first': -49, 'second': 100}]
Output: | [{'first': -71, 'second': -21}, {'first': -52, 'second': -43}, {'first': -49, 'second': 100}, {'first': 5, 'second': -82}, {'first': 24, 'second': 100}, {'first': 88, 'second': 10}, {'first': 91, 'second': 57}] |
Definition: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Input: The Wrestlers is a moderately priced eat in restaurant that is family friendly.
Output: | name[The Wrestlers], food[Japanese], priceRange[less than £20], customer rating[average], familyFriendly[yes] |
Detailed Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Problem:fhfHkRKXxhXrwmzvUjMkm, RtAJdXxhXrwmzvUGg
Solution: | fhfHkRKhmruvwxxxzjMkm, RtAJdhmruvwxxxzGg |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Input: [ 53.969 -45.531 -63.751]
Output: | -63.751 |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Input: Consider Input: If I make this whole thing a little bit more personal and see what makes me happy as a designer, the easiest answer, of course, is do more of the stuff that I like to do and much less of the stuff that I don't like to do -- for which it would be helpful to know what it is that I actually do like to do.
Output: Ukoliko učinim cijelu ovu stvar malo osobnijom i vidim što me čini sretnim kao dizajnera, najjednostavniji odgovor je, naravno, raditi više stvari koje volim raditi i mnogo manje stvari koje ne volim raditi -- za koje bi bilo od pomoći znati koje su to stvari koje zapravo volim raditi.
Input: Consider Input: Your brains are about 100 million times more complicated.
Output: Vaši mozgovi su otprilike 100 milijuna puta kompleksniji.
Input: Consider Input: You see an operator, a trained African with his rats in front who actually are left and right.
| Output: Vidite operatera, obučenog Afrikanca sa svojim štakorima ispred njega koji su zapravo lijevo i desno.
|
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.sourceforge.opencamera.???
output answer: Awesome... Open source no ads great!!!!!
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: Nice
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: Allah
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: | Mmmmmmmmmmmmmmmmmmmmmmm Kkkkkkkkkkkkkkkkkkmkkkkkkkkkkkkmkkkkkk |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Q: Entity 1: arthropod
Entity 2: disintegrate nucleus
A: | no |
Detailed Instructions: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
See one example below:
Problem: Aromi is an English restaurant in the city centre.
Solution: name[Aromi], eatType[restaurant], food[English], area[city centre]
Explanation: The output correctly parses all the parseable attributes in the input, no more, no less.
Problem: I do not know where The Dumpling Tree is located
Solution: | name[The Dumpling Tree], eatType[restaurant], food[Fast food], priceRange[moderate] |
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
Input: Consider Input: [1, 3, 1, 2, 1, 0, 4, 6, 6]
Output: [3, 2, 0, 4]
Input: Consider Input: [5, 7, 7, 2, 5, 4, 1, 1]
Output: [2, 4]
Input: Consider Input: [7, 3, 6, 4, 3]
| Output: [7, 6, 4]
|
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Problem:[55, 1205, 1701, 3752, 10]
Solution: | [64, 1024, 2048, 4096, 8] |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Example Input: password = PNCp2r1slYRkELp7K4g8yZ0ZaUloAx
Example Output: 10
Example Input: password = ZBmrH68tg4Ev6S1gHS!zQcT5XUX1XmL6t7h6O5
Example Output: 18
Example Input: password = scuDqcg3
Example Output: | 0
|
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.daviancorp.android.mh4udatabase.
++++++++++
output: Awesome Exactly what every Hunter needs. All informations and lists are just a fingertip away. Also nice: an update screwed up my app copy but there was a hotfix out in a day! Keep up the great work guys!
Please answer this: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package org.smc.inputmethod.indic.
++++++++
Answer: No use All letters cannot be typed with this software.
Problem: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package org.torproject.android.
A: Better After my scathing criticism of previous versions this update is better. I still don't like the gaudy interface but at least it now shows I am actually connected to the Tor network. And it seems to check for connectivity even though the interface does not indicate anything when I disconnect. But much better so thanks lads! But I still have issues as many web pages showing unavailable including the Tor check site. Will only use if my trusty vpn is down.
Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.shahul3d.indiasatelliteweather.
++++++++++++++++++++++++++++++++
The answer is:
Nice app..
input question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.apps.authenticator2.???
output answer: Sucks i have no idea how to use this the help section is useless
input question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: | Stupid apps that only there for spying on our phone provide ads for other apps? So now google don't have great developer to collect people behavior google now have this to force people to provide behavior shame on you google |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
One example is below.
Q: bYubMFxyTqR, AcDbMFxSnI
A: bYubfmxyTqR, AcDbfmxSnI
Rationale: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Q: jgpIEdlzgmVQuTMkfHorMeikshMyvaDcroOC, vivvuTMkfHorMeikshMyROcEJjrrco
A: | jgpIEdlzgmVQefhhikkmmmorstuyvaDcroOC, vivvefhhikkmmmorstuyROcEJjrrco |
Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Q: 미네랄 힐즈 마을과 스탐 베어 도시는 2000 년 7 월 1 일부터 아이언 리버시와 통합되었습니다.
A: À compter du 1er juillet 2000, le village de Mineral Hills et la ville de Stambaugh ont été regroupés avec la ville d’Iron River.
****
Q: 2007 - 08 캔자스 주립 와일드 캣 남자 농구 팀은 캔자스 주립대 학교를 2007 - 08 대학 - 농구 시즌으로 대표합니다.
A: L 'équipe de basket - ball 2007 - 08 des Kansas City Wildcats du Kansas a représenté la Kansas State University lors de la saison 2007-08 du basket universitaire.
****
Q: 이제 Formula 31의 무차별 입찰 가격을 해결하여 해결하십시오.
A: | Maintenant, pour résoudre le prix d'offre d'indifférence trouver pour la formule _ 31.
****
|
You will be given a definition of a task first, then some input of the task.
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK I_JUMP I_JUMP
Output: | jump twice after walk opposite left twice |
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Input: Consider Input: Sentence: I put the cake away in the refrigerator. It has a lot of leftovers in it. Question: What has a lot of leftovers?
Output: refrigerator
Input: Consider Input: Sentence: In July, Kamtchatka declared war on Yakutsk. Since Yakutsk's army was much better equipped and ten times larger, they were victorious within weeks. Question: Who was victorious
Output: Yakutsk
Input: Consider Input: Sentence: Joe paid the detective after he delivered the final report on the case. Question: Who delivered the final report?
| Output: detective
|
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
One example is below.
Q: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
A: No
Rationale: Both participants do not agree to the deal, so the answer is No.
Q: THEM: can i have the book and ball YOU: you can have the book but, i would need the rest THEM: i need the ball YOU: okay then you get the ball and i get everything else? THEM: ok deal YOU: okay great!
A: | Yes |
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [62.889, 106.297]
Output: | [0.372 0.628] |
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Q: ectomorphic
A: | endomorphic |
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
[Q]: Premise: Ben looked outside and saw the snow on the yard.
Initial Context: He put on his coat and scarf.
Original Ending: Ben kicked open the door to face the snow head on. He took a few steps out and felt the cold. Ben ran to the mailbox and ran back as fast as he could.
Counterfactual Context: He decided not to go get mail today.
[A]: Ben didn't want to face the snow head on. He wouldn't even take a few steps out because of the cold. Ben would have go to the mailbox another day.
[Q]: Premise: I went white water rafting.
Initial Context: The adrenaline was pumping.
Original Ending: We went over a massive waterfall. Which made me get flung out. I hit a rock and cried.
Counterfactual Context: Along with me, my friend Joe also joins.
[A]: We went over a massive waterfall. Which made me get flung out. I hit a rock and cried.
[Q]: Premise: Amy's mom was on a health kick.
Initial Context: When she found out Amy was eating at neighbors she was mad.
Original Ending: Her mother made her sit and eat all her lunch before she got up. Amy took a long time eating the nasty food on her plate. Finally after an hours he finished and was allowed to leave.
Counterfactual Context: Her mom said Amy could join in too if she wanted to.
[A]: | But Amy refused. Amy was a bad eater and never ate vegetables. Finally after an hour, her mom convinced Amy to join health kick.
|
Q: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
x = 8, equation weights = [6, 5, 3]
A: | 427 |
Given the task definition, example input & output, solve the new input case.
In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Example: Angola
Output: Central Africa
Angola is located in the Central Africa region of the world map.
New input case for you: Greece
Output: | Southern Europe |
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Problem:[-44, -57, 59, 54, -14, 24]
Solution: | 5 |
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
See one example below:
Problem: twotwoonesixzeronine
Solution: 221609
Explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Problem: eighttwofivezerotwoninesixsixzerosixthreeseven
Solution: | 825029660637 |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Let me give you an example: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
The answer to this example can be: You know what, come tell us at the community pool.
Here is why: This is a good response. Because it accepts in indirect way the input sentence and supports it.
OK. solve this:
They stopped doing the Olympics altogether because I ran away?
Answer: | You ruined it. People were so sad. |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
--------
Question: [-12.915 -57.044 86.691]
Answer: 86.691
Question: [-52.56 -57.925 -69.301]
Answer: -69.301
Question: [ 27.879 -67.329 69.826]
Answer: | 69.826
|
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Q: THEM: if i can have the book and the ball you can have the hats YOU: i have to have the ball THEM: you can have the ball if i can have everything else YOU: how about the ball and 1 hat THEM: okay that works.
A: Yes
****
Q: THEM: i can take both books you have the rest of items YOU: deal. THEM: perfect, nice doing a deal with you!
A: Yes
****
Q: THEM: i get the book for the ball YOU: you can have all those hats in exchange for the book and ball.
A: | Yes
****
|
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Let me give you an example: [-11, 2, 3]
The answer to this example can be: -11
Here is why: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
OK. solve this:
[-56.3 -92.756 4.182 44.611 -46.623 83.242 33.067 45.241 -99.565]
Answer: | -99.565 |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
ezvzeevzzze
Output: | ezvze |
Definition: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Input: Death penalty should be abolished because i think this method is irreversible.
Output: | Valid |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [-61, 44, -70, -11]
A: | 9 |
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
Input: Consider Input: The Mill is a riverside pub that serves cheaply priced Japanese food.
Output: name[The Mill], eatType[pub], food[Japanese], priceRange[cheap], area[riverside]
Input: Consider Input: The Eagle is a restaurant that offers Chinese food though with a poor rating
Output: name[The Eagle], food[Chinese], customer rating[1 out of 5]
Input: Consider Input: The Phoenix is a restaurant located near the river.
| Output: name[The Phoenix], food[Italian], priceRange[moderate], customer rating[1 out of 5], area[riverside]
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Example Input: Yes, we used a government discount to purchase these tickets.
Example Output: We have an account with....I'm not supposed to say. It's an agency.
Example Input: I've been waiting for this train for a while.
Example Output: Me too. Feels like I've been waiting for a lot of things for a while. Like, there's this package that seems to be taking longer to be delivered than I was told.
Example Input: My name is Delorians Delorians several Delorians Thompson.
Example Output: | Wow, that's a great name. I was just admiring your monogram. I wasn't sure what it stood for.
|
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
One example is below.
Q: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by.
A: yes
Rationale: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes".
Q: Take this time to breathe and decide what your next steps are .
A: | yes |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: I know us dentists have a lot planned for the dental convention this weekend, so I won't take up much of your time.
A: | Yeah, just let the coordinator when you plan on finishing up this speech, sweetie, because we've got Jon Levitz up next for entertainment. |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
One example: Entity 1: plant
Entity 2: leaf
Solution is here: yes
Explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
Now, solve this: Entity 1: wig
Entity 2: cocaine
Solution: | yes |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Input: Consider Input: Fact: Introns are areas that do not code for proteins.
Output: Introns are areas that?
Input: Consider Input: Fact: the largest group of animals are insects.
Output: what is the largest group of animals?
Input: Consider Input: Fact: Bees may live in large colonies and have complex social behaviors.
| Output: What may live in large colonies and have complex social behaviors?
|
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Q: Context: 'Okay. I think it will be good. Then I'll take two packages of food one of firewood and one of water.🙂🙂' 'Okay, I am happy with that decision. ' 'Hope you enjoy your occasion. Its really nice to meet you.🙂'
Utterance: 'It's nice to meet you also, and I hope you have a great time. 🙂'
A: | No |
Detailed Instructions: In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Q: Sentence: The man lifted the boy onto his bunk bed. Question: Whose bunk bed?
A: | boy's |
Instructions: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Input: original sentence: I took the water bottle out of the backpack so that it would be handy . paraphrase: The water bottle was taken out of the backpack by me so that it would be handy .
Output: | Voice |
You will be given a definition of a task first, then some input of the task.
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
original sentence: The painting in Mark's living room shows an oak tree . it is to the right of the bookcase . paraphrase: The painting in Mark's living room showed an oak tree . it was to the right of the bookcase .
Output: | Tense |
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
[EX Q]: bowl
[EX A]: sport
[EX Q]: appall
[EX A]: disgust
[EX Q]: invade
[EX A]: | arrive
|
Part 1. Definition
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Part 2. Example
Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by.
Answer: yes
Explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes".
Part 3. Exercise
Enjoy your last year of high school before you step out into the wonderful world of adulting!!
Answer: | yes |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
Example output: You know what, come tell us at the community pool.
Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Q: Despite loving you, Bernice, I think you should be with the king.
A: | Thank you, Turtle. Thank you for setting me free. |
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Problem:[43, 1606, 3943, 2119, 8, 73, 4, 79, 1978, 2263, 3362, 18, 63]
Solution: | [32, 2048, 4096, 2048, 8, 64, 4, 64, 2048, 2048, 4096, 16, 64] |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
--------
Question: original sentence: Fred covered his eyes with his hands , because the wind was blowing sand around . He opened them when the wind stopped . paraphrase: Fred covered his eye with his hand , because the wind was blowing sand around . He opened it when the wind stopped .
Answer: Number
Question: original sentence: Mark told Pete many lies about himself , which Pete included in his book . He should have been more truthful . paraphrase: Mark blatantly told Pete many lies about himself , which Pete included in his book . He should have been more truthful .
Answer: Adverb
Question: original sentence: Anne gave birth to a daughter last month . She is a very charming baby . paraphrase: Anne and Julia gave birth to daughters last month . They are very charming babies .
Answer: | Number
|
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
One example: I_TURN_LEFT I_JUMP
Solution is here: jump left
Explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Now, solve this: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_LOOK
Solution: | walk around left and look |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Let me give you an example: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
The answer to this example can be: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Here is why: The translation correctly preserves the characters in Croatian.
OK. solve this:
And you can think of different formats.
Answer: | I možete razmisliti o različitim formatima. |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Premise: Susie was sitting on her barstool.
Initial Context: She kept kicking the counter with her feet.
Original Ending: Suddenly, her kick sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Counterfactual Context: She kept herself steady with her feet.
Solution: Suddenly, an earthquake sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Why? The generated new ending is perfect. It considers the counterfactual context and changes required parts in original ending.
New input: Premise: I had a friend in college that I spoke to a lot.
Initial Context: However when we graduated, we moved out of town.
Original Ending: We were sad that we wouldn't see each other. We decided to both join skype. We then video chatted together every night.
Counterfactual Context: When we graduated we moved together into an apartment.
Solution: | We were glad that we would see each other. We decided to hang out as much as possible. We then stayed up and chatted together every night. |
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Q: [174, 541, 495, 2714, 9, 84, 4, 26, 1355, 4981]
A: | [128, 512, 512, 2048, 8, 64, 4, 32, 1024, 4096] |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should.
Example output: You know what, come tell us at the community pool.
Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it.
Q: Before I sing, I'm really sorry because remember, I'm a horrible looser.
A: | Right. Maybe you shouldn't keep saying that. |
Subsets and Splits