prompt
stringlengths 114
7.32k
| response
stringlengths 1
523
|
---|---|
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
One example: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
Solution is here: Advertising
Explanation: The given policy text states that it uses user information for 'advertising' explicitly
Now, solve this: The site collects your IP address or device IDs for analytics or research. Collection happens in an unspecified way, and your data is aggregated or anonymized.
Solution: | Analytics/Research |
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.
Let me give you an 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
The answer to this example can be: Invalid
Here is why: It is not an argument on the topic of death penalty.
OK. solve this:
The deterrent of the death penalty cannot be directed at the executed, but does put fear in the minds of other potential capital criminals.
Answer: | Valid |
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.
Ex Input:
x = 5, equation weights = [5, 7, 9]
Ex Output:
169
Ex Input:
x = 8, equation weights = [2, 9, 1]
Ex Output:
201
Ex Input:
x = 5, equation weights = [7, 4, 5]
Ex Output:
| 200
|
Detailed Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
See one example below:
Problem: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Solution: religious
Explanation: Here it expresses hate against the religion, hence tagged as religious.
Problem: লোক মুখে শুনতাম, ভিখারি ধনি হলে, অভ্যাসটা ভিখারির মতোই থেকে যায় রানু দি তার বাস্তব উদাহরন
Solution: | non-religious |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Input: [-47.514 -34.898 95.445 15.262 99.949]
Output: | 99.949 |
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.
Input: dtgddttgtggddt
Output: | tgt |
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.
Ex Input:
Sentence: Cards , wrapping paper , paper , and an area to sit down and talk with someone to {{ design }} your own invitations or for whatever else your custom printing needs may be .
Word: design
Ex Output:
VB
Ex Input:
Sentence: The Pioneers was an organization started at the end of the 19th century which pushed and supported the ideal of temperance ( abstaining from alcohol ) , in an attempt to deal with the massive issue of alcoholism {{ that }} Ireland was gripped by .
Word: that
Ex Output:
WDT
Ex Input:
Sentence: The person who best explains this , and helps me out the {{ best }} with my question will be REWARDED WITH TEN POINTS !!!!!!!
Word: best
Ex Output:
| RBS
|
Given the task definition and input, reply with output. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site does not collect an information type outside of our label scheme for service operations or security. Collection happens by some means outside of our label scheme.
| Service Operation and Security |
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.
Let me give you an example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
The answer to this example can be: adverse drug event
Here is why: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
OK. solve this:
Arterial hypertension associated with topical ocular use of phenylephrine in dogs.
Answer: | adverse drug event |
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.
[EX Q]: What are the ages of all music artists?
[EX A]: SELECT Age FROM artist
[EX Q]: What are the clean and jerk score of the body builder with the highest total score?
[EX A]: SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1
[EX Q]: What are the numbers of all flights that can cover a distance of more than 2000?
[EX A]: | SELECT flno FROM Flight WHERE distance > 2000
|
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: meet
A: | fleet |
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [62.566, 134.446, 117.119, -86.44, -68.56, 114.468, 219.406]
Output: | [ 0.127 0.273 0.238 -0.175 -0.139 0.232 0.445] |
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.
[EX Q]: No cases of renal acidosis, and only one case of nephrogenic diabetes insipidus, has been previously reported as a complication of foscarnet treatment.
[EX A]: adverse drug event
[EX Q]: For 9 years the patient remained totally asymptomatic.
[EX A]: non-adverse drug event
[EX Q]: Because etoposide-induced pulmonary toxicity is an uncommon but serious adverse event, clinicians must be vigilant about the possibility of it, so that the optimal treatment can start as soon as possible.
[EX A]: | adverse drug event
|
Detailed Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Problem:pTaLKPgREhRyUxtuNQDGvcZDxoleWWLajQpfJwCWokkVVyyQFPc, ZBkgiBucbNQDGvcZDxoleWWLajQIb
Solution: | pTaLKPgREhRyUxtuacddegjllnoqqvwwxzpfJwCWokkVVyyQFPc, ZBkgiBucbacddegjllnoqqvwwxzIb |
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: [141.715, -25.385, 177.602, -58.436]
A: | [ 0.602 -0.108 0.754 -0.248] |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you will be given a list of 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.
[1, 2, 3]
Solution: [0.167, 0.333, 0.500]
Why? The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
New input: [45.383, 150.227, -56.703, -23.212, -14.551, 1.527, -89.201, 233.108]
Solution: | [ 0.184 0.609 -0.23 -0.094 -0.059 0.006 -0.362 0.945] |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
One example: [47, 444, 859, 530, 197, 409]
Solution is here: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Now, solve this: [740, 269, 127, 658, 477]
Solution: | [269, 127] |
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: It s not fair if some people have to go without {{ buying }} food because no place will provide suitable food for them .
Word: buying | VBG |
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.
Let me give you an example: Find the id and city of the student address with the highest average monthly rental.
The answer to this example can be: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Here is why: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
OK. solve this:
Which reign is the most common among wrestlers?
Answer: | SELECT Reign FROM wrestler GROUP BY Reign ORDER BY COUNT(*) DESC LIMIT 1 |
Detailed Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Problem:মুসলমানের দেশে ইসলাম নিয়ে বাজে মন্তব্য করলে ও সরকারের কিছু যায় আসে না
Solution: | non-religious |
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [-12.02, 189.336, 50.432, 231.599, 204.287, -88.161]
Output: | [-0.021 0.329 0.088 0.402 0.355 -0.153] |
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 = 10, equation weights = [6, 4, 1, 0]
A: | 6410 |
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.
One example is below.
Q: gocogccocco
A: gocog
Rationale: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Q: iigibbbibgb
A: | ibbbi |
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.
[Q]: [{'first': -73, 'second': -73}, {'first': -37, 'second': 25}, {'first': -64, 'second': 50}, {'first': -33, 'second': 91}, {'first': 93, 'second': 20}, {'first': 54, 'second': 10}, {'first': -95, 'second': -6}, {'first': 29, 'second': 83}]
[A]: [{'first': -95, 'second': -6}, {'first': -73, 'second': -73}, {'first': -64, 'second': 50}, {'first': -37, 'second': 25}, {'first': -33, 'second': 91}, {'first': 29, 'second': 83}, {'first': 54, 'second': 10}, {'first': 93, 'second': 20}]
[Q]: [{'first': -78, 'second': -55}, {'first': -79, 'second': -8}, {'first': -98, 'second': 34}, {'first': -56, 'second': -34}, {'first': 81, 'second': -26}]
[A]: [{'first': -98, 'second': 34}, {'first': -79, 'second': -8}, {'first': -78, 'second': -55}, {'first': -56, 'second': -34}, {'first': 81, 'second': -26}]
[Q]: [{'first': 63, 'second': 37}, {'first': -13, 'second': -73}]
[A]: | [{'first': -13, 'second': -73}, {'first': 63, 'second': 37}]
|
Given the task definition and input, reply with output. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[910, 823, 135, 999, 576, 709, 593, 362, 930, 505, 639, 157]
| [823, 709, 593, 157] |
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.
[EX Q]: Many a law regarding slavery was ethically wrong because the REASONS underlying that law were wrong.
[EX A]: Invalid
[EX Q]: I have to either believe the whole Bible, or not believe it at all.
[EX A]: Invalid
[EX Q]: Yes, the death penalty should be use as a punishment.
[EX A]: | Valid
|
TASK DEFINITION: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
PROBLEM: assertion
SOLUTION: statement
PROBLEM: color
SOLUTION: flag
PROBLEM: bus
SOLUTION: | transport
|
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
One example: [-11, 2, 3]
Solution is here: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Now, solve this: [-12.188 -71.39 -97.892 -35.165]
Solution: | -97.892 |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given a 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.
কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Solution: religious
Why? Here it expresses hate against the religion, hence tagged as religious.
New input: জানেন কি? দ্রৌপদী পূর্ব জন্মে ১৪ গুন সম্পন্ন স্বামীর বর চেয়েছিল মহাদেবের কাছে!!! ১৪ টি গুন একসাথে কোনো মানুষের মধ্যে থাকতে পারে না!!!
Solution: | religious |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: What is all the information regarding employees with salaries above the minimum and under 2500?
A: | SELECT * FROM employees WHERE salary BETWEEN (SELECT MIN(salary) FROM employees) AND 2500 |
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 = [2, 7, 5]
Solution: | 90 |
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: Epiphytes can eventually lead to the production of paper. | Epiphytes can eventually lead to the production of what? |
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Problem:[219.613, 129.831, -35.214, 161.887]
Solution: | [ 0.461 0.273 -0.074 0.34 ] |
Teacher: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Teacher: Now, understand the problem? If you are still confused, see the following example:
The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
Solution: Advertising
Reason: The given policy text states that it uses user information for 'advertising' explicitly
Now, solve this instance: An unspecified third party does receive your unspecified personal information for mergers or acquisitions. You can configure your privacy using a method outside our label scheme.
Student: | Merger/Acquisition |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Why? The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
New input: [{'first': 41, 'second': 92}, {'first': 25, 'second': -49}, {'first': -20, 'second': 93}, {'first': 3, 'second': 72}, {'first': -96, 'second': 80}, {'first': 33, 'second': -92}, {'first': 34, 'second': 16}, {'first': -45, 'second': -48}]
Solution: | [{'first': -96, 'second': 80}, {'first': -45, 'second': -48}, {'first': -20, 'second': 93}, {'first': 3, 'second': 72}, {'first': 25, 'second': -49}, {'first': 33, 'second': -92}, {'first': 34, 'second': 16}, {'first': 41, 'second': 92}] |
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: BHtdTTwLslvOwivLHFyT, rLpslvOwivLVIEyz
Output: | BHtdTTwLillosvvwHFyT, rLpillosvvwVIEyz |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [204, 401, 311, 953, 965, 41, 433, 397, 792, 878, 439, 904, 455, 587]
A: | [401, 311, 953, 41, 433, 397, 439, 587] |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
[Q]: What is the name of the conductor who has worked the greatest number of years?
[A]: SELECT Name FROM conductor ORDER BY Year_of_Work DESC LIMIT 1
[Q]: How many ships ended up being 'Captured'?
[A]: SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'
[Q]: For each branch id, what are the names of the branches that were registered after 2015?
[A]: | SELECT T2.name , count(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T1.register_year > 2015 GROUP BY T2.branch_id
|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[Q]: [709, 863, 944, 653]
[A]: [709, 863, 653]
[Q]: [598, 667, 772, 975]
[A]: []
[Q]: [367, 495, 286, 226, 823, 823, 947, 395, 409, 144, 139, 409, 241, 991, 448, 410, 319, 2, 139, 577]
[A]: | [367, 823, 823, 947, 409, 139, 409, 241, 991, 2, 139, 577]
|
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: ( There initially was an outstanding $ 2 million reward -- under the rewards for justice program , the reward now is up to {{ $ }} 5 million . ) .
Word: $
[A]: $
[Q]: Sentence: He willl eventually come and explore it {{ and }} them you can handle him a little bit .
Word: and
[A]: CC
[Q]: Sentence: My {{ 2004 }} x - type was getting close to 100,000 miles so it was time for an upgrade .
Word: 2004
[A]: | CD
|
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Example Input: Context: 'Well it's important for both of us to get that wood ! ' 'In order to get all food, can you give me additional firewood?' 'How about I do: 2 firewood, 2 food and 1 water?'
Utterance: 'Well, what would it take for you to give up extra wood? '
Example Output: No
Example Input: Context: 'It's in Upstate New York, near a gorgeous lake. I like it because it's secluded and very peaceful. ' 'Sounds good. I'll be doing quite of a bit of cooking over an open fire during my trip.' 'Wow. That sounds great! There's nothing like campfire cooking on a chilly night! I'll doing a lot of that too, but I also want to enjoy swimming as much as I can🙂 '
Utterance: 'understood, I can give you 1 firewood, 2 food, and 2 water to make your trip better.'
Example Output: No
Example Input: Context: 'Thank you. 🙂 Would 1 food and 3 firewood work for you?' 'No problem🙂, i would be fine with 1 water, 1 food,and 3 firewood.' 'That works for me. Glad we could hammer out a deal. 🙂 What are you using all the firewood for?'
Utterance: 'so just to be clear that 1 water 1 food and 2 firewoods, and probably have a bon fire.'
Example Output: | Yes
|
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.
Problem:tttmwttmmwwtm
Solution: | ttt |
Detailed Instructions: 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.
See one example below:
Problem: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Problem: [{'first': -75, 'second': 77}, {'first': -12, 'second': 51}, {'first': 39, 'second': 64}, {'first': 61, 'second': -6}, {'first': -45, 'second': -84}, {'first': -71, 'second': 90}, {'first': -78, 'second': 35}]
Solution: | [{'first': -78, 'second': 35}, {'first': -75, 'second': 77}, {'first': -71, 'second': 90}, {'first': -45, 'second': -84}, {'first': -12, 'second': 51}, {'first': 39, 'second': 64}, {'first': 61, 'second': -6}] |
Given the task definition and input, reply with output. Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your generic personal information for personalization or customization. Collection happens when you implicitly provide information on the website for users with accounts, and your data is identifiable.
| Personalization/Customization |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: Oh, this hole's closed. Hole's jagged. You'll never get a ball in there. It's broken on the side.
A: | Ball won't go in. You'll be frustrated. Your par would go up. |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Example: Fact: pesticides can harm animals.
Example solution: What can harm animals?
Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Problem: Fact: Ecosystems are damaged by sulfur dioxide.
| Solution: What causes damage to forest ecosystems? |
Teacher:Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Teacher: Now, understand the problem? Solve this instance: Under the suspicion of amiodarone-induced acute pancreatitis, amiodarone was substituted by propafenone.
Student: | adverse drug event |
Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Input: You were mentally gone for a long time, man. I was slapping you for like 30 minutes.
Output: | Oh, that's why my face is stinging. |
Detailed Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
See one example below:
Problem: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
Solution: adverse drug event
Explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
Problem: Diagnosis is made primarily by examination of the stool or intestinal secretions for ova and parasites.
Solution: | non-adverse drug event |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Input: Consider Input: Sentence: 18 {{ - }} Percentage of wealth in Britain held by the richest 1e per cent of the population .
Word: -
Output: :
Input: Consider Input: Sentence: If you have questions or issues , {{ please }} let me know .
Word: please
Output: UH
Input: Consider Input: Sentence: Well - {{ when }} you pay over $ 1000 for something you want it to hold up and look good !!!
Word: when
| Output: WRB
|
Definition: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Input: x = 10, equation weights = [7, 2, 4]
Output: | 724 |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Example: Fact: pesticides can harm animals.
Example solution: What can harm animals?
Example explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Problem: Fact: Food can cause infections.
| Solution: What can cause infection? |
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.
Let me give you an example: I_TURN_LEFT I_JUMP
The answer to this example can be: jump left
Here is why: If the agent turned to the left and jumped, then the agent jumped to the left.
OK. solve this:
I_JUMP I_JUMP I_JUMP I_RUN I_RUN
Answer: | jump thrice and run twice |
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: infection can cause connective tissues to swell. | What can cause connective issues to swell? |
Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Input: Nurse, she left a note. Can you read what that note says?
Output: | Oh, it says here "Read this when you know how to read, boy. I won't name you because that would be selfish. And also, I left under my own volition and I won't be coming back. Learn to raise yourself." |
Given the task definition and input, reply with output. The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'What is your least preference?' 'My least preference is water.' 'I prefer water than firewood since we like cold and won't probably need it much'
Utterance: 'Ok, let me then give you 2 packages of firewood and 2 packages of water and you give me 2 packages of food. What about that?'
| No |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
path | hath |
Definition: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Input: [ 68.316 -35.447 -59.905 -72.55 6.878 -77.575 97.25 -38.915 -17.307]
Output: | 97.25 |
Detailed Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Q: postal
A: | mercurial |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Ex Input:
I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_TURN_LEFT I_JUMP
Ex Output:
jump opposite left after run left thrice
Ex Input:
I_TURN_LEFT I_TURN_LEFT I_TURN_RIGHT I_LOOK
Ex Output:
turn left twice and look right
Ex Input:
I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_RUN I_RUN I_RUN
Ex Output:
| run thrice after walk opposite right thrice
|
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your contact information for an unspecified purpose. Collection happens when you explicitly provide information on the website, and your data is identifiable.
A: | Unspecified |
Given the task definition and input, reply with output. In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
Malta
| Republic |
Q: 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.
[-95.979 71.02 -26.888 57.368 24.476 -97.409 -46.713 92.877 -82.789
28.732]
A: | -97.409 |
Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Input: Context: 'Hi there. Hope you too are looking forward to this much needed camping trip. What are your needs in terms of extra packages?' 'Since this is the first time for the family to be camping, having plenty of food for everyone is on the top of my list.'
Utterance: 'I am fine with you having the 3 foods. Is it okay if I have 3 water units We are fasting and need lots of hydration.'
Output: | Yes |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Problem:[229, 733, 631, 226]
Solution: | [229, 733, 631] |
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 = 1, equation weights = [2, 0]
| 2 |
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: if soil is permeable it may cause chemicals to leach. | What may cause chemicals to leach in soil? |
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.
Q: [{'first': 61, 'second': 40}, {'first': -32, 'second': 100}, {'first': 21, 'second': 32}, {'first': 100, 'second': -28}]
A: | [{'first': -32, 'second': 100}, {'first': 21, 'second': 32}, {'first': 61, 'second': 40}, {'first': 100, 'second': -28}] |
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: dumps have a negative impact on the environment. | What generally has a negative impact on the environment? |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[Q]: [-56.486 -84.98 86.535 -5.06 -77.018 84.463 49.544 -1.817 86.456
-85.257]
[A]: 86.535
[Q]: [ 29.261 -57.835 18.839]
[A]: -57.835
[Q]: [ -6.999 15.664 -98.014 77.717 -94.679]
[A]: | -98.014
|
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.
[EX Q]: RTpYEyGXDGp, STNPmYEyGXDokwYB
[EX A]: RTpdegxyyGp, STNPmdegxyyokwYB
[EX Q]: mfNJeACPgv, vRmwJeACiAwN
[EX A]: mfNacejPgv, vRmwacejiAwN
[EX Q]: pCNJTqkMNSabieVliDwkabDcXMKWfORQsFzugo, jhgyMldUyeHLBabieVliDwkabDcXDvRTWyUKqpPeTYC
[EX A]: | pCNJTqkMNSaabbcddeiiklvwxMKWfORQsFzugo, jhgyMldUyeHLBaabbcddeiiklvwxDvRTWyUKqpPeTYC
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Why? The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
New input: [{'first': -66, 'second': -52}, {'first': -88, 'second': 34}, {'first': 8, 'second': -47}, {'first': -30, 'second': 21}, {'first': 86, 'second': 54}]
Solution: | [{'first': -88, 'second': 34}, {'first': -66, 'second': -52}, {'first': -30, 'second': 21}, {'first': 8, 'second': -47}, {'first': 86, 'second': 54}] |
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: azvaavaazv
A: | aavaa |
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_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_WALK
Output: | walk opposite right after run opposite right |
Given the task definition and input, reply with output. 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.
PURPOSE: To describe a case of progressive outer retinal necrosis in a human immunodeficiency virus-negative immunosuppressed patient undergoing treatment for graft-versus-host disease after bone marrow transplantation.
| non-adverse drug event |
instruction:
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
question:
Context: 'What do you propose?' 'I really need food too, but I am willing to deal and let my kids go hungry I guess ☹️ I propose I get one food, 3 firewood and 1 water. ' 'Will you please give me one firewood? I may run out of what i have. Just one.'
Utterance: 'I think I will need all the firewood since you are taking 2 foods. I will need to hunt and cook food from the land meaning I need my fire going all the time.'
answer:
Yes
question:
Context: 'i hope we can come to a compromise 🙂, what is another priority of yours besides the wood?' 'Food is a second priority for me, as I will be metal-detecting as well, & cannot risk fainting from the heat. How about I give you two firewood (I don't think we can "share", haha), you can give me two food packages, and two water packages.' 'okay, I am willing to give up more food to get the firewood, I like your offer🙂'
Utterance: 'I do as well. I'm glad we could come to an agreement! 🙂'
answer:
No
question:
Context: 'Hello, that sounds good. How are you today?' 'I am doing okay but am in need of some supplies. What about you?' 'Same here. My kids are really looking forward to this. What is most important to you?'
Utterance: 'Firewood! I need it to cook my food and also to stay warm. What about you?'
answer:
| Yes
|
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 don't even give a shit about the death penalty, I was just making a point.
Student: | Valid |
Given the task definition and input, reply with output. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
হারামি বাংলাদেশী মুসলিম দের মেরে ফেলা উচিত
| religious |
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: qhhhqhqqhhpq
A: qhhhq
****
Q: cvrcvvcrrcccr
A: rcvvcr
****
Q: hbjbjbhbjhb
A: | hbjbjbh
****
|
Teacher:Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Teacher: Now, understand the problem? Solve this instance: rain
Student: | pain |
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: Were I to argue in front of the Supreme Court (and I confess I have no idea what I'd wear) I would take the position that Life Imprisonment without the possibility of parole is Cruel and Unusual.
Student: | Valid |
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.
Input: Consider Input: How many ships ended up being 'Captured'?
Output: SELECT count(*) FROM ship WHERE disposition_of_ship = 'Captured'
Input: Consider Input: For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees.
Output: SELECT document_id , count(DISTINCT employee_id) FROM Circulation_History GROUP BY document_id
Input: Consider Input: What is the airport name for airport 'AKO'?
| Output: SELECT AirportName FROM AIRPORTS WHERE AirportCode = "AKO"
|
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Ex Input:
[716, 47, 107, 779, 263, 703, 287, 486, 137, 246, 435, 151, 193, 830, 938]
Ex Output:
[47, 107, 263, 137, 151, 193]
Ex Input:
[211, 797]
Ex Output:
[211, 797]
Ex Input:
[618, 863, 724, 855, 173, 59, 617, 575, 451, 131, 766, 823, 71]
Ex Output:
| [863, 173, 59, 617, 131, 823, 71]
|
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Problem:Sentence: I regularly request Kim 's business cards as I am often stopped on the street and asked {{ " }} Who does your hair ... I LOVE it !!! "
Word: "
Solution: | `` |
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 = 4, equation weights = [5, 8, 2]
Example Output: 114
Example Input: x = 10, equation weights = [4, 1, 5]
Example Output: 415
Example Input: x = 3, equation weights = [0, 7, 3]
Example Output: | 24
|
Given the task definition and input, reply with output. 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.
Three days after intravitreal injection of bevacizumab, acute ocular ischemic syndrome occurred.
| adverse drug event |
TASK DEFINITION: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
PROBLEM: An unnamed third party does receive your unspecified personal information for mergers or acquisitions. You can configure your privacy using a method outside our label scheme for the collection or sharing and use of your information.
SOLUTION: Merger/Acquisition
PROBLEM: The site collects your demographic information for personalization or customization. Collection happens when you implicitly provide information in an unspecified way.
SOLUTION: Personalization/Customization
PROBLEM: The site collects your unspecified information for an unspecified purpose. Collection happens when you implicitly provide information on the website. You can configure your privacy with user settings provided by the site.
SOLUTION: | Unspecified
|
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: All patients except two had new recurrences within the observation time.
| Solution: non-adverse drug event |
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your user profile for an unspecified purpose. Collection happens when you implicitly provide information by a named service or third party for users with accounts, and your data is identifiable.
A: | Unspecified |
Detailed Instructions: 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.
Q: ICBM, but I think the additional cost is concentrated in the first trial.
A: | Valid |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
--------
Question: Sentence: 2 ) All M 16's are either automatic or {{ semi }} automatic .
Word: semi
Answer: AFX
Question: Sentence: And the Tigers look as if they are on the brink of launching another offensive , {{ " }} Muni told IPS .
Word: "
Answer: ''
Question: Sentence: Like the tens of billions of dollars that have {{ been }} " lost " in Iraq , planeloads of arms do n't just " vanish " ; not when the Pentagon contracts the work to an international criminal of Bout 's untouchable stature .
Word: been
Answer: | VBN
|
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.
Let me give you an example: bYubMFxyTqR, AcDbMFxSnI
The answer to this example can be: bYubfmxyTqR, AcDbfmxSnI
Here is why: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
OK. solve this:
MHquvjIVqNTNE, titjIVqNZlj
Answer: | MHquvijnqvTNE, titijnqvZlj |
Q: 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: Water erodes rocks as they flow over, creating a valley.
A: | What is created when rocks erode? |
TASK DEFINITION: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
PROBLEM: The site collects your unspecified information for an unspecified purpose. Collection happens when you implicitly provide information by some means outside of our label scheme, and your data is aggregated or anonymized. You can opt in for data collection for the collection of your information.
SOLUTION: Unspecified
PROBLEM: An unspecified third party does receive unspecified information about you for analytics or research. The data is aggregated or anonymized.
SOLUTION: Analytics/Research
PROBLEM: A user type outside of our label scheme can opt out (by contacting the company) from the use of generic personal information by a third party, which collects or receives it for marketing purposes.
SOLUTION: | Marketing
|
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: {{ Andre }} is going to look over the list of curves needed for the global assets ( August Board meeting ) one more time before I forward it to you .
Word: Andre
A: | NNP |
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 = 10, equation weights = [2, 3]
Example Output: 23
Example Input: x = 2, equation weights = [9, 1, 6, 7]
Example Output: 95
Example Input: x = 8, equation weights = [2, 5, 4]
Example Output: | 172
|
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.
Input: wszzzswzsswszsz
Output: | wszzzsw |
Definition: 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.
Input: In 2 cats, rebound hyperglycemia was diagnosed on routine serial blood glucose determinations.
Output: | non-adverse drug event |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
One example is below.
Q: Fact: pesticides can harm animals.
A: What can harm animals?
Rationale: It's a good question because it is formed by simply replacing the word "pesticides" with "what".
Q: Fact: avoid winds to keep oxygen from the fire.
A: | How can you keep a fire from getting bigger? |
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.
Example Input: আমাদের উচিৎ আরেক চীন অথবা পাকিস্তান হওয়া এবং ভারতকে ঔষুধ দেওয়া।
Example Output: non-religious
Example Input: সুদখোর তোদের একরাত চুদে ৫ লাখ টাকা দেবে তা তো কমই দেয়.
Example Output: non-religious
Example Input: পাকিস্তানদের মতো আমাদের দেশ থাকত তাইলে হিন্দুদের সাথে ধরষন করতাম
Example Output: | religious
|
Subsets and Splits