prompt
stringlengths
98
11.7k
response
stringlengths
1
1.45k
TASK DEFINITION: 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: [-53, -76, 60, 9, -93, -62, 21] SOLUTION: 9 PROBLEM: [95, 69, 82, -40, -46, -84, -34] SOLUTION: 6 PROBLEM: [95, 73, -1, -75, -8, 88, 78] SOLUTION:
5
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. password = pd
4
Part 1. Definition 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. Part 2. Example [1, 2, 3] Answer: [0.167, 0.333, 0.500] Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. Part 3. Exercise [195.152, 50.507, -14.598, 214.968, -82.375, 114.898, 24.085, 233.744] Answer:
[ 0.265 0.069 -0.02 0.292 -0.112 0.156 0.033 0.317]
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. [763, 57, 509, 566, 435] [509] [192, 899, 596, 394, 55, 546, 559, 619, 936, 739, 735, 639, 732, 933, 337, 317, 730, 727] [619, 739, 337, 317, 727] [956, 671, 479, 675, 776, 21, 360, 499, 936, 61, 842]
[479, 499, 61]
TASK DEFINITION: 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. PROBLEM: Command: greater { hop { filter_eq { all_rows ; year ; 1987 } ; points } ; hop { filter_eq { all_rows ; year ; 1995 } ; points } }, interpretation: select the rows whose home team score record is greater than 10 . for the crowd records of these rows , most of them are less than 20000 . SOLUTION: no PROBLEM: Command: and { only { filter_eq { all_rows ; status ; millennium trophy match } } ; eq { hop { filter_eq { all_rows ; status ; millennium trophy match } ; opposing teams } ; ireland } }, interpretation: select the rows whose attendance record is greater than 20,000 . the number of such rows is 5 . SOLUTION: no PROBLEM: Command: eq { hop { nth_argmin { all_rows ; entered service ; 3 } ; locomotive } ; c503 }, interpretation: select the row whose entered service record of all rows is 3rd minimum . the locomotive record of this row is c503 . SOLUTION:
yes
Definition: 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: [-73.172, -30.242] Output:
[0.708 0.292]
Teacher: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?" Teacher: Now, understand the problem? Solve this instance: Fact: The mass of an object causes force exerted by the object which can be described as inertial mass. Student:
The mass of an object causes force exerted by the object which can be described as?
Part 1. Definition 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. Part 2. Example x = 3, equation weights = [4, 2] Answer: 14 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. Part 3. Exercise x = 8, equation weights = [8, 6] Answer:
70
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: Meg's company instituted a generous maternity leave. Initial Context: She joked to co-workers that she'd be starting a family now. Original Ending: The next week, Meg heard her co-workers planning a baby shower. When she didn't get an invitation, Meg was miffed. Meg felt mortified when the shower recipient turned out to be her. Counterfactual Context: She joked to co-workers that she'd never get pregnant ever.
The next week, Meg surprisingly got pregnant. Her co-workers laughed at her. Meg was embarrassed.
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format. Q: 09:06 Hrs A: 09:06 AM **** Q: 00:10 Hrs A: 12:10 AM **** Q: 00:10 Hrs A:
12:10 AM ****
Detailed Instructions: 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. Problem:[0, 0, 0, 0, 4, 5] Solution:
[4, 5]
Definition: 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. Input: password = ldiT Output:
2
Teacher: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...'. Teacher: Now, understand the problem? Solve this instance: Shakespeare didn't write in the subtext. It was all right there in the words. Student:
He was like, "Here's what I mean, dumb-dumbs; it's all spelled out for you."
Q: Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. L' últim any que va funcionar abans dels aiguats , el 1999 , va transportar 128.000 viatgers . A:
L' (O) últim (O) any (O) que (O) va (O) funcionar (O) abans (O) dels (O) aiguats (O) , (O) el (O) 1999 (O) , (O) va (O) transportar (O) 128.000 (O) viatgers (O) . (O)
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: Timmy was playing with his toys. Initial Context: His mother called his name. Original Ending: He did not respond, until she pulled him into the car. They were off to see the the doctor. The doctor checked his ear and said "You have a lot of ear wax! Counterfactual Context: He loved to play with his train set for hours at a time. A: Calling his name, he didn't respond to his mother until she pulled him into the car. They were off to see the the doctor. The doctor checked his ear and said "You have a lot of ear wax!" **** Q: Premise: Jimmy was crying after he finished his bottle. Initial Context: His picked him up from the floor. Original Ending: He decided to read a bedtime story to Jimmy. After a few minutes, he went to sleep. His father placed him inside of his crib. Counterfactual Context: Jimmy's parents sent him to bed without saying good night. A: Jimmy started crying again and his father had to calm him down. After a few minutes, he went to sleep. His father placed him inside of his crib. **** Q: Premise: Tim found a fish tank on the side of the road. Initial Context: He picked it up and brought it home. Original Ending: The next day he went to the pet store to get fish. He bought some fish and food. Tim filled the tank with water and put in his new fish. Counterfactual Context: It had a giant crack in it, so he left it where it was. A:
The next day he went to the pet store to get fish and a tank without cracks. He bought some fish and food. Tim filled the tank with water and put in his new fish. ****
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone. Q: About five weeks ago, I got into a bar fight. The fight was over my girlfriend. That ho was messing around with some of the men at the bar. We had all been drinking. We were drinking perhaps too much. The police were called out. Luckily, they decided not to arrest any of us. Once they saw how much of a ho my girlfriend is, they let us all go. They had us sober up down at the drunk tank. Lucky for us, these guys were cool. After we sobered up, me and the guys I was fighting with became buddies. The moral of that story is to not get drunk. Drinking leads to bad times. Especially when there is a ho involved. And my girlfriend is the biggest ho you'll ever see. A: imagined **** Q: I am humble and calm person. and i trust everyone easily. in my office i have huge friends. but i speak with particular friend. then one day a new employee joint to our office. he looks so innocent. i see him as me. so i give a company to him. and talk with him. we become very close. then after some days passed we become very thick friend. one day he cheated me in money. My heart was suddenly destroyed by someone. I thought I could trust and count on. It took me completely by surprise and flipped my world around. Although it was painful and hard it helped me get stronger and showed me who I really could count on. A: imagined **** Q: Last month I dropped off my oldest child at a university that is 7 hours away from my house. The whole family came along for the drop-off. We had a great time driving to the university. We talked about so many issues, such as how to take a show in a shared bathroom to how to get the most out of going to college. Once we got to the campus, we participated in all the activity on campus. We met the roommate. We explored the whole campus and met so many interesting people. The best part of the day was when my child told us how grateful she is to us for being so supportive of her with her life choices. It was such a bitter-sweet moment. I would never forget this day. I know that I will miss my child a lot. I got a great satisfaction knowing my child made the right choice for college. I think my husband and I did a good job raising her. I will always be grateful to have a wonderful child like her. I would not even take anything for granted. A:
recalled ****
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: Aromi is an English restaurant in the city centre. Solution: name[Aromi], eatType[restaurant], food[English], area[city centre] Reason: The output correctly parses all the parseable attributes in the input, no more, no less. Now, solve this instance: With high pricing and a customer rating of 1 out of 5, The Eagle is a non child friendly fast food coffee shop located near Burger King, Riverside. Student:
name[The Eagle], eatType[coffee shop], food[Fast food], priceRange[high], customer rating[1 out of 5], area[riverside], familyFriendly[no], near[Burger King]
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: Gina needed to buy one gallon of water. Initial Context: So she grabbed a hand basket and went to the aisle. Original Ending: She hoped the store would have at least one gallon. She was happy to see a full shelf of her water. Gina added three gallons to her basket and went to pay. Counterfactual Context: She didnt't think she needed a hand basket and went to the aisle. A:
She hoped the store would have at least one gallon She was happy to see a full shelf of her water Gina grabbed a one gallon jug and went to pay.
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 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. Andorra Solution: .ad Why? .ad is the TLD of the country called Andorra. New input: People's Republic of China Solution:
.cn
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. [EX Q]: Trinidad and Tobago [EX A]: Caribbean [EX Q]: Austria [EX A]: Western Europe [EX Q]: Tanzania [EX A]:
Eastern Africa
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?" Fact: adult worms go through a major transformation to create young. Why do adult worms go through a major transformation? Fact: Genes that are located on the same chromosome are chained together by the thousands. Genes that are located on the same chromosome are chained together by the what? Fact: Most pituitary hormones control other hormone producing structures of the body.
What do most pituitary hormones control?
Given the task definition and input, reply with output. 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. [203, 941, 687, 91, 406, 317, 465, 297, 697, 547, 741, 51, 554, 260]
[941, 317, 547]
Instructions: 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: [7, 4, 5, 2, 6, 5, 5, 7, 5, 4] Output:
[2, 6]
Q: 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. The Golden Palace is a coffee shop that provides Italian. It is located by the riverside with an average customer rating and a high price range. A:
name[The Golden Palace], eatType[coffee shop], food[Italian], priceRange[high], customer rating[average], area[riverside]
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. See one example below: Problem: 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. Solution: No Explanation: Both participants do not agree to the deal, so the answer is No. Problem: THEM: i need the hat and 1 ball YOU: i need hat and book THEM: the hat is not something i can give up, i could take the hat only and you could have the rest? YOU: looks like a standoff THEM: yes i cannot be without the hat, nothing else is worth anything YOU: same THEM: how do we do no deal? YOU: we talk until 'no deal' button appears THEM: well i will take the low score this time, you take the hat i will take the rest? YOU: okay. Solution:
Yes
Detailed 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?" Problem:Fact: The windiest side of a mountainous peninsula would have the most precipitation. Solution:
The windiest side of a mountainous peninsula also has the most of what?
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise Let me give you an example: 'English : Diyarbakır 2nd Criminal Court of Peace has issued a gag order on the bomb attack on police shuttle in Diyarbakır.', 'Kurdish : Biryara qedexekirinê di rûpela Lijneya Bilnd a Radyo û Televizyonan (RTUK) de bi daxuyaniyek hat diyarkirin û wiha hat gotin:' The answer to this example can be: Yes Here is why: The answer is 'Yes' because the second sentence is a consise and faithful translation of 'English' sentence into 'Kurdish' OK. solve this: 'English : The protesters wanted to hang the letter written by Kırbayır four years ago to Minister of Justice, Sadullah Ergin but they were prevented by police.','Kurdish : Çalakgiran xwestin ku nameya Dayîka Berfo ku 4 sal ewil ji Wezîrê Dadê Sadullah Ergin re nivîsî bû, bi benda avahiya wezaretê ve daliqînin lê polêsan destûr nedan.' Answer:
Yes
Definition: 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. Input: Sentence: I brought my car in {{ for }} a simple emissions test . Word: for Output:
IN
TASK DEFINITION: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. PROBLEM: Set1: '{1, 2, 4, 6, 7, 8, 9, 11, 13}', Set2: '{1, 4, 5, 9, 13, 14, 15, 16, 18}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 14 PROBLEM: Set1: '{2, 5, 7, 13, 16, 19}', Set2: '{1, 2, 3, 5, 12, 19}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION: 9 PROBLEM: Set1: '{3, 5, 6, 7, 11, 15, 20}', Set2: '{4, 8, 13, 14, 17, 18}'. How many elements are there in the union of Set1 and Set2 ? SOLUTION:
13
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Ans: i love clas of clan Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.ringdroid. Ans: Not working Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Ans: Constant error messages. Now promoting me to update but it won't update. I had these problems with my LG phone and tablet. I upgraded to Samsung phone and ASUS tablet. Again the same problems. FIX THE GLITCHES OR DISABLE THE USELESS PROMPTS! Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.ds.avare.
Ans: Great app!!! Never failed me so far. Keep it up to date and it works. For free app it has everything.
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). [EX Q]: Entity 1: walnut hull Entity 2: enzyme [EX A]: no [EX Q]: Entity 1: orchid Entity 2: collagen fiber [EX A]: no [EX Q]: Entity 1: blood lipoprotein Entity 2: fatty acid [EX A]:
yes
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Input: Consider Input: bimodal Output: unimodal Input: Consider Input: appropriate Output: inappropriate Input: Consider Input: splayfooted
Output: pigeon-toed
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 = 7, equation weights = [5, 6, 1] A:
288
In this task you are expected to write an SQL query that will return the data asked for in the question. 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. Which teacher teaches the most students? Give me the first name and last name of the teacher. SELECT T2.firstname , T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname , T2.lastname ORDER BY count(*) DESC LIMIT 1 What is the number of technicians? SELECT count(*) FROM technician What are the different ids and names of the battles that lost any 'Brig' type shipes?
SELECT DISTINCT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.ship_type = 'Brig'
TASK 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. PROBLEM: [-59.033 11.507 93.245 -74.257 70.062 73.261 -4.604 -57.229 -44.653 -38.561] SOLUTION: 93.245 PROBLEM: [-46.636 -19.487 -4.668 -29.071 33.606 59.092 -60.841 26.907 74.077 53.768] SOLUTION: 74.077 PROBLEM: [ 57.731 -52.356 75.923] SOLUTION:
75.923
instruction: 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. question: x = 6, equation weights = [5, 6, 9] answer: 225 question: x = 5, equation weights = [5, 6, 7] answer: 162 question: x = 1, equation weights = [7, 0, 8, 4, 1] answer:
20
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, 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. Aromi is an English restaurant in the city centre. Solution: name[Aromi], eatType[restaurant], food[English], area[city centre] Why? The output correctly parses all the parseable attributes in the input, no more, no less. New input: The Eagle is a 3 star restaurant that serves Italian food. Solution:
name[The Eagle], food[Italian], customer rating[3 out of 5]
instruction: 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. question: ধুর বাল, আবার এই জায়গায় answer: non-religious question: এর জন্য মানুষ উপকার করতে হয় না answer: non-religious question: সালে ভারত যদি বাংলাদেশের মানুষদের জন্যে সীমান্ত খুলে না দিত তাহলে বাংলাদেশের মানুষের কি অবস্থা হত তা একমাত্র ঐসময়ের ভূক্ত ভোগীরাই সবচেয়ে ভাল বলতে পারবে । আমার মতে বর্তমানের রাখাইন মুসলমানদের এই চরম দূরর্দষায় বাংলাদেশকে সাহায্যের হাত বাড়ীয়ে দেয়া অতীব জরুরী হয়ে পড়ছে এবং সাথে সাথে বাংলাদেশ হতে বার্মার দূতাবাসের সকল কার্যক্রম বন্দ্ব করে দেয়া উচিৎ । answer:
non-religious
Instructions: 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: [93.993 85.412 27.753 93.905 27.36 39.794 95.281 92.531] Output:
95.281
instruction: 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. question: Context: 'hi how are you' 'Hi, I am good. How about you? 🙂' Utterance: 'same, can I get 3 food, 2 firewood and 0 water, I need 3 food because i need food to survive' answer: Yes question: Context: 'I do need at least one extra water bottle in case the fire goes out of control, but I am willing to forgo any food as I can forage for food.' 'Alright. Thanks. I only ask for so much of the water because I am overweight and I know while camping I'll work up a huge sweat.' 'Great, that sounds good to me, are you okay with keeping all the food or would 3 be too much?' Utterance: 'I'd be ok with keeping all the food. I do eat a bit too much and if for some reason I get lost it would be helpful to have!' answer: Yes question: Context: 'Great, this is going to be a fun trip. So I get 2 water, 2 food and you get 1 water, 1 food and 3 firewood?' 'Yes, I cant wait to set off. It sounds like you have it all correct. I hope we both have a great trip. ' 'I hope it doesn't get cold out since I won't have any firewood. You need it more than I do though, so you should have it all.' Utterance: 'Thank you. I hope I don't run out of water. I get dehydrated easily but I want us both to be comfortable. ' answer:
Yes
In this task you are expected to write an SQL query that will return the data asked for in the question. 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. Q: What is the id and last name of the driver with the longest laptime? A: SELECT T1.driverid , T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds DESC LIMIT 1 **** Q: Return the apartment number with the largest number of bedrooms. A: SELECT apt_number FROM Apartments ORDER BY bedroom_count DESC LIMIT 1 **** Q: Which membership card has more than 5 members? A:
SELECT Membership_card FROM member GROUP BY Membership_card HAVING count(*) > 5 ****
Detailed Instructions: 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'. Problem:Grier was born on May 26, 1949, in Winston-Salem, North Carolina, the daughter of Gwendolyn Sylvia (née Samuels), a homemaker and nurse, and Clarence Ransom Grier, Jr Solution:
May 26, 1949
Part 1. Definition 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. Part 2. Example News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins Answer: Not Funny Explanation: The edited sentence is not making much sense, therefore it's not funny. Part 3. Exercise News Headline: Pitbull sees {Trump} 's ' true colors ' on Puerto Rico relief Edit: Poodle Answer:
Funny
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. password = lViPArF.D5EC
0
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. Ex Input: United Kingdom Ex Output: British Isles Ex Input: French Southern territories Ex Output: Antarctica Ex Input: Trinidad and Tobago Ex Output:
Caribbean
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: bYubMFxyTqR, AcDbMFxSnI Solution: bYubfmxyTqR, AcDbfmxSnI Reason: 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' Now, solve this instance: gKbrJqIwoTaLuLAaaspqDBOV, AZWmnKghxnbIwoTaLuLAaaspqDMAZrxkSrCdMrc Student:
gKbrJqaaaadillopqstuwBOV, AZWmnKghxnbaaaadillopqstuwMAZrxkSrCdMrc
Definition: 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...'. Input: I took a dump in my pants. Output:
Yeah, we're aware of that. You don't need to keep mentioning it all the time.
Detailed Instructions: 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. See one example below: Problem: [-11, 2, 3] Solution: -11 Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example. Problem: [ 60.815 -87.204 -15.794 -38.596 -61.894 -94.12 -18.139 -24.425 93.513 78.114] Solution:
-94.12
Instructions: 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. Input: Premise: Jake went to the animal shelter looking to adopt. Initial Context: When he arrived, he found a beautiful brindled dog. Original Ending: The dog's name was Sophia and she and Jake clicked immediately. Jake went to the front desk and asked to adopt Sophia. Sophia and Jake have been best friends ever since. Counterfactual Context: When he arrived, he found a beautiful cat. Output:
The cat's name was Sophia and she and Jake clicked immediately. Jake went to the front desk and asked to adopt Sophia. Sophia and Jake have been best friends ever since.
Detailed Instructions: 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: Jieţ는 루마니아의 Slivei River의 지류입니다. A:
La Jieţ est un affluent de la rivière Slivei en Roumanie.
Definition: 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: [3, 5, 3, 6, 3, 6] Output:
[5]
You will be given a definition of a task first, then some input of the task. Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" office Output:
interoffice
Detailed Instructions: 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. See one example below: Problem: 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. Solution: yes Explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Problem: You should apply to Epic . Solution:
yes
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Problem:THEM: gimme hat and book YOU: umm, if you ask nicely you can have them THEM: gimme hat and book now YOU: no deal THEM: agreed YOU: if you were nice they wouldve been all yours THEM: no nice YOU: cool THEM: yes YOU: yep. Solution:
No
Detailed Instructions: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc. Q: Sentence: The side of Malaquez's parcel gave way to reveal a greenmunk caught in a sheen of solid air. Question: What happened after the reveal of the greenmunk? Category: Event Ordering. A:
Yes.
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. -------- Question: [-66.573, 115.584] Answer: [-1.358 2.358] Question: [159.522, 187.936, 110.31, 19.51, 201.142] Answer: [0.235 0.277 0.163 0.029 0.296] Question: [-92.952, 149.074] Answer:
[-1.656 2.656]
Detailed Instructions: Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'. Q: Els alcaldes de Sallent , Balsareny i Súria i el president del Consell Comarcal del Bages han manifestat avui preocupació pel futur incert de les mines de potassa . A:
Els (O) alcaldes (O) de (O) Sallent (B-LOC) , (O) Balsareny (B-LOC) i (O) Súria (B-LOC) i (O) el (O) president (O) del (O) Consell (B-ORG) Comarcal (I-ORG) del (O) Bages (B-LOC) han (O) manifestat (O) avui (O) preocupació (O) pel (O) futur (O) incert (O) de (O) les (O) mines (O) de (O) potassa (O) . (O)
Q: 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...'. I've been looking everywhere for The Boy's Store. And I can read. A:
Don't worry about reading here. The Boy's Store is two stalls down.
Part 1. Definition Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Part 2. Example difficult Answer: No Explanation: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions. Part 3. Exercise company Answer:
whitey
Detailed 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?" See one example below: Problem: Fact: pesticides can harm animals. Solution: What can harm animals? Explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what". Problem: Fact: Neurons are the structural and functional units of learning and behavior. Solution:
What are the structural and functional units of learning and behavior?
Part 1. Definition In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other. Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise Part 2. Example 'English : Diyarbakır 2nd Criminal Court of Peace has issued a gag order on the bomb attack on police shuttle in Diyarbakır.', 'Kurdish : Biryara qedexekirinê di rûpela Lijneya Bilnd a Radyo û Televizyonan (RTUK) de bi daxuyaniyek hat diyarkirin û wiha hat gotin:' Answer: Yes Explanation: The answer is 'Yes' because the second sentence is a consise and faithful translation of 'English' sentence into 'Kurdish' Part 3. Exercise 'English : He remarked that he believes majority cannot be constituted for constitutional amendment in case the MPs cast secret vote.','Kurdish : Paylan got ku eger dengdayîn bi awayekî veşartî pêk were, dê rêjeya dengan têrê neke ku qanûn bê guhertin.' Answer:
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?" Fact: marine and benthic species use pheromones to communicate with each other. marine and benthic species use pheromones to what? Fact: ovaries are used in reproduction. What is a part of the female reproductive system? Fact: freshwater global ecosystems have water that contains little or no salt.
what has freshwater that contains little or no salt?
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'. twoeightsixfivethreenine
286539
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. -------- Question: So you will need to attack this from multiple angles . Answer: no Question: I would suggest taking time trying some classes to see what really grabs you . Answer: yes Question: Was it the emphasis on social relationships ( love others as you love yourself ) , the acknowledgement that the self is flawed ( sinful due to the fall ) , was it that there 's hope for a better life after we die ( heaven ) , was it knowing that there is a larger deity and being in control ( God ) ? Answer:
no
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. One example is below. Q: Sentence: Sam pulled up a chair to the piano, but it was broken, so he had to sing instead. Question: What was broken? A: piano Rationale: The given sentence clearly states that Sam pulled up a chair to the piano, but piano was broken, so he had to sing instead. Therefore, the answer is piano. This is a positive example as the answer is correct and complete. Q: Sentence: When Tommy dropped his ice cream, Timmy giggled, so father gave him a sympathetic look. Question: Who got the look from father? A:
Tommy
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 Q: Another part of the company or institution does receive your computer information for an unspecified purpose. The data is personally identifiable. You can opt out by contacting the company. A:
Unspecified
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. [Q]: rjtuVgerpGwVmqzUjRZPExMuFQYdL, FieLJfVOlpwVmqzUjRZPExMymltNjNIkmyFR [A]: rjtuVgerpGejmmpqruvwxzzuFQYdL, FieLJfVOlpejmmpqruvwxzzymltNjNIkmyFR [Q]: TIJmrUfZvmQfXoOsNIZurU, iIofZvmQfXoOsNIEdqBzz [A]: TIJmrUffimnooqsvxzZurU, iIoffimnooqsvxzEdqBzz [Q]: pSXIBkXDcufapGrUBdcgEzlwaKTPNPnXmXJk, meROYeeUJnBNdcgEzlwaKTPNPnXmXocbeiTOhAGYsJtuY [A]:
pSXIBkXDcufapGrUBacdegklmnnpptwxxzJk, meROYeeUJnBNacdegklmnnpptwxxzocbeiTOhAGYsJtuY
Definition: 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. Input: password = gQmr Output:
2
Given the task definition and input, reply with output. 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. encuentra todas las cafeterías con 1 estrellas.
find all 1 star diners .
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. password = 7R01.pfIWKl
0
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation. Andorra
1278
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. One example: Angola Solution is here: Central Africa Explanation: Angola is located in the Central Africa region of the world map. Now, solve this: Moldova Solution:
Eastern Europe
You will be given a definition of a task first, then some input of the task. 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. Context: 'Hello' 'HI how are you today?' Utterance: 'Good. I am diabetic so would like to take 3 of the food' Output:
Yes
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: George always watching wrestling on tv growing up. Initial Context: He knew that is what he wanted to do when he grew up. Original Ending: George graduated high school. He decided it was now or never to make his dream come true. George decided to join a wrestling league so what he was made of. Counterfactual Context: He started wrestling school as soon as he turned 18.
George graduated high school. He was happy he made the decision to make his dream come true. Later, George decided to join a wrestling league instead to see what he was made of.
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. Ex Input: I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_LEFT I_TURN_LEFT I_RUN Ex Output: jump right thrice and run opposite left Ex Input: I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP Ex Output: jump around right twice after run left thrice Ex Input: I_LOOK I_LOOK I_TURN_LEFT I_TURN_LEFT Ex Output:
turn left twice after look twice
Teacher:In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' . Teacher: Now, understand the problem? Solve this instance: त्या माणसाने सिगारेटची तळमळ केली. त्याला निकोटीनचे व्यसन लागले. Student:
cause
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
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_RUN I_JUMP Output:
run left and jump
You will be given a definition of a task first, then some input of the task. 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...'. I'm going to confess something to you. My associate Timothy and I, we did not know if you meant the American measurement of Fahrenheit - the empirical measurement - or the European metric measure of Centigrade.? Output:
I also believe Canadians use it.
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package github.daneren2005.dsub. Ans: Does not work on android n beta. The songs load and then skip to next song... Looping forever but never playing. (Nexus 6p) Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Ans: MOST A.o Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.dozuki.ifixit. Ans: Unfortunately ifixit has stopped. Everytime I open the app this always shows hope that you fix it im using xperia z1... Generate a 3-star review (1 being lowest and 5 being highest) about an app with package me.phh.superuser.
Ans: Very light..
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. 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. Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?' Utterance: 'You can take the two water. I am not that thirsty most days.' Solution: No Why? In this utterance, the participant does not use self-need since they do not talk about any need for themselves. New input: Context: 'Hi we would like you to consider giving us all of the rations for the trip.' 'hello, that could be a good idea, but I think I need more rations' 'How important are they to you? We would like to get a good mix, preferably more food.' Utterance: 'I need more food and water, you see I am diabetic, I need to eat many small meals' Solution:
Yes
Q: 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. This approach really helped with the chemical addiction , but I was left with a flavor addiction , so I started eating a few lollipops everyday , and eventually dropped those too . A:
no
Teacher: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. Teacher: Now, understand the problem? Solve this instance: x = 0, equation weights = [6, 1, 3, 5, 0] Student:
0
Detailed Instructions: 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'. See one example below: Problem: Basinger was born in Athens, Georgia, on December 8, 1953 Solution: December 8, 1953 Explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth. Problem: Sagal was born on January 19, 1954, in Los Angeles, California, to a show business family with five children Solution:
January 19, 1954
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.umang.dashnotifier.
Didn't work It simply didn't work on my Nexus It added none of the notifications/functionality I needed. The Dev is great and helpful
Teacher:In this task, you are given two questions about a domain. Your task is to combine the main subjects of the questions to write a new, natural-sounding question. For example, if the first question is about the tallness of the president and the second question is about his performance at college, the new question can be about his tallness at college. Try to find the main idea of each question, then combine them; you can use different words or make the subjects negative (i.e., ask about shortness instead of tallness) to combine the subjects. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in the new question, this keyword should also be used the same way. Do not write unnatural questions. (i.e., would not be a question someone might normally ask about domains). Do not write open-ended or subjective questions. (e.g., questions that can be answered differently by different people.) If you couldn't find the answer to your question from a single Google search, try to write a different question. You do not have to stick with the original question word for word, but you should try to create a question that combines the main subjects of the question. Teacher: Now, understand the problem? Solve this instance: What types of boating activities are available in this national park? Is this national park open year around? Student:
Can you go boating at this national park all year?
Q: 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. Russia A:
.ru
instruction: 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. question: Sentence: {{ She }} is very conscientious about what she signs , and who initials what . Word: She answer: PRP question: Sentence: In today {{ 's }} instant world , there 's no reason for the instructor not to even have given us a phone call or e-mail if she was going to be late . Word: 's answer: POS question: Sentence: {{ 4 }} . In Section 6.2.1 I 'll just note that the discount rate sentence I think is still an open issue . Word: 4 answer:
LS
Definition: 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. Input: I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK Output:
walk around left twice after walk opposite left twice
Q: 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. ioiiizozio A:
izozi
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" Problem:shout Solution:
scout
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 Q: 4282 @ 2191 # 7458 @ 8928 A: 7943 **** Q: 2065 @ 2103 @ 1800 A: 5968 **** Q: 6967 @ 228 # 2940 A:
4255 ****
You will be given a definition of a task first, then some input of the task. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Neuer und besser!!! . Da ist sie: Die neue Scheibe der "The Busters" und sie bietet eine Menge neues. Zunächst wäre da der neue 2te Sänger Ron Marsman der genau genommen in die Fußspuren des,bereits vor 3 Jahren ausgestiegenen,Sängers Markus Sprengler tritt. Somit sind die Busters wieder zu zwölft und besser als je zuvor. Bereits mit dem Opener "Far Away" betrteten die Busters,wie auch schon mit der Vorabsingle "Radio Smash Hit" musikalisches Neuland. Der etwas rockig-punkige Stil hat sich bisher nie richtig durchgesetzt und wird in diesen Songs zum ersten mal "gewürdigt". Ungewohnt aber gut. Abwechslungsreich geht es weiter mit dem entspannten "Whiskey Til I Drop",dem poppigen "Clock´s Don´t Rock" und dem traditionellen Off Beat Stück "Bad Guys". Eine etwas härtere Gangart schlagen die Busters wieder mit dem Stück " Big Boy" ein,welches auch Ska Core Ansätze besitzt. Zudem hat auch ein neues Instrumentalstück den Weg aufs Album gefunden. Ebenfalls ein sehr gutes Stück. Insgesamt muss man sagen,dass "Evolution Pop" wohl eines der besten Album der Jungs aus Wiesloch ist. Es ist abwechslungsreich,bietet viel neues und die beiden Sänger leisten sehr gute Arbeit. Neben "360 Degree" handelt es sich hier wohl um das beste Album der "The Busters". Auf das viele weiter Alben dieser Art folgen! Output:
POS
You will be given a definition of a task first, then some input of the task. 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. Mimicking a smile and experiencing it physically help us understand whether our smile is fake or real, so we can understand the emotional state of the smiler. Output:
Oponašajući osmijeh i doživljavajući ga fizički pomaže nam shvatiti je li naš osmijeh lažan ili stvaran, tako da možemo shvatiti emocionalno stanje osobe koja se smije.
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. -------- Question: Context: 'I am sooooo excited too! I can't wait to sit by the fire! 🙂' 'Me too!!!! That is what I am most excited about. I was actually hoping you might have some firewood to spare?' 'Gosh, that's a bg favor because I need the firewood. I will give you all of the firewood if you will give me all of the food. How's that?' Utterance: 'Fair enough! Thank you! I would really appreciate any extra water that you have too?' Answer: No Question: Context: 'That doesn't really work for me because then I would get only 2 waters and nothing else ☹️. What do you think is your highest priority?' 'Wood is my highest priority. I need it to stay warm. I'm very cold-natured. What is your highest priority? 🙂' 'Oh that's good. Wood is not my highest priority since I get hot easily lol. My highest priority is probably food because I have a very high metabolism and get very hungry' Utterance: 'I understand that. I also need food though, because I need the sustenance to help warm me up. So maybe 3 firewood 1 food and 2 waters for me?' Answer: Yes Question: Context: 'How are you today? Did you have any preferences on the supplies we will be trading?' 'I am good. How about yourself? I think I would like some firewood to start off with. We like to have bigger fires. What about you?' 'I am good as well. That is good to hear that you like to have bigger fires as we do not care much for that. We would much rather have some extra water.' Utterance: 'Water is a little important to us too though , if possible maybe we can split that or maybe we can get some more food in replacement.' Answer:
No
Given the task definition, example input & output, solve the new input case. 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. Example: [0,1,0,2,5,1] Output: [2,5] The only elements that are not duplicated is 2 and 5. This is a good example. New input case for you: [3, 6, 7, 1, 3] Output:
[6, 7, 1]
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]: [4, 8, 3, 6, 6, 2, 1] , [5, 1, 1, 10, 4, 1, 10] [A]: [1, 4] [Q]: [3, 2, 1, 1, 6, 8] , [2, 7, 5, 6, 10, 9] [A]: [2, 6] [Q]: [8, 2, 3, 2, 7] , [2, 3, 8, 8, 1] [A]:
[2, 3, 8]
Part 1. Definition 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. Part 2. Example x = 3, equation weights = [4, 2] Answer: 14 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. Part 3. Exercise x = 7, equation weights = [5, 8, 2, 0] Answer:
2121
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. Q: Query: SELECT DISTINCT ?x0 WHERE { ?x0 ns:film.film.edited_by M1 . ?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 . ?x0 ns:film.film.written_by M0 . ?x1 ns:film.actor.film/ns:film.performance.character M3 . ?x1 ns:people.person.nationality ns:m.06mkj } Question: What was edited by M1 , written by M0 , and produced by M3 's Spanish actor A: 1 **** Q: Query: SELECT count(*) WHERE { ?x0 ns:organization.organization_founder.organizations_founded M0 . ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M0 . M1 ns:film.film.written_by ?x0 . M1 ns:film.film.written_by M2 . M3 ns:film.film.written_by ?x0 . M3 ns:film.film.written_by M2 . M4 ns:film.film.written_by ?x0 . M4 ns:film.film.written_by M2 . M5 ns:film.film.written_by ?x0 . M5 ns:film.film.written_by M2 . M6 ns:film.film.written_by ?x0 . M6 ns:film.film.written_by M2 } Question: Were M1 , M3 , M4 , M5 , and M6 written by M2 and written by M0 's employee and founder A: 1 **** Q: Query: SELECT count(*) WHERE { ?x0 a ns:film.editor . ?x0 ns:film.actor.film/ns:film.performance.film M1 . ?x0 ns:film.director.film M1 . M2 ns:film.film.edited_by M3 . M2 ns:film.film.edited_by M4 . M2 ns:film.film.written_by ?x0 } Question: Was M0 's female sibling influenced by M1 and M2 A:
0 ****
instruction: 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. question: Context: Utterance: 'Hello. ' answer: No question: Context: 'no i will have my husband and my dog with me' 'oh nice well how about you give me 3 water and I give you 3 food and we figure out the wood make a suggestion' 'ill take one you get twoa/' Utterance: 'that sounds perfect to me.' answer: No question: Context: 'I'm excited to go on it! I haven't gone it yet, that's why we're talking about supplies now.' 'Yeah, What did think about water? ' 'I think water is great! I don't need very much for this trip, but water is delicious.' Utterance: 'Okay, but water is important to me because I have health issues. So I drink more water for save my health.' answer:
Yes