prompt
stringlengths
98
11.7k
response
stringlengths
1
1.45k
Given the task definition and input, reply with output. 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. Sort all the rooms according to the price. Just report the room names.
SELECT roomName FROM Rooms ORDER BY basePrice
Teacher: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. Teacher: Now, understand the problem? Solve this instance: [10, 2, 9, 3, 10, 3, 3, 10, 8, 2] , [7, 7, 9, 7, 6, 3, 10, 10, 5, 9] Student:
[3, 9, 10]
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. -------- Question: original sentence: Mark told Pete many lies about himself , which Pete included in his book . He should have been more truthful . paraphrase: Mark blatantly told Pete many lies about himself , which Pete included in his book . He should have been more truthful . Answer: Adverb Question: original sentence: John was jogging through the park when he saw a man juggling watermelons . He was very impressive . paraphrase: John was leisurely jogging through the park when he saw a man gracefully juggling watermelons . He was very impressive . Answer: Adverb Question: original sentence: As Ollie carried Tommy up the long winding steps , his legs ached . paraphrase: As Tommy was carried by Ollie up the long winding steps , his legs ached . Answer:
Voice
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Problem:eightfourtwosevensixfive Solution:
842765
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). Input: Consider Input: Entity 1: triglyceride Entity 2: hormone Output: no Input: Consider Input: Entity 1: network Entity 2: nucleus Output: no Input: Consider Input: Entity 1: brain Entity 2: neural pathway
Output: yes
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. Problem:r / helicopterparents may be a good sub for you to relate to people . Solution:
no
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Input: Consider Input: it has been proven time and again prisons don't rehabilitate, keeping someone in prision for their entire life in prision is less human than the death penalty. Output: Valid Input: Consider Input: Any parent who "beats the shit" out of their kid, is too far gone to wonder why the kid is violent. Output: Invalid Input: Consider Input: Lastly, the death penalty is the ultimate scapegoat because it is letting the criminal off the hook without allowing them to think what they did as truly wrong.
Output: Valid
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) . Word: ( Solution: -LRB- Reason: "(" is the symbol for Left Parantheses (-LRB-). Now, solve this instance: Sentence: It 's never ok to let a customer walk out unhappy , especially when they are right {{ . }} Word: . Student:
.
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Problem:divided Solution:
united
Please answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.byagowi.persiancalendar. A:
Just good ;-)
Definition: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. Input: original sentence: This book introduced Shakespeare to Goethe ; it was a major influence on his writing . paraphrase: This book introduced Shakespeare and Chaucer to Goethe and Marx ; they were a major influence on their writing . Output:
Number
Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Input: bottle Output:
artifact
Part 1. Definition In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. Part 2. Example [16, 205, 171, 2, 9, 317] Answer: [16, 256, 128, 2, 8, 256] Explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example. Part 3. Exercise [103, 1337, 987, 1803, 20, 53] Answer:
[128, 1024, 1024, 2048, 16, 64]
Detailed Instructions: 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. Q: Saudi Arabia A:
.sa
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 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. Angola Solution: Central Africa Why? Angola is located in the Central Africa region of the world map. New input: Gabon Solution:
Central Africa
You will be given a definition of a task first, then some input of the task. 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 = BiSTKI4fB18hOqnVYID Output:
0
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. [4, 3, 4, 2, 5, 2, 5, 3, 5, 2]
[]
Teacher: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. Teacher: Now, understand the problem? Solve this instance: Command: and { only { filter_eq { all_rows ; rebounds per game ; 3.4 } } ; eq { hop { filter_eq { all_rows ; rebounds per game ; 3.4 } ; tournament } ; 2011 eurobasket } }, interpretation: select the rows whose tournament record fuzzily matches to baton rouge , us . take the date record of this row . select the rows whose tournament record fuzzily matches to granby , canada . take the date record of this row . the first record is less than the second record . Student:
no
Given the task definition and input, reply with output. 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'. threezeroninesixfiveseventhreefoursevenzero
3096573470
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: I will inform when we {{ are }} up and running again . Word: are answer: VBP question: Sentence: Article 6 of the Gallup Compression Services Agreement ( {{ which }} I am sending to you separately ) with ECS obligates ECS to " work in good faith with CDEC " to establish an automated system that would automatically have alerted us to peak loading conditions on CDEC 's system . Word: which answer: WDT question: Sentence: In the {{ post }} election scenario it is becoming abundantly clear that the Taliban do not have the support of the Afghan people nor the Afghan Pashtuns . Word: post answer:
AFX
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)। Solution: religious Reason: Here it expresses hate against the religion, hence tagged as religious. Now, solve this instance: তুই শালা একটা বড় বেয়াদপ। যে আঙ্গুল দিয়ে লিখেছ। সেটা ও রেন্ডিয়া ও মালুর ভাষা। তুই কাডাইল্লা তোর বাবার দেশ পাকিস্তানে যা। Student:
non-religious
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Input: Consider Input: [2, 1, 7, 4, 4] Output: [2, 1, 7] Input: Consider Input: [2, 4, 2, 6, 5] Output: [4, 6, 5] Input: Consider Input: [1, 7, 7, 5, 6, 5]
Output: [1, 6]
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. Grandioser Hörgenus . Nachdem der Ohrwurm "Allein allein" fast schon nervig ständig im Radio geduldelt wird, überrascht die CD mit grandiosem Pop, einer Mischung aus Indie, Synthie-Pop und opernhaften Elementen aus deutschen Landen. Gänsehautfaktor, immer wieder anders, über allem schwebt die filigrane, fast ein wenig weibliche anmutende Stimme von Sänger Felix Räuber. Wunderschön! Einfach nur empfehlenswert.
POS
Given the task definition and input, reply with output. 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. [2, 9, 4, 9, 1, 3, 1] , [10, 1, 4, 1, 10, 4, 8]
[1, 4]
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: YUIlfcwXZZwmkGrLXWFEYZJGrfqirNmUz, EjLPtxVPkGrLXWFEYZJGrden Student:
YUIlfcwXZZwmefggjklrrwxyzfqirNmUz, EjLPtxVPefggjklrrwxyzden
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: The woman talked to her cat. Initial Context: The cat stared at the woman. Original Ending: After a little while the cat meowed. The woman thought the cat was answering her. She started talking with the cat all the time. Counterfactual Context: The cat stared at the woman but will never meow in her presence. After a little while the woman gave up. The woman realized the cat wouldn't answer her. She never talked to her cat again. Premise: Scott was a hard-working men's basketball coach. Initial Context: When he met Irving, he wanted to make a difference in his life. Original Ending: First, Scott took Irving to meet and play with NBA players. Next, he customized Irving's workout program. By his senior year in college Irving was ready for the NBA. Counterfactual Context: When he met Irving, he was so annoyed and didn't get along. In spite of that, Scott took Irving to meet and play with NBA players. Next, he customized Irving's workout program. By his senior year in college Irving was ready for the NBA. Premise: My yard was looking kind of empty. Initial Context: I decided to put up a nice fence around the yard. Original Ending: I bought the supplies and some tools. I worked on the fence for a weekend. When I was done, I had a nice looking fence. Counterfactual Context: I added a pool.
I bought the pool supplies and some floating chairs. I worked on the pool for a weekend. When I was done, I had a nice swim.
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. See one example below: Problem: 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 Explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves. Problem: Context: 'Hello! I'm so excited for this camping trip. What do you still need as your supplies?' 'I think food, water, and firewood are all going to be fairly important.' Utterance: 'I agree. I have diabetes, so water and food are super important to me. My diabetes makes me super thirsty and I have to make sure I keep my blood sugar under control with certain foods ☹️' Solution:
Yes
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. Problem:[90, 1032, 3391, 4424, 16, 62, 2, 243, 1028, 2502, 4552] Solution:
[64, 1024, 4096, 4096, 16, 64, 2, 256, 1024, 2048, 4096]
Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. Input: CcDHJxwemghCfNPSuiJ, CDmfHJxwemghCfLY Output:
CcDcefghhjmwxNPSuiJ, CDmfcefghhjmwxLY
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 = 10, equation weights = [6, 1, 2] A:
612
instruction: 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. question: [2, 10, 7, 7, 4] , [3, 7, 3, 4, 7] answer: [4, 7] question: [4, 10, 1, 10, 10] , [6, 8, 8, 8, 8] answer: [] question: [1, 2, 6, 7, 9, 3, 7, 3, 3] , [6, 6, 8, 6, 2, 9, 7, 3, 1] answer:
[1, 2, 3, 6, 7, 9]
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'. Actualment hi treballen 21 persones , que gestionen els processos administratius del sector ramader . Actualment (O) hi (O) treballen (O) 21 (O) persones (O) , (O) que (O) gestionen (O) els (O) processos (O) administratius (O) del (O) sector (O) ramader (O) . (O) Els serveis mínims que ha decretat la direcció general de Relacions Laborals del departament de Treball de la Generalitat estableixen que la recollida d' escombraries es continuarà fent diàriament als hospitals , als centres assistencials , mercats i escoles amb servei de menjador . Els (O) serveis (O) mínims (O) que (O) ha (O) decretat (O) la (O) direcció (O) general (O) de (O) Relacions (B-ORG) Laborals (I-ORG) del (O) departament (O) de (O) Treball (B-ORG) de (O) la (O) Generalitat (B-ORG) estableixen (O) que (O) la (O) recollida (O) d' (O) escombraries (O) es (O) continuarà (O) fent (O) diàriament (O) als (O) hospitals (O) , (O) als (O) centres (O) assistencials (O) , (O) mercats (O) i (O) escoles (O) amb (O) servei (O) de (O) menjador (O) . (O) També es considera que l' estació del Vallès del tren d' alta velocitat descongestionarà els accessos a Barcelona per carretera .
També (O) es (O) considera (O) que (O) l' (O) estació (O) del (O) Vallès (B-LOC) del (O) tren (O) d' (O) alta (O) velocitat (O) descongestionarà (O) els (O) accessos (O) a (O) Barcelona (B-LOC) per (O) carretera (O) . (O)
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: ( Two people in a cabin will spend {{ more }} onboard , so cruise lines charge you more to sail alone . Word: more answer: JJR question: Sentence: 24,000 {{ - }} Estimated number of premature deaths that will occur under Bush 's Clear Skies initiative . Word: - answer: : question: Sentence: I was saddened to see the reviews {{ that }} claimed World Hats Mart has poor service . Word: that answer:
WDT
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them. The reaction mix was then added to 100 microl chemically competent DH10b cells , incubated for 15 - 30 min on ice and transformed by heat shock .
DH10b cells
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. Given 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). Entity 1: plant Entity 2: leaf Solution: yes Why? The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. New input: Entity 1: palm Entity 2: mitochondrion Solution:
no
Given the task definition, example input & output, solve the new input case. Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Example: I_TURN_LEFT I_JUMP Output: jump left If the agent turned to the left and jumped, then the agent jumped to the left. New input case for you: I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK Output:
look left thrice after walk around right
Definition: The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Input: We can see the first part here was designed here by pigs. Output:
Možemo vodjeti kako su prvi dio ovdje dizjanirale svinje.
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. Q: [17, 989, 945, 17, 263, 127, 417, 503, 709, 311, 918, 92, 946, 739, 457, 738, 309, 551] A:
[17, 17, 263, 127, 503, 709, 311, 739, 457]
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' . One example: मी पेंडुलम ढकलले. ते मागे-पुढे फिरले. Solution is here: effect Explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate Now, solve this: माणूस अपंग झाला. त्याच्या कुटुंबीयांनी त्याला आर्थिक मदतीची ऑफर दिली. Solution:
effect
You will be given a definition of a task first, then some input of the task. In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. XOMlQadplcffvFAmqczhNV, S Output:
0
Teacher: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Teacher: Now, understand the problem? If you are still confused, see the following example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}] Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}] Reason: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example. Now, solve this instance: [{'first': -12, 'second': 4}, {'first': 56, 'second': -36}] Student:
[{'first': -12, 'second': 4}, {'first': 56, 'second': -36}]
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. nosed
noseless
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. tubed
tubeless
Given the task definition and input, reply with output. 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: 'I'm hoping so too. What's most valuable to you?' 'Water, what about you? ' 'Food, but I definitely do need some water, too. Can you live with taking 2 waters?' Utterance: 'Yes, can you live with two foods? '
No
Teacher:Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Teacher: Now, understand the problem? Solve this instance: THEM: i just want the balls YOU: can i have one ball? THEM: i need both of them please YOU: ok, you can have btoh THEM: thank you. Student:
Yes
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. [45, -8, 74, -67, -48, -30, 48] 3 [-39, 40, 47, -92, -30] 7 [-9, 10, -73, -60, -93]
13
Detailed Instructions: 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. Problem:aLwAyS oUtNuMbErEd, NeVeR oUtGuNnEd !!!! . This Album contains pure power !! Enjoy the "disturbed" powerfull base and energy. It contains the unique sound created by The Prodigy and blows you away ;))) Solution:
POS
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: [6, 1, 4, 1, 1] Output:
[6, 4]
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? Solve this instance: RrenacnhGtbLDVoNTaGKmb, dHCxdcnhGtbLDVoNTadKhTQuU Student:
RrenaabcdghlnnottvGKmb, dHCxdabcdghlnnottvdKhTQuU
Teacher: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. Teacher: Now, understand the problem? Solve this instance: [-99.7 -34.077] Student:
-99.7
Detailed Instructions: 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: List the state in the US with the most invoices. A:
SELECT billing_state , COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1
TASK DEFINITION: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. PROBLEM: [211, 1270, 591] SOLUTION: [256, 1024, 512] PROBLEM: [170, 1838, 645] SOLUTION: [128, 2048, 512] PROBLEM: [58, 558, 441, 1044, 22, 43, 4, 152, 1268, 3295, 835, 16, 30, 3, 171] SOLUTION:
[64, 512, 512, 1024, 16, 32, 4, 128, 1024, 4096, 1024, 16, 32, 4, 128]
Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. Input: [36, 691, 1673] Output:
[32, 512, 2048]
Instructions: 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. Input: SFR Yugoslavia Output:
.yu
Teacher: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. Teacher: Now, understand the problem? Solve this instance: Command: eq { diff { hop { filter_eq { all_rows ; year ; 1967 } ; laps completed } ; hop { filter_eq { all_rows ; year ; 1964 } ; laps completed } } ; -12 }, interpretation: select the rows whose year record fuzzily matches to 1967 . take the laps completed record of this row . select the rows whose year record fuzzily matches to 1964 . take the laps completed record of this row . the second record is 12 larger than the first record . Student:
yes
Instructions: 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. Input: muéstreme restaurantes "greek". Output:
show me " greek " restaurants .
Given the task definition, example input & output, solve the new input case. 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. Example: 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.' Output: No In this utterance, the participant does not use self-need since they do not talk about any need for themselves. New input case for you: Context: 'I need 2 woods first ' 'That is fine since there are 3 wood and I want 1. ' 'Then it is good deal. I need two wood, 1 food, and 1 water.' Utterance: 'I really need all the food, I have a lot of people to feed' Output:
No
Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Input: পশ্চিম বংগের লোকেরা খুবই খারাপ। সারা ভারতের লোকেরা এদের ঘৃণার চোখে দেখে। পশ্চিম বংগের অধিকাংশ হিন্দুদের আদিবাড়ি বাংলাদেশে। এর মহান মুক্তিযুদ্ধের সময় পাকিস্তানিদের ঝাটার বারি খেয়ে এরা এদেশ থেকে ভেগেছে। ভারতের অন্যান্য রাজ্যের লোকেরা এদেরকে ছোটলোক বলে গালি দেয়। Output:
non-religious
You will be given a definition of a task first, then some input of the task. In this task you will be given a string 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'. fiveonesixthreezero Output:
51630
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Q: constrict A:
squeeze
Q: 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. South Korea A:
Eastern Asia
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Q: treat A: give **** Q: ram A: device **** Q: encore A:
request ****
TASK 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. PROBLEM: password = NC!eqihlXe3NFytPaHVxFHru0 SOLUTION: 5 PROBLEM: password = CjxGhwVVQ SOLUTION: 1 PROBLEM: password = TWkp2P!nFbe34ZefFUtx SOLUTION:
0
Given the task definition, example input & output, solve the new input case. 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?" Example: Fact: pesticides can harm animals. Output: What can harm animals? It's a good question because it is formed by simply replacing the word "pesticides" with "what". New input case for you: Fact: a flower 's purpose is to produce for propagation. Output:
a what has the purpose to produce for propagation?
Given the task definition and input, reply with output. In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. [179, 994, 2186, 4428, 6, 81, 3]
[128, 1024, 2048, 4096, 8, 64, 4]
Detailed Instructions: 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. Q: password = i7UptNjo9Yo42Qafe.U!3KpEscGEy!t5XTuNcYHWBS8K8KA A:
27
Q: 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. The pilot lines up the plane with the Hudson River. A:
Pilot je izravnao avion s rijekom Hudson.
Detailed Instructions: 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' . Problem:मी माझे सामान पॅक केले. मी माझ्या अपार्टमेंटच्या बाहेर जात होतो. Solution:
cause
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. One example: [-11, 2, 3] Solution is here: -11 Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example. Now, solve this: [-86.268 88.684 35.455] Solution:
88.684
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. [EX Q]: Sentence: Domestic violence survivors in Jackson, Vicksburg, Hattiesburg, Oxford and Pascagoula can all get help. Question: When did the aid begin? Category: Absolute Timepoint. [EX A]: Yes. [EX Q]: Sentence: Nibras and Quso delivered money to Khallad in Bangkok during Khallad's January 2000 trip to Kuala Lumpur and Bangkok. Question: Did Khallad's trip eventually come to an end? Category: Transient v. Stationary. [EX A]: No. [EX Q]: Sentence: I suppose he was attracted to the commotion up the hill."". Question: What did he do after he was attracted? Category: Event Ordering. [EX A]:
Yes.
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you will be given a 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'. twotwoonesixzeronine Solution: 221609 Why? The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. New input: fivefiveeightfourthreeninefivefourtwotwo Solution:
5584395422
Detailed Instructions: 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. See one example below: Problem: What college did this president attend? Where did this president meet his wife? Solution: Did this president meet his wife in college? Explanation: This is a good question. By combining "meet wife" and "college" we get to a new question. Problem: What are the typical coat colors of this dog breed? What types of coats for this dog breed are disqualified from competitions? Solution:
What are the typical coat colors for this dog breed and what types of coat get them disqualified from competition?
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Input: Consider Input: Sentence: Elizabeth moved her company from Sparta to Troy to save money on taxes; the taxes are much higher there. Question: Where are the taxes higher? Output: Sparta Input: Consider Input: Sentence: Dan had to stop Bill from toying with the injured bird. He is very cruel. Question: Who is cruel? Output: Bill Input: Consider Input: Sentence: As Ollie carried Tommy up the long winding steps, his legs ached. Question: Whose legs ached?
Output: Ollie
Detailed Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. See one example below: Problem: crystal Solution: rock Explanation: A crystal is a type of rock, so rock is a valid hypernym output. Problem: tallow Solution:
glue
Q: 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. Pitcairn A:
Polynesia
instruction: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" question: particular answer: jeweler question: king answer: sing question: six answer:
mix
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: degrees Celsius falls from lower to higher altitudes. Solution:
what falls from lower to higher altitudes?
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Problem:They are ghost cookies. So, obviously they are just left over from Halloween. Solution:
It's like I'm eating the ghost of a cookie because the flavor's gone to heaven.
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?" -------- Question: Fact: Ejaculation occurs when muscle contractions propel male gametes. Answer: What occurs when muscles contract and propel male gametes? Question: Fact: sponges have flagellum. Answer: What has a flagellum? Question: Fact: Most chemical messengers in the body are regulated by feedback mechanisms. Answer:
What are regulated by feedback mechanisms in the body?
instruction: 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?" question: Fact: Hot temperatures have a negative impact on bacteria. answer: What hurts bacteria? question: Fact: Viruses contain Deoxyribonucleicacid but not much else. answer: What do viruses contain? question: Fact: Pigment is another polygenic trait. answer:
What is another example of a polygenic trait?
Teacher: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. Teacher: Now, understand the problem? Solve this instance: I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN 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 Student:
jump right thrice after run around left twice
Definition: 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. Input: [2, 4, 5, 5, 1, 7] , [4, 4, 4, 1, 4, 2] Output:
[1, 2, 4]
Given the task definition, example input & output, solve the new input case. 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. Example: Query: SELECT DISTINCT ?x0 WHERE { ?x0 a ns:people.person . ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 . ?x1 ns:people.person.gender ns:m.05zppz . ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 . FILTER ( ?x0 != ?x1 ) . FILTER ( ?x1 != M2 ) } Question: Who did M2 's male spouse marry Output: 1 Query correctly extracts data for male spouse of M2 New input case for you: Query: SELECT DISTINCT ?x0 WHERE { ?x0 ns:film.film.directed_by ?x1 . ?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 . ?x0 ns:film.film.written_by ?x1 . ?x1 a ns:film.writer . ?x1 ns:influence.influence_node.influenced_by M1 } Question: What did a screenwriter influenced by M1 direct , produce , and write Output:
1
You will be given a definition of a task first, then some input of the task. In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. بی نظیر بود. زحمت و تفکر کارگردانی در لحظه لحظه فیلم قابل مشاهده و تجربه بود. فیلم اغلب مولفه‏ های یک اثر هنری بین المللی و موفقیت در جشنواره های جهانی رو داشت. Output:
کارگردانی
Instructions: 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. Input: Command: and { only { filter_eq { all_rows ; status ; alive after exiting the cube } } ; eq { hop { filter_eq { all_rows ; status ; alive after exiting the cube } ; name } ; kazan } }, interpretation: select the rows whose status record fuzzily matches to alive after exiting the cube . there is only one such row in the table . the name record of this unqiue row is kazan . Output:
yes
Detailed Instructions: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. Problem:original sentence: I can't cut that tree down with that axe ; it is too small . paraphrase: I couldn't cut that tree down with that axe ; it was too small . Solution:
Tense
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Q: THEM: hi, i'd like to have the ball and book if i may YOU: hi, i really can`t work with that. need the ball and 2 hats. THEM: i'll give you the hats and book, package deal. but i need the ball. YOU: i want the ball and you can have the rest THEM: i can't make a deal without getting the ball unfortunately YOU: i can`t give you the ball, if i can have the ball and you take the rest would be fine THEM: yeah that just won't work out. i can't make a deal without getting the ball. might have to call no deal on this one. YOU: how do we call it no deal? THEM: we have to type some more lines until enough and it'll let us select no deal YOU: ok. A:
No
In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0. jHmKRGWIkxthGHoslYIyGcl, s
1
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value. Input: [85.01 2.201] Output:
85.01
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 [168.192, -17.097, 71.367, 210.656, 116.523, -22.444, -82.267, 212.682] Answer:
[ 0.256 -0.026 0.109 0.32 0.177 -0.034 -0.125 0.323]
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. Given a 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_JUMP Solution: jump left Why? If the agent turned to the left and jumped, then the agent jumped to the left. New input: I_TURN_RIGHT I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_JUMP I_TURN_LEFT I_TURN_LEFT I_RUN Solution:
run opposite left after jump opposite right twice
Detailed Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. See one example below: Problem: I_TURN_LEFT I_JUMP Solution: jump left Explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Problem: I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP Solution:
turn around left twice and jump left twice
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Q: You mean the genders of dogs are all male, or do you mean they're actually people? A:
It shall remain unclear. Figure it out for yourself.
Given the task definition, example input & output, solve the new input case. 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. Example: [1, 2, 3] Output: [0.167, 0.333, 0.500] 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. New input case for you: [193.9, -70.044, -16.358, 201.042, 187.63, -80.724, -22.14, -41.81, 60.222] Output:
[ 0.471 -0.17 -0.04 0.488 0.456 -0.196 -0.054 -0.102 0.146]
Q: 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'. fourthreefiveoneeightfourfourzerofiveseventhreetwo A:
435184405732
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. busca un " burger king ". search for " burger king " . ¿puedes mostrarme las calificaciones de " j dog "? can you show me the ratings for " j dog " ? ¿para qué restaurante escribe reseñas " jeff weisnear "?
what restaurant does " jeff weisnear " review for ?
Instructions: 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). Input: Entity 1: propeller Entity 2: base pair Output:
no
You will be given a definition of a task first, then some input of the task. 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. I 've been doing EMDR around this . Output:
no
instruction: 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...'. question: Thank you for reminding me that I'm no longer married to Seal. answer: It's easy to forget. I mean, you guys live in a mansion, so who knows who's in there at any given moment. question: I thought you would develop the photos and maybe even take doubles, which makes sense because then I get my pictures, which is what I'm here to pay for. answer: Right, well as it's laid out in the contract and the contest rules, we're to keep all for the next 20 years. question: I know another guy that teaches a workshop called "Strong and Wrong". I'd like to try that one. answer:
That is weird. It doesn't really sound promising, at all.
Definition: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red. Input: carp Output:
food