prompt
stringlengths
104
13.4k
response
stringlengths
1
1.45k
You will be given a definition of a task first, then some input of the task. In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: greater { hop { filter_eq { all_rows ; province ; santiago de cuba } ; density } ; hop { filter_eq { all_rows ; province ; pinar del río } ; density } }, interpretation: select the rows whose province record fuzzily matches to santiago de cuba . take the density record of this row . select the rows whose province record fuzzily matches to pinar del río . take the density record of this row . the first record is greater than the second record . Output:
yes
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Problem:x = 5, equation weights = [7, 3, 8] Solution:
198
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: Browns Cambridge is a hamburger joint that has an average rating of 3 out of 5 stars and is low priced. A: name[Browns Cambridge], food[Fast food], priceRange[less than £20], customer rating[average] **** Q: Near The Portland Arms is a kid friendly pub that serves English food named The Dumpling Tree. A: name[The Dumpling Tree], eatType[pub], food[English], familyFriendly[yes], near[The Portland Arms] **** Q: Located near The Bakers, The Golden Curry is a Chinese restaurant that is moderately priced. It is not kid friendly. A:
name[The Golden Curry], food[Chinese], priceRange[moderate], familyFriendly[no], near[The Bakers] ****
Given the task definition, example input & output, solve the new input case. This task is to find the number of 'For' loops present in the given cpp program. Example: main() { float a[4]; float k; float c; int i; for(i=0;i<4;i++) { scanf("%f",&a[i]); } scanf("%f",&c); c=2*3.1415926*c/360; k=(a[0]+a[1]+a[2]+a[3])/2; double s,sq; sq=(k-a[0])*(k-a[1])*(k-a[2])*(k-a[3]) - a[0]*a[1]*a[2]*a[3]*(double)cos(c/2)*(double)cos(c/2); if(sq<0) printf("Invalid input"); else { s=sqrt(sq); printf("%.4f",s); } } Output: 1 The number of 'for' loops in the code is given by the number of 'for' string present in the code. Since we can find the exact number of for loops, this is a good example. New input case for you: int sushu(int b) { int flag=1,i; if(b==2) return 1; if(b%2==0) return 0; for(i=2;i<=b/2;i++) { if(b%i==0) { flag=0; break; } } if(flag==0) return 0; else return 1; } int number(int a,int b) { int i,total=1; if(sushu(a)) { total=1; return total; } for(i=b;i<=a;i++) { if(a%i==0&&a/i>=i) { total=total+number(a/i,i); } } return total; } void main() { int n,i,A[100],B[100]; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&A[i]); B[i]=number(A[i],2); } for(i=0;i<n;i++) { printf("%d\n",B[i]); } } Output:
4
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. [Q]: nftnnfnnttf [A]: tnnfnnt [Q]: rjuujrujjjjru [A]: rjuujr [Q]: rnnnnrnprrnrpn [A]:
rnnnnr
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [17, -6, 18, 70, 93] A:
1
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: Consider Input: NEyYftDkqtWUqDWWLzqBFNpwcuWJAG, gmYgvjvPDWWLzqBFNpwcuLdX Output: NEyYftDkqtWUqbcdflnpquwwwzWJAG, gmYgvjvPbcdflnpquwwwzLdX Input: Consider Input: bfkHtmgsBVBVuNvV, TUZjtmgsBVBVoHLCXAPR Output: bfkHbbgmstvvuNvV, TUZjbbgmstvvoHLCXAPR Input: Consider Input: BGfeISVUdmcaErQpMevUDQodgfLJTIODYyskLMN, rbBAQpMevUDQodgfLJIlyxllqghyA
Output: BGfeISVUdmcaErddefgjlmopqquvTIODYyskLMN, rbBAddefgjlmopqquvIlyxllqghyA
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. Example input: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Example output: yes Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Q: Maybe try out the first week or two of all the courses to see if you enjoy them and drop one or two that you do n't think you 'll enjoy . A:
yes
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Example input: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. Example output: You know what, come tell us at the community pool. Example explanation: This is a good response. Because it accepts in indirect way the input sentence and supports it. Q: All right Todd, go ahead and sing your funeral song. A:
You better do it good, or we're going to kill you.
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Q: Sentence: Attitude of staff very {{ bad }} . Word: bad A:
JJ
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1. Q: What are the names of departments that have at least one employee. A: SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id **** Q: What are the first and last names of the top 10 longest-serving employees? A: SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10 **** Q: How many United Airlines flights go to City 'Aberdeen'? A:
SELECT count(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = "Aberdeen" AND T3.Airline = "United Airlines" ****
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: Development of an extensive skin rash following a single dose of MTX may be an early warning sign for life-threatening bone marrow aplasia.
Solution: adverse drug event
Teacher:Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Teacher: Now, understand the problem? Solve this instance: rounded Student:
angular
Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.apps.authenticator2. Answer: Great Great. thanks [Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package mohammad.adib.roundr. **** [A]: Recent apps screen Great app but I would like a way to disable the rounded corners in the """"""""""""""""recent apps"""""""""""""""" screen."" input: Please answer the following: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android. ++++++++++ output: Has most songs not all Rate 3 and a half Please answer this: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++ Answer: I can't update youtupe without it Problem: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A: Horrible permission For gods sake i cannot watch youtube because i need to update this first. There are 6 apps i cannot access;YouTube Skype Gallery Geromatery Dash Elf Yourself and Pokemon Go! Yes i try to update it it refuses and my phone shuts itself down! PLEASE NOTE THAT THIS IS NOT RESPONSIBLE OF YOU. PLEASE NOTE THAT THIS IS A THING THAT NEEDS TO BE FIXED. SOON LIKE THIS YEAR MAYBE?!?!?!?!? input: Please answer the following: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger. ++++++++++ output:
Nice
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. [Q]: kyokoooyyoyy [A]: yyoyy [Q]: tztzxzxtzxtzzt [A]: tzzt [Q]: xjxxxjxjxxjx [A]:
xjxxxjx
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer [Q]: 8158 @ 1325 @ 395 # 4068 @ 4226 @ 7713 @ 8368 # 3297 [A]: 22820 [Q]: 9273 # 8850 @ 3050 [A]: 3473 [Q]: 8865 # 4288 # 3326 @ 3965 # 8670 [A]:
-3454
Detailed Instructions: 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. Q: Nicaragua A:
Central America
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Q: 2588 @ 7474 @ 7336 @ 2767 # 1155 # 3435 # 6693 A:
8882
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. Example Input: Sentence: Executive Order : Amendments to Executive Orders 11030 , 13279 , 13339 , 13381 , and 13389 , and *** Revocation {{ *** }} of Executive Order 13011 .... Word: *** Example Output: NFP Example Input: Sentence: He willl eventually come and explore it {{ and }} them you can handle him a little bit . Word: and Example Output: CC Example Input: Sentence: Times are {{ hard }} , I know , but they had no compassion . Word: hard Example Output:
JJ
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. Q: cllcullccclc A:
lcccl
Given the task definition and input, reply with output. 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 = 3, equation weights = [8, 6]
30
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated. Set1: '{8, 12, 6}', Set2: '{5, 12, 14, 15, 16, 18, 20}'. How many elements are there in the union of Set1 and Set2 ?
9
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: nineninethreefournineoneonetwoeighteight Solution:
9934911288
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: gFtticTuhFnqnZgYbUcVsWWafydOaYOnEVnFO, qlYEgGTuhFnqnZgYbUcVsWWafyRLZC Output:
gFtticabcffghnnqstuuvwwyyzdOaYOnEVnFO, qlYEgGabcffghnnqstuuvwwyyzRLZC
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" Fact: Plants require cell hydration for survival.
Plants require what for survival?
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'. Q: eightfoursevensixthreethreefivesevenfive A:
847633575
Given the task definition and input, reply with output. Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. News Headline: Rex Tillerson Scrambles To Walk Back {Donald Trump} 's North Korea Threats Edit: dad
Not Funny
You will be given a definition of a task first, then some input of the task. In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Sehr gut und...traurig . Willie Nelson, der ursprünglichste Chaot der Country-Musik wirkt auf dieser CD traurig, manchmal müde, resignierend und doch überzeugend gut. Ich kann dieses Werk nur echten Willie Fans empfehlen, für Einsteiger ist es denkbar ungeeignet. Als Fan jedoch gefällt mir der nachdenkliche Willie sehr gut. Wahrscheinlich kommt jeder Star nach 20, 30 oder mehr Jahren im Geschäft an den Punkt wo er sooooo tief wird und diese Gedanken auch musikalisch mitteilt. Prima! Zurücklehnen, entspannen und einfach wirkenlassen. Diese CD wird ihrem Titel äußerst gerecht. Output:
POS
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. Input: Good album . Highland is a very good "band", and has a good music. I've got all the albums from Highland! Output:
POS
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. [EX Q]: Zum Einschlafen! . Stefan Raab hat's mal wieder geschafft: Aus einem blassen Abiturienten mit Rollkragenpulli macht er einen Popstar. Hut ab! Dass die Stimme von Mäxchen sich anhört wie Michael Bolton mit Halsentzündung, der Song klingt wie ein Stevie Wonder Imitat für Arme und der Text mit den Englisch-Kenntnissen eines Grundschülers verfasst werden könnte, scheint im allgemeinen Hype untergegangen sein.Klingt wie schon tausendmal im Formatradio gehört. Für das mit Sicherheit(jeden Cent abkassieren!)schnellstmöglich zusammengeschluderte Album ahnt man Übles,kann der Knallcharge doch weder komponieren oder ein Instrument spielen. Bleibt zu hoffen, dass mit diesem Abgesang endlich Schluss ist mit gecasteten Milchbubis und bald mal wirkliche neue Talente für die deutsche Musiklandschaft entdecken werden [EX A]: NEG [EX Q]: Zuviel des Guten: "Masterplan" kommt in neuem Gewand auf den Markt . Stefanie Heinzmann ist sympathisch, sie kann singen und hat ihren eigenen Stil. Aus der ganzen Masse von Popstars sticht sie auf jeden Fall heraus. Der Beginn ihrer Karriere war schlichtweg blendend und vielversprechend. "Masterplan" war zwar kein reines Pop-Album, klang aber sehr abwechslungsreich und peppig für ein Debüt. Stefanie Heinzmann versuchte sich in mehreren Musikbereichen und überzeugte fast über das gesamte Album hindurch. "My man is a mean man" war ein großer Hit und ein absoluter Ohrwurm! So weit so gut, doch dann ging es bergab. "Like a bullet", die zweite Single, war zwar irgendwie radiotauglich, blieb aber nicht im Ohr. "Masterplan" hatte viel mehr zu bieten als diese laue Pop/Rock Nummer. "Revolution" als dritte Single zu nehmen war für mich ein schlechter Scherz. Ich mochte alle Songs auf "Masterplan", aber "Like a bullet" fand ich nur mittelprächtig und "Revolution" als einzigstes Lied schlecht - und der Song wurde zur Single gemacht und floppte wie die Vorgänger-Single. Was war nur los? Warum drehten die Produzenten Videos für laue Popsongs statt die Songs zu veröffentlichten von "Masterplan", die wirklich gut waren wie "Only so much oil.." oder "Free love". Wer dachte, es kann nicht mehr schlimmer kommen, der schaue sich dies an: "Masterplan" kommt jetzt nochmal auf den Markt. Enthalten ist u.a als Bonus die vierte Single "The Unforgiven", ein Song, der auf der Original-Version von "Masterplan" noch nicht drauf war. Es ist ein Cover von Metallica und wer hätte gedacht, das ein völlig neu aufgenommener Song noch schlechter werden würde als "Revolution"? Wollen die Produzenten einen Rekord aufstellen? Welche Künstlerin veröffentlicht die meisten schlechten Songs? Das Problem ist schlichtweg, dass sie Talent hat und sehr gut singt. Manche Songs von "Masterplan" sind echte Perlen und die wurden einfach nicht genutzt. Das Bonusmaterial auf der neuen "Masterplan" Limited Edition ist ein schlechter Scherz. Neben "The Unforgiven" sind noch die 4 Videos zu den 4 Singles drauf und ein kurzes Video. Musikalisch hat sie einen Remix von "Like a bullet" draufgepackt (wer braucht sowas?) und die Songs "I wrote the book" &amp; "Supersticion", die beide auf der Maxi-CD von "Like a bullet" enthalten waren. Hat jeder Fan schon, braucht auch keiner, da beide Songs unglaublich schlecht sind. Ich bete für Stefanie, das ihr 2009 erscheinenes zweites Album wieder so gute Songs enthält wie "Masterplan" und man diesmal die Songs zu Singles macht, die Pepp und Ohrwurmeffekt besitzen. Bitte keine "Like a bullet", "Revolution" oder "The Unforgiven" Songs mehr, das ist alles Grütze.. [EX A]: NEG [EX Q]: Absoluter Tiefflug . warnung! kauft dieses album bloß nicht, wenn ihr auf richtigen hip hop steht. richtig ist, das 1. album war an die spitze zu setzen weil es absolut gut war. falsch ist, dieses album als gut zu bewerten. sorry, aber dies ist mit abstand das schlechteste album was ich jemals gehört habe. lakmann kann man hier total vergessen weil er nur noch popelige reime bringt und flipstar hört sich an, als hätte er die letzten jahre im tiefsten ghetto verbracht. oberpeinlich, jetzt auf einmal voll auf pimp zu machen. und die beats sind auch nichts herausragendes, einfach nur der zeit angepasst. schade, ich hatte mich echt auf dieses album gefreut, gerade bei dem coolen albumtitel...aber es steckt leider gar nichts dahinter. [EX A]:
NEG
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 = jXFBplM4Xlatktk79lRKCKjFVy2KNMAw0x A:
14
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. [EX Q]: password = Vwc7ggLGWmWzGPa.xQXnzzo2pP [EX A]: 6 [EX Q]: password = h.8sHwECuEe4Jbv0iwFfEA3K2VEIyZpGWQ8YQZ4bPftG [EX A]: 24 [EX Q]: password = QayXo!hUJnurQ!HF!G.m6!liMAJ9.s2gC [EX A]:
13
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: most_eq { all_rows ; label ; parlophone }, interpretation: for the label records of all rows , most of them fuzzily match to parlophone .
yes
Part 1. Definition In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Part 2. Example Aromi is an English restaurant in the city centre. Answer: name[Aromi], eatType[restaurant], food[English], area[city centre] Explanation: The output correctly parses all the parseable attributes in the input, no more, no less. Part 3. Exercise Near the Yippee Noodle Bar is Strada. It has a average customer rating for being a French pub Answer:
name[Strada], eatType[pub], food[French], customer rating[average], near[Yippee Noodle Bar]
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Q: x = 8, equation weights = [6, 8, 4, 7] A:
3623
Teacher: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. Teacher: Now, understand the problem? Solve this instance: I think the death penalty should only be used when there is undeniable proof against the suspect. Student:
Valid
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 = ZP9hxV4Z!wgEdq4IDD3Gn0jnFCYOR65l!iDcAYpsVLSx1s A:
26
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins Example solution: Not Funny Example explanation: The edited sentence is not making much sense, therefore it's not funny. Problem: News Headline: California man celebrating his anniversary killed in Barcelona terror {attack} Edit: hug
Solution: Not Funny
Please answer this: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.achep.acdisplay. ++++++++ Answer: Notification icons multiply after screen on/off Please disable back home recent butons Problem: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp. A: You need more apps in ppsspp?download 4share! Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ++++++++++++++++++++++++++++++++ The answer is: I love this app I love this app input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.??? output answer: The Great Apps Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger. ---- Answer: Speed and security Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger. A:
Awesome
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...'. Ex Input: Don't you feel better for telling us the truth, son? Ex Output: Yeah, this is an amazing feeling. I'm glad I got it off my chest. Ex Input: I want to make another wish. Ex Output: OK, because I forgot what the first ones were. Ex Input: Here's what I say: may only the guy who didn't get a pointed axe to the skull be still standing! Ex Output:
May flights of angels sing thee to thy rest! The readiness is all!
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 = 2, equation weights = [8, 3, 2, 7, 6]
180
You will be given a definition of a task first, then some input of the task. In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. uLSGlkwIV, qNBGlkuMK Output:
uLSgklwIV, qNBgkluMK
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'. Input: Consider Input: ninezeroeightfourtwo Output: 90842 Input: Consider Input: onefivesixsevenfourfourfourseven Output: 15674447 Input: Consider Input: onesixzerooneninethreetwotwoonezeronine
Output: 16019322109
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. -------- Question: Command: less { hop { filter_eq { all_rows ; opponent ; mississippi state } ; date } ; hop { filter_eq { all_rows ; opponent ; vanderbilt } ; date } }, interpretation: select the rows whose opponent record fuzzily matches to mississippi state . take the date record of this row . select the rows whose opponent record fuzzily matches to vanderbilt . take the date record of this row . the first record is less than the second record . Answer: yes Question: Command: and { only { filter_less { filter_eq { all_rows ; hometown ; santiago de los caballeros } ; age ; 19 } } ; eq { hop { filter_less { filter_eq { all_rows ; hometown ; santiago de los caballeros } ; age ; 19 } ; contestant } ; valerie chardonnens vargas } }, interpretation: select the rows whose member countries record fuzzily matches to malta . take the gdp per capita ( us ) record of this row . select the rows whose member countries record fuzzily matches to czech republic . take the gdp per capita ( us ) record of this row . the first record is greater than the second record . Answer: no Question: Command: most_eq { all_rows ; partner ; jürgen melzer }, interpretation: select the row whose face value record of all rows is 4th maximum . the ecosystem record of this row is alpine tundra . Answer:
no
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'. Example: twotwoonesixzeronine Example solution: 221609 Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Problem: twosixtwosevensixseven
Solution: 262767
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. Input: I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK Output:
walk opposite left twice and walk opposite right thrice
Detailed Instructions: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story. Q: Premise: Daniel and his wife got a divorce. Initial Context: His wife made it very hard for him to see his children. Original Ending: He dressed up like a woman and got a job as their new housekeeper. One night, there was a big mistake and Daniel got caught in his lies. His wife took him to court but decided to drop the charges. Counterfactual Context: He got custody of the children. A:
He decided to deny his ex-wife of her rights. One night, there was a big mistake and Daniel got caught in his lies. His wife took him to court but decided to drop the charges.
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. Q: [89.183, -47.035, 55.954, 153.524, 86.59, 81.81, 163.512, -58.601, -15.39] A:
[ 0.175 -0.092 0.11 0.301 0.17 0.161 0.321 -0.115 -0.03 ]
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [-54, -90, 95, -42, -7, -82, -95] A:
5
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Ex Input: Entity 1: poppy Entity 2: flower Ex Output: yes Ex Input: Entity 1: atom Entity 2: chest Ex Output: no Ex Input: Entity 1: aphid Entity 2: call honeydew Ex Output:
yes
input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.torproject.android.??? output answer: It's great input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.wordpress.android.??? output answer: The best! The best blogging app I've ever seen! input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.zegoggles.smssync.??? output answer: Great app It is a very useful application when you need to have evidence from your texts and phone calls ;) input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package de.mangelow.network.??? output answer:
that's really awesome thank you so much maaaaan
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event. Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy. Example solution: adverse drug event Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy. Problem: Two patients with extrinsic asthma and coexistent insulin-dependent diabetes mellitus sustained an anaphylactoid reaction after the intravenous administration of 50% solution of dextrose.
Solution: adverse drug event
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. এই সালা মালাউন খানকির পোলারে সবাই মারো
religious
Teacher:Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Teacher: Now, understand the problem? Solve this instance: polychromatic Student:
monochromatic
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Example input: x = 3, equation weights = [4, 2] Example output: 14 Example explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Q: x = 9, equation weights = [8, 5, 4] A:
697
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. Example: Premise: Susie was sitting on her barstool. Initial Context: She kept kicking the counter with her feet. Original Ending: Suddenly, her kick sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared. Counterfactual Context: She kept herself steady with her feet. Example solution: Suddenly, an earthquake sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared. Example explanation: The generated new ending is perfect. It considers the counterfactual context and changes required parts in original ending. Problem: Premise: Adam went to the store to buy his groceries. Initial Context: He dropped his money in the parking lot. Original Ending: One of the store workers found the money. The worker followed Adam in and returned the money. Adam thanked the worker with a tip. Counterfactual Context: He keep his money in his pocket.
Solution: He picked out his items and gave the money to a store worker. The worker followed Adam out and helped load his car. Adam thanked the worker with a tip.
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). One example: Entity 1: plant Entity 2: leaf Solution is here: yes Explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym. Now, solve this: Entity 1: sprite Entity 2: phytoestrogen Solution:
no
You will be given a definition of a task first, then some input of the task. In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Sint Maarten Output:
.sx
TASK DEFINITION: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No" PROBLEM: late SOLUTION: strait PROBLEM: take SOLUTION: make PROBLEM: shout SOLUTION:
scout
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. -------- Question: [{'first': -35, 'second': 29}, {'first': -39, 'second': 91}, {'first': 11, 'second': 52}, {'first': -61, 'second': -65}, {'first': -51, 'second': 47}, {'first': -22, 'second': -45}] Answer: [{'first': -61, 'second': -65}, {'first': -51, 'second': 47}, {'first': -39, 'second': 91}, {'first': -35, 'second': 29}, {'first': -22, 'second': -45}, {'first': 11, 'second': 52}] Question: [{'first': 49, 'second': 24}, {'first': 79, 'second': 13}, {'first': 70, 'second': 92}, {'first': 25, 'second': 6}, {'first': 98, 'second': -100}] Answer: [{'first': 25, 'second': 6}, {'first': 49, 'second': 24}, {'first': 70, 'second': 92}, {'first': 79, 'second': 13}, {'first': 98, 'second': -100}] Question: [{'first': 5, 'second': 99}, {'first': 78, 'second': 47}, {'first': -84, 'second': -60}, {'first': -38, 'second': -75}, {'first': -16, 'second': -32}, {'first': 51, 'second': -71}] Answer:
[{'first': -84, 'second': -60}, {'first': -38, 'second': -75}, {'first': -16, 'second': -32}, {'first': 5, 'second': 99}, {'first': 51, 'second': -71}, {'first': 78, 'second': 47}]
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. Example: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Example solution: yes Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Problem: If that fails to elicit an urgent and immediate response , it 's time to contact the Attorney General of your State .
Solution: yes
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. Ex Input: original sentence: Jane knocked on Susan's door , but there was no answer . She was out . paraphrase: Susan's door was knocked on by Jane , but there was no answer . She was out . Ex Output: Voice Ex Input: original sentence: Look ! There is a minnow swimming right below that duck ! It had better get away to safety fast ! paraphrase: Look ! There was a minnow swimming right below that duck ! It had better get away to safety fast ! Ex Output: Tense Ex Input: original sentence: Pete envies Martin although he is very successful . paraphrase: Anna envies Emma although she is very successful . Ex Output:
Gender
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Let me give you an example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq Edit: twins The answer to this example can be: Not Funny Here is why: The edited sentence is not making much sense, therefore it's not funny. OK. solve this: News Headline: President Trump 's options on {Syria} likely limited to cruise missile strike , experts say Edit: bingo Answer:
Not Funny
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: Show names of pilots that have more than one record. A:
SELECT T2.Pilot_name , COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_ID = T2.pilot_ID GROUP BY T2.Pilot_name HAVING COUNT(*) > 1
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. One example is below. Q: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. A: yes Rationale: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Q: Command: most_eq { all_rows ; result ; w }, interpretation: select the row whose place record of all rows is minimum . the artist record of this row is krassimir avramov . A:
no
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [8, -32, -35, -97, 37, 67, -41, 87, 4, 3] A: 1 **** Q: [10, -89, -76, -91, -62, -22, 69, -87] A: 2 **** Q: [52, -87, -18, 20, -4, 70, -50, -96] A:
9 ****
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. Sentence: At the same time McCartney was going out with Heather Mills , he used Linda {{ 's }} death for promotional ends , due to his waning popularity . Word: 's
POS
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. One example is below. Q: bYubMFxyTqR, AcDbMFxSnI A: bYubfmxyTqR, AcDbfmxSnI Rationale: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI' Q: asLUIB, HpLUfT A:
asluIB, HplufT
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. [169, 721, 981, 1548, 18, 52, 2, 70, 991, 740, 4019, 6, 74, 3, 110]
[128, 512, 1024, 2048, 16, 64, 2, 64, 1024, 512, 4096, 8, 64, 4, 128]
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence . Solution: Tense Why? The verbs in this example are changed from past tense to present tense. New input: original sentence: When Tommy dropped his ice cream , Timmy giggled , so father gave him a stern look . paraphrase: When Tommy foolishly dropped his ice cream , Timmy raucously giggled , so father immediately gave him a stern look . Solution:
Adverb
Detailed Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. See one example below: Problem: gocogccocco Solution: gocog Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Problem: ymyaaaayymmaaa Solution:
yaaaay
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. Example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence . Example solution: Tense Example explanation: The verbs in this example are changed from past tense to present tense. Problem: original sentence: The table won't fit through the doorway because it is too narrow . paraphrase: The table won't fully fit through the doorway because it is too narrow .
Solution: Adverb
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. Q: [4, 5, 1, 2, 4, 4, 1, 5, 6] A: [2, 6] **** Q: [7, 7, 4, 5, 4, 3, 5, 3, 4, 3] A: [] **** Q: [4, 4, 6, 2, 5, 7] A:
[6, 2, 5, 7] ****
Detailed Instructions: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance. Q: [37, -20, 54, -74, -79, -45, 79, 56, 64] A:
2
Answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package ca.mimic.apphangar. Answer:
Very convenient!
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. One example is below. Q: x = 3, equation weights = [4, 2] A: 14 Rationale: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14. Q: x = 4, equation weights = [3, 1] A:
13
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 = EXspVsa1ODmhxQov36bhYhzssvne5QiFU4pJ A:
16
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. Example Input: [-30.955 26.654 47.397 70.375 -57.963 87.731 20.094 93.73 -78.349 5.317] Example Output: 93.73 Example Input: [-15.612 -77.842] Example Output: -77.842 Example Input: [ 30.945 92.441 -25.102 -34.304 -5.336 0.715 -71.265] Example Output:
92.441
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. One example is below. Q: [16, 205, 171, 2, 9, 317] A: [16, 256, 128, 2, 8, 256] Rationale: 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. Q: [72, 924, 1321] A:
[64, 1024, 1024]
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ---- Answer: lisa yolisa Q: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A: My phone I hete downloading new google play store because its very slow Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Answer: Very Useful [Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. **** [A]: It amazing input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback. ++++++++++ output: Good Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp. ---- Answer:
Worst app
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Example Input: Near Café Rouge is Midsummer House. It is a 5 star English food restaurant. Example Output: name[Midsummer House], food[English], customer rating[5 out of 5], near[Café Rouge] Example Input: Near The Portland Arms is a kid friendly pub that serves English food named The Dumpling Tree. Example Output: name[The Dumpling Tree], eatType[pub], food[English], familyFriendly[yes], near[The Portland Arms] Example Input: A medium priced burger restaurant called Alimentum is a great venue for families. Example Output:
name[Alimentum], food[Fast food], priceRange[moderate], area[riverside], familyFriendly[yes]
Detailed Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Q: THEM: i get book and hat you get balls YOU: deal. A:
Yes
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Q: সরকার কে কি ভাবে তেল মারতে হয় তা সুমনের কাছ থেকে শিখা দরকার নাটক বাজ সুমন A:
non-religious
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. One example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos Solution is here: Invalid Explanation: It is not an argument on the topic of death penalty. Now, solve this: no there shouldn't be a death penalty aren't we essentially playing god we do not have the right to take someone Else's life no matter the crime thats just what i think Solution:
Valid
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. [49, 767, 4280, 4433, 13]
[64, 512, 4096, 4096, 16]
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. Sentence: Meiring 's crimes are fresh , and wave the {{ false }} flag which is the " War on Terror . " Word: false JJ Sentence: click on the " + {{ " }} for " Awaiting Approval " ( OR " Partially Approved " ) Word: " '' Sentence: And {{ perhaps }} someday Kerry will release more of his military records as well . Word: perhaps
RB
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Ex Input: Green Man, Not family-friendly. Price Range: less than £20. Italian Food. Near All Bar One. Area is Riverside. Ex Output: name[Green Man], food[Italian], priceRange[less than £20], area[riverside], familyFriendly[no], near[All Bar One] Ex Input: The Cambridge Blue is a restaurant that provides Chinese food Its customer rating is high. Ex Output: name[The Cambridge Blue], eatType[restaurant], food[Chinese], customer rating[high] Ex Input: Fitzbillies is a fast food restaurant and affordable. Next to The Six Bells. Ex Output:
name[Fitzbillies], food[Fast food], priceRange[moderate], near[The Six Bells]
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. Example: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Example solution: yes Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Problem: Your student services department should have information about counselors nearby if the school does n't have their own counseling office .
Solution: yes
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger. ---- Answer: Neil Delicious app... Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ---- Answer: Good service. Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. ---- Answer:
I hate this aaps
You will be given a definition of a task first, then some input of the task. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. laureled Output:
unlaureled
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: Consider Input: [1, 6, 9, 4, 9, 2, 3, 10, 1] , [2, 1, 5, 7, 3, 3, 7, 10, 3] Output: [1, 2, 3, 10] Input: Consider Input: [2, 5, 2, 6, 5, 8] , [10, 4, 10, 7, 3, 6] Output: [6] Input: Consider Input: [2, 2, 1, 9, 6] , [4, 3, 7, 6, 8]
Output: [6]
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Q: News Headline: Trump pressured {parks} chief for photos to prove ' media lied ' about inauguration crowd Edit: sanitation A:
Not Funny
Given the task definition, example input & output, solve the new input case. 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. Example: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again. Output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju. The translation correctly preserves the characters in Croatian. New input case for you: Now they've been asking a question since 1985: "How strongly do you prefer a first-born son?" Output:
Ovo pitanje im postavljaju od 1985: "Koliko vam je važno da vam je prvo dijete sin?" Pogledajte na prikaz.
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. -------- Question: Go do shit you want ! Answer: yes Question: Find insoles that better suit your feet , which are n't necessarily the ones you got , the wrong insoles can be just as bad . Answer: yes Question: Go outside . Answer:
yes
Q: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. The Wrestlers is a family friendly coffee shop in the low price range serving French food, situated near Raja Indian Cuisine A:
name[The Wrestlers], eatType[coffee shop], food[French], priceRange[less than £20], area[riverside], familyFriendly[yes], near[Raja Indian Cuisine]
This task is to find the number of 'For' loops present in the given cpp program. Ex Input: int f(int a,int min) { if(a < min) { return 0; } int result = 1; for(int i = min;i<a;i++) { if(a % i == 0) { result += f(a/i,i); } } return result; } main() { int n; scanf("%d",&n); int i; int a; int b; for(i=0;i<n;i++) { scanf("%d",&a); int min=2; b=f(a,2); printf("%d",b); printf("\n"); } } Ex Output: 2 Ex Input: int qq(int m){ int i,j; j=0; for(i=2;i*i<=j;i++){ if(m%i==0){ j=1; break; } } return j; } int pp(int m,int j){ int i,k=0; if(m==1) return 1; else { k++; for(i=j;i*i<=m;i++){ if(qq(i)==0&&m%i==0){ k=k+pp(m/i,i); } } } return k; } int main(){ int n,i,p; cin>>n; int aa[n+1]; for(i=1;i<=n;i++){ cin>>p; aa[i]=pp(p,2); } for(i=1;i<=n;i++) cout<<aa[i]<<endl; return 0; } Ex Output: 4 Ex Input: int Divide(int a,int b); int main() { int Times=0; int Num=0; int i=0; int Temp[100]={0}; cin>>Times; for (i=0;i<Times;i++) { cin>>Num; Temp[i]=Divide(Num,Num); } for (i=0;i<Times;i++) {cout<<Temp[i]<<endl;} return 0; } int Divide(int a,int b) { int Sum=0; int i=0; int Flag=0; if (a!=1) { for (i=b;i>1;i--) {if (a%i==0) Sum+=Divide(a/i,i); Flag=1; } } if (Flag==0||a==1) {Sum=1;} return Sum; } Ex Output:
3
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Q: 2763 @ 869 # 8299 A:
-4667
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] Example solution: [0.167, 0.333, 0.500] Example 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. Problem: [-28.534, -47.091, -28.594, 173.732, 238.67, 175.395, 229.017, -54.598, 133.266]
Solution: [-0.036 -0.06 -0.036 0.22 0.302 0.222 0.289 -0.069 0.168]
You will be given a definition of a task first, then some input of the task. The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. I know this run so well, by the back of my hand. Output:
Znam taj put tako dobro, kao svoj dlan.
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring. One example: bYubMFxyTqR, AcDbMFxSnI Solution is here: bYubfmxyTqR, AcDbfmxSnI Explanation: 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: FkBfGkrYYehahwiqkLPuSPAUsZlXGEKJXzaoqQayarR, btVYYehahwiqkLPuSPAUsZgLEZK Solution:
FkBfGkraaehhiklppqssuuwyyzlXGEKJXzaoqQayarR, btVaaehhiklppqssuuwyyzgLEZK