prompt
stringlengths 114
7.32k
| response
stringlengths 1
523
|
---|---|
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Q:
int num;
int dg(int m,int limit);
int main()
{
int n;
cin>>n;
for (int i=1;i<=n;i++)
{
int m; cin>>m;
num=0;
dg(m,2);
cout<<num<<endl;
}
return 0;
}
int dg(int m,int limit)
{
for (int i=limit;i<=m/2;i++)
if (m%i==0) dg(m/i,i);
if (m>=limit) num++;
return 0;
}
A: | 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?"
Q: Fact: Starvation has a negative impact on an orgnaism's health.
A: An organism's health with be negatively impacted by:?
****
Q: Fact: Several plant species pollinate through flooding.
A: Several plant species pollinate through what?
****
Q: Fact: An insect has an exoskeleton.
A: | What type of organism has an exoskeleton?
****
|
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
Input: Consider Input: The site does not collect your generic personal information for a purpose outside of our label scheme. Collection happens by some means outside of our label scheme.
Output: Other
Input: Consider Input: The site collects your website activities for advertising. Collection happens by other websites.
Output: Advertising
Input: Consider Input: An unnamed third party does receive unspecified information about you for an unspecified purpose. The data is personally identifiable. You can opt in for data collection for the use of your information.
| Output: Unspecified
|
Given the task definition and input, reply with output. You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
03:25 Hrs
| 03:25 AM |
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 all locations where a gas station for company with market value greater than 100 is located.
A: SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100
****
Q: Find the names of schools that have more than one donator with donation amount above 8.5.
A: SELECT T2.School_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.amount > 8.5 GROUP BY T1.school_id HAVING count(*) > 1
****
Q: Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff.
A: | SELECT T1.staff_name , T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Sales Person" EXCEPT SELECT T1.staff_name , T1.staff_gender FROM staff AS T1 JOIN Staff_Department_Assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Clerical Staff"
****
|
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 Input:
Because people like you feel the need to lock away non-violent drug users.
Ex Output:
Invalid
Ex Input:
In some courts, you will find families and friends of the victims holding hands tightly, crying, and praying for justice whilst the accused in sentenced.
Ex Output:
Valid
Ex Input:
Because people like you feel the need to lock away non-violent drug users.
Ex Output:
| Invalid
|
instruction:
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.
question:
[967, 195, 783, 773, 347]
answer:
[967, 773, 347]
question:
[434, 518, 366, 227, 664, 281, 565, 223, 701, 379, 811, 5, 166]
answer:
[227, 281, 223, 701, 379, 811, 5]
question:
[567, 656, 176, 195, 159]
answer:
| []
|
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Example input: difficult
Example output: No
Example explanation: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions.
Q: divide
A: | hyde |
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.
Norway | .no |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Q: PDdKcVais, jooTKcVaWpdP
A: | PDdackvis, jooTackvWpdP |
Instructions: 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.
Input: Bosnia and Herzegovina
Output: | Federal Republic |
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 breed with the most dogs?
A: | SELECT T1.breed_name FROM Breeds AS T1 JOIN Dogs AS T2 ON T1.breed_code = T2.breed_code GROUP BY T1.breed_name ORDER BY count(*) DESC LIMIT 1 |
Definition: Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Input: Query: SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:people.person.nationality ns:m.0f8l9c
} Question: Was M3 written by , produced by , and directed by a female American star of M1
Output: | 0 |
Detailed Instructions: In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Problem:What is the average and minimum age of all artists from United States.
Solution: | SELECT avg(age) , min(age) FROM artist WHERE country = 'United States' |
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 = 2, equation weights = [3, 8]
A: | 14 |
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.
[228.711, 65.409, 196.92, -77.355, 201.953, 116.793, -69.059, 234.881]
[ 0.255 0.073 0.219 -0.086 0.225 0.13 -0.077 0.261]
[220.782, -40.434, 66.368, -43.265]
[ 1.085 -0.199 0.326 -0.213]
[52.077, 2.966, 153.474, 83.344, -83.186]
| [ 0.25 0.014 0.735 0.399 -0.399]
|
Detailed Instructions: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: charge
A: | marge |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Example input: Basinger was born in Athens, Georgia, on December 8, 1953
Example output: December 8, 1953
Example explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth.
Q: Selma Blair Beitner was born on June 23, 1972, in Southfield, Michigan, a suburb of Detroit
A: | June 23, 1972 |
Q: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
¿cuáles son los restaurantes con reseñas de " mark "?
A: | what are the restaurants reviewed by " mark " ? |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_RIGHT I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_LOOK
A: look right after jump opposite right
****
Q: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN
A: walk around left and run left thrice
****
Q: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_LEFT I_TURN_LEFT I_LOOK
A: | run opposite right thrice and look opposite left
****
|
Part 1. Definition
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.
Part 2. Example
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Answer: [{'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.
Part 3. Exercise
[{'first': -68, 'second': 21}, {'first': 90, 'second': -47}, {'first': -61, 'second': 22}, {'first': 58, 'second': -29}, {'first': 50, 'second': -78}, {'first': -44, 'second': 30}]
Answer: | [{'first': -68, 'second': 21}, {'first': -61, 'second': 22}, {'first': -44, 'second': 30}, {'first': 50, 'second': -78}, {'first': 58, 'second': -29}, {'first': 90, 'second': -47}] |
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 Q]: I'm Eve's husband, you jerk.
[EX A]: You're Adam? I'm your, I guess, grandson. Many times removed.
[EX Q]: I know, dad. You're my boss though, and I respect that.
[EX A]: Yes. Father first, boss second, mailman third.
[EX Q]: Almonds are a blood nut.
[EX A]: | Please don't say blood nut without consent.
|
Given the task definition and input, reply with output. Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
I still have the same new crappy neighbors. I have noticed they do not hang their flag every day. The church signs are gone since the neighborhood put up the, 'all are welcome in our USA.' signs. And not many on our quiet street stop and talk to them. The kid still practices his asian weapons in the driveway. He's mid twenties, dressed in all black and practicing weapons in his driveway with friends every night is intimidating. This is a generally liberal university town with huge marches since the tRump misAdministration began. Marches against jailing migrant children, removing rights from LGBTIA community, slashing the Affordable Care Act, states virtually illegalizing abortion, climate/environmental policy have all happeneds here. I guess they figured they don't fit in. Figured out many of their religious values of intolerance and judgment are rare in this town. I feel supported by neighbors. They still cost me $600 a month. I can't rent my spare room. No one wants to live by weapons practice. Or can sleep through their A/C running 24/7 when 55 degrees out. It's the same situation.
| retold |
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: [877, 353, 313, 126, 587, 293, 463, 365, 821, 607, 441, 641]
A: | [877, 353, 313, 587, 293, 463, 821, 607, 641] |
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.
Ex Input:
Context: 'I need food and water the most . There are 3 of us.🙂' 'Your most needed item is water or food?' 'Most needed is both food and water. I guess food is my highest priority .🙂'
Utterance: 'Ok perfect, the item I need the most is water because I need to hydrate. What do you think if I give you 2 food and I keep 2 of water. '
Ex Output:
Yes
Ex Input:
Context: 'ohh that's would be really difficult.However we can still sort things out' 'That is great to hear!🙂 How about you take 2 food, 2 water and 0 firewood? What do you think?' 'uhm.how about i have 3 water 2 foods and zero firewood?'
Utterance: 'Are you willing to budge on one water for me? I have 5 people in my group and they really could use one package of water. It is hot out nowadays. '
Ex Output:
No
Ex Input:
Context: 'I can give you 2 units of water, but I need at least 1. ' 'I also need firewood, I have some health issues. I need the wood to keep warm at night, and for cooking fish.' 'I can give you 2 units of firewood, but I need at least 1 as well. '
Utterance: 'How much food do you need?'
Ex Output:
| No
|
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Example: 19:00 Hrs
Example solution: 07:00 PM
Example explanation: For a 24-Hours format time larger than 12:00, we should subtract 12 hours from the given time, then add 'PM'. So, the output is correct.
Problem: 12:11 Hrs
| Solution: 12:11 PM |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Q: তবুও দুজনের মধ্যে বোঝা উচিত ছিল দুজনের সম্পর্ক ভাই বোনের অন্য ছেলে মেয়ে হলে আলাদা কথা ছিল
A: non-religious
****
Q: মোদিকে খারাপ বলোনা হয়তো মোদি ইসলামের ছায়াতলে আসতে পারে আমার ধারনা তাই বর্তমান ভারতের প্রধানমন্ত্রী নরেন্দ্র মোদি সাহেবকে ইসলাম কবুল করে ইসলামের শুশীতল ছায়াতলে এসে সুন্দর জীবন গড়ার আহব্বান করছি।
A: non-religious
****
Q: মোদিকে খারাপ বলোনা হয়তো মোদি ইসলামের ছায়াতলে আসতে পারে আমার ধারনা তাই বর্তমান ভারতের প্রধানমন্ত্রী নরেন্দ্র মোদি সাহেবকে ইসলাম কবুল করে ইসলামের শুশীতল ছায়াতলে এসে সুন্দর জীবন গড়ার আহব্বান করছি।
A: | non-religious
****
|
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:
Yeah, where'd your boobs go anyway?
Ex Output:
They're supposed to be in already. Do you have braces on your boobs too?
Ex Input:
Annette, listen, I'm shipping off. Gotta go fight for freedom.
Ex Output:
Baby, you're so brave. I'm going to miss you.
Ex Input:
Make sure you ask a lot of questions when you're there. Just find out about their lives and everything. If you can, try not to let them ask you too many questions unless you got your backstory, like, good and tight.
Ex Output:
| I was thinking maybe I'm from Alsatian, like on the German-French Border, you know?
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: Wait, the molecules are that long? How long is the actual dust itself, that's visible to the eye.
A: | I don't know feet, I don't know meters. I would say a snake's length. But it's just dust. Not a snake. |
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.
--------
Question: I_TURN_LEFT I_TURN_LEFT I_WALK I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN
Answer: walk opposite left and run left twice
Question: I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_JUMP
Answer: jump opposite right after jump left thrice
Question: I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK
Answer: | walk and walk opposite right twice
|
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 Q]: [971, 627, 518]
[EX A]: [971]
[EX Q]: [869, 67, 58, 853, 699, 197]
[EX A]: [67, 853, 197]
[EX Q]: [197, 61, 980, 59, 359, 166, 907]
[EX A]: | [197, 61, 59, 359, 907]
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a 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.
crystal
Solution: rock
Why? A crystal is a type of rock, so rock is a valid hypernym output.
New input: fighter
Solution: | aircraft |
Definition: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Input: muéstremeuna lista de restaurantes con menos de 3 comentarios.
Output: | show me a list of restaurants with less than 3 reviews . |
Given the task definition and input, reply with output. Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
SENDER A: i am not sure what that is . i am not a very experienced person .
| Bot |
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
One example is below.
Q: 14/25/1405
A: 0
Rationale: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12.
Q: 17/31/1838
A: | 0 |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
[EX Q]: me apetece comida " italian " .
[EX A]: i 'm in the mood for " italian " food .
[EX Q]: dígame cuál es la valoración del "wendy 's".
[EX A]: tell me the rating of " wendy 's " .
[EX Q]: encuentra la dirección para " on the borders mexican grill and cantina " .
[EX A]: | find the address for " on the borders mexican grill and cantina " .
|
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 computer information for an unspecified purpose. Collection happens when you implicitly provide information on the website, and your data is aggregated or anonymized.
Unspecified
The site collects your financial information for an additional (non-basic) service or feature. Collection happens by an unnamed service or third party.
Additional service/feature
Another part of the company or institution does receive unspecified information about you for an unspecified purpose. The identifiability of the data is not covered by our label scheme.
| Unspecified
|
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
[Q]: This vacation was quite an experience! It was the first time that my husband and I had taken our little ones on a long trip. We only went about four hours from home, but it felt like we were a world away! The car ride went more smoothly than I thought it would with a baby in the car. Granted, we did leave in the early hours of the morning, so the kids slept for a little while. We stayed in a community of rental homes in a very nice neighborhood. The house was beautiful and it met all of our needs for the trip. There was also a huge lagoon style pool on the property that we made use of during our stay. The kids had a blast swimming in it. I think the most exciting part of our trip was seeing our little girl (3) at the beach for the first time. She was just in awe of everything. She kept running down to the water and running back across the sand, and her excitement was just infectious. It means a lot to me that we are able to take our kids to do things like this and have fun experiences, because I know a lot of people are not so lucky. We are not rich by any means, but as long as we can give our kids love and a taste of life, I am happy. It filled my heart to see her so enjoying herself. On the whole, it was a great trip full of fun experiences. It was hard to deal with the toddlers, but all of the frustrations were worth it.
[A]: retold
[Q]: The past two months have seemed like a blur, but in the past two weeks, everything seemed to go in slow motion. Leading up to our graduation, every day was jam packed with things to do. We were cramming for exams, touching up final papers, analyzing data for research projects. And that was just for school. We also had to find time to apply for jobs, so many jobs. And of course we couldn’t neglect each other. We went out every weekend. We were finally all 21 and didn’t have to worry about fake ids, so we really took advantage of the full range of bar selections across the city. We felt like we were finally growing up and finally ready to enter the real world. Graduation day two weeks ago was the culmination of all of that. We partied like we never had before, and we finally didn’t have to stress about waking on time the next day battling a hangover to get to class. After that, though, the dorms closed. We all had to leave. I went back to my family’s house for a while, and the whole world seemed to stop. As adult as I felt the past few months, I was whisked back to childhood by my parents, controlling my every move once again. I still didn’t have a job, but felt like I was running out of places to apply. My friends from high school mostly weren’t around, either, so days passed so slowly. I have to admit, I enjoyed it at first, finally free of the deadlines, but without the friends and life I’d built in college, all the fun things I wished I could do with my free time just weren’t around to enjoy anymore. This past week has been so hard. I hardly bothered to leave my room much less the house. But you know what, just when I felt like I needed to resign to this being my life, days of reminiscing for college, I got a call! Last night, I got an interview for a job at my top choice of firms. I’m so excited, and it’s really brought my life back into focus. Shopping tomorrow, interview prepping on Wednesday, and if all goes well, my first real job next month!
[A]: imagined
[Q]: Dear Diary,I've been thinking about the incident a lot. Probably too much. What, me? Overthinking? No way. But this time, I blame my subconscious brain. I had a dream about her last night. We met up and it was... nice. Polite. I mean, I didn't slap her, so already I'd say that's a pleasant dream. I'm kidding, but only sort of. It's actually the first time I dreamed of her in the last four months, since we stopped speaking. I've been rolling the incident around in my head over and over again, trying to think how it could have gone differently. I talked to mom after it happened and she was kind but firm, which sounds about right, eh? Mostly, she said I shouldn't have let the issue get so hot before dealing with it and that's why it exploded. Exploded, ha. That's an understatement. My bae since Kindergarden and now we never talk. It makes me so flipping sad sometimes, even though she was way out of line. Oh, I hear my mother's voice in my head again reminding me that I was out of line too. That's the terrible power of knowing everything about someone else - you have the knowledge and capacity to use that power to hurt them. I was wrong. She was wrong. And we're both so darn prideful. Should I reach out?
[A]: | imagined
|
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right
Example input: [1,2,2,3]
Example output: 1
Example explanation: The array is monotonic as 1 < 2 <= 2 < 3
Q: [143, 135, 127, 119, 111, 103, 95, 87, 79, 71, 63, 55, 47, 39]
A: | 1 |
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]: An unspecified third party does receive unspecified information about you for analytics or research. The data is aggregated or anonymized.
[A]: Analytics/Research
[Q]: The site collects your contact information for marketing purposes. Collection happens when you explicitly provide information on the website. You can choose not to use the service or feature for the collection of your information.
[A]: Marketing
[Q]: The site collects your unspecified information for marketing purposes. Collection happens when you implicitly provide information on the website, and your data is identifiable.
[A]: | Marketing
|
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: '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.'
answer:
No
question:
Context: 'I really need some more food. I only have the basics, and I'm afraid it's not going to be enough. What about yourself?' 'I really need water because I take medication that requires drinking a lot of water. The firewood I dont need to much off and I need very little food as I am dieting. lol 🙂' 'I totally understand that. And it's pretty important, lol '
Utterance: 'It sure is..So how much food do you need for the trip? Do you need firewood to cook the food? Thank you for understanding my issues. 🙂'
answer:
No
question:
Context: 'As I have explained now twice, it is obviously food.' 'k, then 2 is for u 1 for me but i need remaining two as per my priority' 'What does that mean?'
Utterance: 'means water and firewood i need majority then only it will balence'
answer:
| No
|
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Problem:[ 68.179 -50.681 12.834 16.361 3.78 -64.859 89.024 97.816 29.35
-89.4 ]
Solution: | 97.816 |
You will be given a definition of a task first, then some input of the task.
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
gauge
Output: | tool |
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: [47, 941, 711, 937, 152, 825, 61, 818, 179, 670, 593, 821, 895]
Solution: | [47, 941, 937, 61, 179, 593, 821] |
You will be given a definition of a task first, then some input of the task.
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
saxophone
Output: | artifact |
Definition: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Input: Set1: '{8, 11, 5}', Set2: '{12}'. How many elements are there in the union of Set1 and Set2 ?
Output: | 4 |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
muéstrame cualquier restaurante " mexican ". | show me any " mexican " restaurant . |
Detailed Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: vision requires the pupil.
A: | What requires the pupil? |
Given the task definition and input, reply with output. This task is to find the number of 'For' loops present in the given cpp program.
int f(int m,int min);
int main()
{
int n,m,i;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&m);
printf("%d\n",f(m,2));
}
return 0;
}
int f(int m,int min)
{
int count=1,i;
if(m==1)
return 1;
else if(m == 2)
return 1;
else
{
for(i=min;i<=sqrt(m);i++)
{
if(m%i==0)
{
count += f(m/i,i);
}
}
return count;
}
}
| 2 |
Definition: 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: rwqwqwrqrrq
Output: | rwqwqwr |
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: [859, 953, 585, 769, 7, 311, 109, 349, 373, 757, 900, 371, 263, 331, 156, 410]
A: | [859, 953, 769, 7, 311, 109, 349, 373, 757, 263, 331] |
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Problem:
int cal(int M, int N)
{
int i;
int num=0;
if(M==1) return 0;
if(N>=M) return ( 1+cal(M,M-1));
for(i=2;i<M;i++)
{
if(M%i==0&&i<=N) num=num+cal(M/i,i);
}
return num;
}
int main()
{
int n,M;
cin>>n;
while(n--)
{
cin>>M;
cout<<cal(M,M)<<endl;
}
return 0;
}
Solution: | 1 |
Given the task definition, example input & output, solve the new input case.
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: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Output: -LRB-
"(" is the symbol for Left Parantheses (-LRB-).
New input case for you: Sentence: Let 's talk before I {{ leave }} town next Wednesday .
Word: leave
Output: | VBP |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Example input: ¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas?
Example output: are there any " italian " restaurants nearby with 3 star reviews ?
Example explanation: The translation correctly preserves " italian " entity and is accurate
Q: muéstreme restaurantes "greek".
A: | show me " greek " restaurants . |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
[EX Q]: tire
[EX A]: sire
[EX Q]: instrument
[EX A]: tenement
[EX Q]: temperature
[EX A]: | signature
|
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
Ex Input:
Six months ago, my wife began to not feel well. She complained of extreme fatigue, nausea, and felt that she was getting bloated. I suggested she go to the doctor, which she was not a fan of, and this went on for three more days. Finally, one snowy Friday evening, she was getting a ride home from a co-worker and called me. She said she was feeling much worse, including dizziness and abdominal pain. I asked her co-worker (who was also a friend of ours) to drive her to the emergency room and I set out to meet her there. It was snowing so hard that I missed the turn to the hospital, so I it took me a while to get there but I got there right before they called her back. She looked terrible, and I instantly regretted not being more adamant with my suggestion that she see a doctor earlier. They did quite a few tests, and we talked to several different doctors and nurses. Eventually they knew that she was having serious kidney problems, but there was more going on as well. After about seven hours, around midnight, they admitted her and we moved up to a room, where she was the only patient. Another hour after that and a different doctor came to tell us that she had cirrhosis, which is eventually fatal without a transplant. She's not much of a drinker, and they said that it's due to what's called a fatty liver. She took the news in stride, asking what she needed to do moving forward, and I was very proud of her strength. I drove home around 3 that morning to try to get some sleep, moving at a crawl on icy roads, knowing that our lives were going to be much different now. It turns out that both of her grandfathers died of the same thing. She is determined not to go that way, and is now in Denver, staying with her parents, about to finally get on the transplant list. I am still in Albuquerque, holding down the fort - they don't do transplants here (for real) so this is the only way we can try get her healthy again.
Ex Output:
recalled
Ex Input:
I almost killed someone last month. I was on the phone, helping a patient, and also filling prescriptions as fast as I could. The pharmacist in charge (PIC) was picking her nose while telling me to go faster, faster, faster. I felt so angry that she wouldn't even pick up the phone and put someone on hold while us techs were working at such dangerous paces. And then it happened. A customer asked me to count their pills again so they knew they were receiving the right amount. I understood why, we were visibly overworked and understaffed, but was also very irritated at having yet another task added to my plate. I grabbed the vial, dumped it out, and then my blood ran cold. The PIC stopped digging in her nose and looked down at the same time I did--she lead by micromanaging us right down to how many times a day we urinated, and she started whisper yelling at me. There was a very dangerous drug mixed in with the blood pressure pills. How it happened, who initially put the wrong drug in the wrong bottle, who verified it at the final check, it didn't matter. This was not a failure of the multi-step process or the team in her eyes. No, the fault was mine and mine alone. My bladder was strained, my feet hurt, and I could not safely multitask another day. I went home and thought about it, obsessed over it, dreamed about it. I showed up for work the next day and worried over every patient. I worried that the other techs were not able to work safely either, that the other pharmacists were so worried about whether patients were coming in for vaccinations to meet a goal that I was actually going to kill someone next time. I worried that someone was sitting down to take the wrong medicine right that moment and there was nothing I could do. The next day was my day off and I felt dread, crippling dread. And then I woke up at 3 in the morning and realized I didn't have to go in the next day. I didn't have to go back ever again. So without warning, without thought I quit. Just like that. My family is broke but I didn't kill someone that day.
Ex Output:
recalled
Ex Input:
Though I am afraid of water, I will never forget the amazing cruise trip I took five months ago. My best friend, John, suggested our friend's group should take a unique vacation earlier this year, and he heard good things about these new rock cruises where you travel with the band. I am pretty much open to any type of music anyway, but rock is easily near the top of my list of genres. I really started getting excited when I found out the band involved was one of my favorite rock bands from the 80's. Aside from the water part, I was a fairly easy sell. Within minutes of getting on the ship we all realized how unbelievable this experience would be. In addition to nightly performances from the band, the whole band mingled with everyone just like regular people throughout the entire trip. I remember walking into the bathroom and having to wait for the lead singer to finish before I could use the toilet. I felt funny about shaking his hand at the time, and was left speechless as he walked off. Thankfully I had a chance to introduce myself later on in the trip! All of my friends had a blast on the cruise too, and I barely even noticed the fact that we were so far out on the water. The last night ended up being a massive blowout concert that seemed to go on for hours. The atmosphere was so perfect that I'm not sure it's possible to ever forget how great the experience was. To think I might have skipped out on this trip due to my fear of water is almost crazy now. I consider this to be arguably my best vacation of my entire life, and I might just have to try another one when this band comes around again!
Ex Output:
| imagined
|
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.
Ex Input:
Context: 'I understand that, but walking away with the most food and the most water would essentially leave me for dead lol. Do you prefer water or food? ' 'I prefer to have the most water as I have a medical condition that requires me to stay extremely hydrated at all times. If I get too dehydrated, it's extremely bad for me. How about I get 3 water and 1 food, and 2 firewood?' 'I'll give you the 3 water, 1 firewood. How about I get 3 food and 2 firewood? I'll need the fire to cook my food.'
Utterance: 'I would need firewood to cook my food as well. I would like the 3 water, 1 food, and 1 firewood, what about that? '
Ex Output:
Yes
Ex Input:
Context: 'That is fair. Could I also have 1 food so I do not starve' 'what about your basic food rations?' 'I am severely malnourished and could use just one more food please'
Utterance: 'we got kids on this trip, they need food too. also, your basic supplies should keep you fed well enough to not starve/be malnourished'
Ex Output:
No
Ex Input:
Context: 'I have plenty of firewood. I need two pieces of food though for my hiking. ' 'one piece wouldn't be enough? i will give all the water' 'Nope, I need two. I can give you all of the firewood. '
Utterance: 'all the firewood and one food then, not ideal but i can work with that.'
Ex Output:
| No
|
Given the task definition and input, reply with output. 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.
oSFvsRf, lvFvspT
| oSfsvRf, lvfsvpT |
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: It wouldn't shock me if someone committed murder JUST to get those things.
A: | Valid |
Detailed Instructions: Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Q: SENDER A: I am very happy today.
A: | Human |
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Q: dame todos los lugares " italian ".
A: | give me all the " italian " places . |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Maldives
Student: | Republic |
Given the task definition and input, reply with output. 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.
I see what you mean, but i'm still against killing people .
| Valid |
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.
Let me give you an example: [1, 2, 3]
The answer to this example can be: [0.167, 0.333, 0.500]
Here is 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.
OK. solve this:
[187.642, 41.168, 44.121, 214.887, 126.958, 215.817, 230.222]
Answer: | [0.177 0.039 0.042 0.203 0.12 0.203 0.217] |
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 = 7, equation weights = [6, 7]
Solution: | 49 |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas?
Solution: are there any " italian " restaurants nearby with 3 star reviews ?
Why? The translation correctly preserves " italian " entity and is accurate
New input: ¿ya tiene una reseña el " lone star steakhouse " en " dallas nc "?
Solution: | does the " lone star steakhouse " in " dallas nc " have a review yet ? |
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.
[41, 407, 857, 986] | [41, 857] |
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: This particular form of hyperthyroidism is long-lasting because of the slow elimination of amiodarone.
| Solution: non-adverse drug event |
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: It's so wonderful just know that the doughnuts we're exporting to the world are slowly killing everyone.
A: | I mean, what is a doughnut if not a sugar bomb that explodes in your body? That's what my granddaddy used to say. And then he started making real bombs. |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Q: Sagal was born on January 19, 1954, in Los Angeles, California, to a show business family with five children
A: | January 19, 1954 |
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
x = 10, equation weights = [8, 3, 9]
839
x = 8, equation weights = [6, 3, 0]
408
x = 5, equation weights = [9, 4, 0]
| 245
|
Q: 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.
The purpose of this article was to provide a detailed review of the role of TNF-alpha in controlling hepatitis B viral infection and the clinical impact blockade might have on viral control.
A: | non-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.
One example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Solution is here: religious
Explanation: Here it expresses hate against the religion, hence tagged as religious.
Now, solve this: ল্পনা বাংলাদেশ ক্রিকেট টিম এখন একটা হাসির পাত্র হয়ে গেছে।কাউকে দিয়ে কোন বিশ্বাস নাই।ভারতের সাথে বলে রান করতে পারেনি বাংলাদেশ ইংল্যান্ডের সাথে উইকেট থাকতে রান করতে পারেনি বাংলাদেশগত টেস্ট ম্যাচে রানে উইকেট ছিল আর রানে অল আউট আর আজকে আর তামিম যাওয়ার পর কতটা দুর্বলচেতা প্লেয়ার আছে বাংলাদেশে ভাবা যায়টিম সিলেকশন নিয়ে কারও কোন মাথা ব্যাথা নাই।যেন তেন ভাবে জন নিলেই হয়ে গেল। আজ শুভাগত রে নেওয়া হইছে।এই ইডিয়ট টা কবে ভালো খেলছে আমার জানা নাই।মেহেদি হাসান
Solution: | 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.
If you know anything about how these trials are paid for, you would know that counties, counties that are usually in the RED, have to pay for them. | Invalid |
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.
[EX Q]: [{'first': 98, 'second': 90}, {'first': 7, 'second': -30}]
[EX A]: [{'first': 7, 'second': -30}, {'first': 98, 'second': 90}]
[EX Q]: [{'first': -14, 'second': -78}, {'first': -20, 'second': -18}]
[EX A]: [{'first': -20, 'second': -18}, {'first': -14, 'second': -78}]
[EX Q]: [{'first': -46, 'second': 95}, {'first': -50, 'second': 71}, {'first': 66, 'second': 21}, {'first': -95, 'second': -71}, {'first': 52, 'second': 89}, {'first': -60, 'second': -64}, {'first': 30, 'second': -29}]
[EX A]: | [{'first': -95, 'second': -71}, {'first': -60, 'second': -64}, {'first': -50, 'second': 71}, {'first': -46, 'second': 95}, {'first': 30, 'second': -29}, {'first': 52, 'second': 89}, {'first': 66, 'second': 21}]
|
Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [89.827, 7.252, 115.403, 160.04, 160.546, 217.568, -63.704, 76.742, 16.51]
Output: | [ 0.115 0.009 0.148 0.205 0.206 0.279 -0.082 0.098 0.021] |
Detailed Instructions: The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
Problem:busca un restaurante " mexican " .
Solution: | search for a " mexican " restaurant . |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
¿hay algún restaurante " italian " cerca con opiniones de 3 estrellas?
Solution: are there any " italian " restaurants nearby with 3 star reviews ?
Why? The translation correctly preserves " italian " entity and is accurate
New input: localizar todos los restaurantes " italian ".
Solution: | locate all " italian " restaurants . |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
--------
Question: I want to play. Me sir, right here in the red dress.
Answer: Ah, the young lady who smells faintly like pancakes.
Question: I want my wife to have the extra towel. Does it cost extra?
Answer: We'll consider it a honeymoon special. It's awfully romantic that you want to get her a second towel.
Question: You'll forgive me for saying so, but you have a reputation for being very nosy.
Answer: | Some say that, but, I like to know what's going on in the area in which I live.
|
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:
Prominent positive U waves appearing with high-dose intravenous phenylephrine.
Answer: | 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?"
Fact: birds usually have nests. | What do birds usually have? |
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 Input: Fact: Crossing two organisms with recessive traits causes their offspring to have that recessive trait.
Example Output: What if 2 are crossed with recessive traits causes their offspring to have that recessive trait?
Example Input: Fact: carbon is in pencil lead.
Example Output: What is in pencil lead?
Example Input: Fact: Cancer often causes growth.
Example Output: | What causes growth?
|
instruction:
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
question:
'English : The statement issued by the General Staff said that “they have reached the conclusion that the helicopter was probably shot down by an unidentified air defense weapon that could be a ground launched cruise missile”.','Kurdish : Dema pevçûn berdewam dikir, gelek helîkopter sewqî herêma lê şer heye hatine kirin. Lêbelê êrişkaran li dijî helîkoptera kobrayê ji erdê ve êrişek pêk anîne. Li gorî nirxandinên me dibe ku helîkopter bi fuzeyê hatibe lêxistin û û bi wî awayî ketibe.''
answer:
Yes
question:
'English : Diyarbakır Chief Public Prosecution has announced in its statement that the five investigations it had launched into the incident were still ongoing.','Kurdish : ‘Xebatên DNAyê ji bo tespîtkirina 13 welatiyên me ku li Saziya Tipa Adlî ya Stenbolê dewam dikir, bi dawî bû.’'
answer:
Yes
question:
'English : Following the attack causing many casualties, hospitals are making calls for blood donation.','Kurdish : Li gorî agahiyên Ajansa Nûçeyan a Hawarê teqîn îro saet 09:25an de li nêzî Navenda Asayîşa Xerbiyê ku li ser riya Amûdê yê de hatiye kirin. Li gorî agahiyan di nav kamyona bombebarkirî de gelek pez jî hebûne û bi wî awayî êrişê pêk anîne.'
answer:
| No
|
Detailed Instructions: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Problem:Context: 'I don't think you that fat, your lipids will help you stay warm and full out there, haha' 'Im not as good at you at foraginf for food and water i probably dont have the experience as you do being in the outdoors and living off the land.🙂' 'With the extra firewood, you can hunt for fish and other animals outside to thrive'
Utterance: 'i cant hunt if i dont have the proper nutritional value to make sure i can make it that long. how about i get 2 firewood 2 water and 1 food you get the rest'
Solution: | Yes |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [ 46.323 -30.111 -45.032 79.957 18.898 -53.058 92.248 -20.949 72.282]
A: | 92.248 |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Q: List the names of people that have not been on the affirmative side of debates.
A: SELECT Name FROM people WHERE People_id NOT IN (SELECT Affirmative FROM debate_people)
****
Q: Show the names of singers that have more than one song.
A: SELECT T1.Name FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name HAVING COUNT(*) > 1
****
Q: What is the level name of the cheapest catalog (in USD)?
A: | SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1
****
|
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:
Since elevated cortisol levels in Cushing's disease poses a threat for pancreatitis, there is a possibility that patients with Cushing's disease might be more prone to acute pancreatitis following propofol administration.
Answer: | adverse drug event |
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.
[242.579, 120.747]
[0.668 0.332]
[43.521, -54.597, 37.194, 243.871, 208.898, 29.108, -88.08, 92.466, 56.962, 227.408]
[ 0.055 -0.069 0.047 0.306 0.262 0.037 -0.111 0.116 0.071 0.285]
[177.374, 111.728]
| [0.614 0.386]
|
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.
What are the names of conductors who have conducted at more than one orchestra? | SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1 |
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: 'Good! How are you?' 'I'm doing well! Almost ready for my camping trip. Need some more supplies though.' 'Which supplies do you need?'
Utterance: 'Well, I really need water in case we get really thirsty from hiking. I also need firewood in case it gets colder and we need more. It would be cool to have more food added for dessert like s'mores, but it's not really necessary.'
Output: | 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...'.
The next step is to walk past, brush by her, throw my drink on her and not say sorry.
So, you have to do this even though she has already fallen love with you?
We have been living in a house full of rubble. I need some good news. We halted our construction for this.
Darling, I wish I could say that wasn't a gigantic mistake.
That woman passed us and she sounded so elegant I just decided to emulate her for a little while.
| Let's let the actors take care of the acting on the stage and we'll just wait here until we can grab Gerald and take him back to the camp.
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
--------
Question: Oh my god, that man just stole a book.
Answer: Oh, security just caught them. They beat the shit out of him and then they shot him.
Question: Before I blow out the candles, I just want to say that I'm so glad that I didn't invite my work friends. It's just you guys.
Answer: Oh, they're the worst people. I don't like them.
Question: I want you to behave here. Even though children are allowed in dance clubs in Iceland, this is a dance club for grownups.
Answer: | OK, dads. I promise not to kiss any boys while I'm here.
|
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [ 31.678 -80.288 48.016 -99.407 29.675]
A: | -99.407 |
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.
One example is below.
Q: Angola
A: Republic
Rationale: Republic is the government type of the country called Angola.
Q: Latvia
A: | Republic |
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Problem:[ 49.142 23.898 -24.858 -53.249 37.183]
Solution: | -53.249 |
TASK DEFINITION: In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
PROBLEM: Set1: '{5, 6, 7, 9, 10, 11, 12, 16, 19}', Set2: '{1, 6, 10, 12, 13, 15, 16, 20}'. How many elements are there in the union of Set1 and Set2 ?
SOLUTION: 13
PROBLEM: Set1: '{8, 10, 13, 7}', Set2: '{6, 7, 8, 9, 13, 16, 20}'. How many elements are there in the union of Set1 and Set2 ?
SOLUTION: 8
PROBLEM: Set1: '{2, 8, 12, 14, 15, 18, 19}', Set2: '{1, 5, 9, 10, 12, 14, 17, 20}'. How many elements are there in the union of Set1 and Set2 ?
SOLUTION: | 13
|
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...'.
Not only does Ralph not have to give you his pants, he didn't have to give you his bag, and you're not allowed to glue peoples' mouths shut. This is America. | We've done some googling while you've been abusing this gentlemen and, frankly, you're abusing your power. What do you think you are, a religion? |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Example solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Example explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Problem: [{'first': -96, 'second': 97}, {'first': -25, 'second': 28}, {'first': -86, 'second': 86}, {'first': 17, 'second': 80}, {'first': 61, 'second': -81}, {'first': -25, 'second': 87}, {'first': -88, 'second': 48}, {'first': 15, 'second': -17}, {'first': 61, 'second': 17}]
| Solution: [{'first': -96, 'second': 97}, {'first': -88, 'second': 48}, {'first': -86, 'second': 86}, {'first': -25, 'second': 28}, {'first': -25, 'second': 87}, {'first': 15, 'second': -17}, {'first': 17, 'second': 80}, {'first': 61, 'second': -81}, {'first': 61, 'second': 17}] |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
--------
Question: Hi, I'm Diane. Nice to meet you. Shake my hand.
Answer: I'm Jeremy. I only shake when I'm making a deal.
Question: Excuse me, Paul. I think somebody spilled hot chocolate on my seat because the back of my cloud is cloudier than the front.
Answer: Are you 100% sure it's not diarrhea?
Question: You can get a massage, honey. I feel like there's something wrong here. I'm going to take a walk.
Answer: | Well I can't turn down a four hand-er. Come on, boys!
|
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: fan
A: | machine |
Subsets and Splits