Dataset Viewer
Auto-converted to Parquet
prompt
stringlengths
104
13.4k
response
stringlengths
1
1.45k
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. One example is below. Q: Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06. A: yes Rationale: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'. Q: Command: and { only { filter_eq { all_rows ; country ; finland } } ; eq { hop { filter_eq { all_rows ; country ; finland } ; company } ; stonesoft } }, interpretation: select the rows whose frequency record fuzzily matches to am . there is only one such row in the table . the branding record of this unqiue row is am 1150 . A:
no
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. [2, 4, 6, 7, 8, 6, 3, 3, 9, 5] , [9, 8, 5, 7, 5, 10, 7, 8, 10, 5] [5, 7, 8, 9] [10, 10, 6, 1, 10, 9, 9, 4] , [10, 8, 3, 4, 7, 1, 10, 1] [1, 4, 10] [3, 7, 4, 6, 4, 9, 7] , [3, 1, 8, 7, 7, 6, 5]
[3, 6, 7]
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Browns Cambridge has a customer rating of 3 out of 5 and offers a price range of £20-25. name[Browns Cambridge], priceRange[£20-25], customer rating[3 out of 5] The Waterman is a kid friendly fast food restaurant, with high customer rating and a price range of £20-25. It is located in the riverside area. name[The Waterman], food[Fast food], priceRange[£20-25], customer rating[high], area[riverside], familyFriendly[yes] A child friendly restaurant called Cocum is 3 out of 5.
name[Cocum], eatType[restaurant], customer rating[3 out of 5], familyFriendly[yes]
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. [Q]: Context: 'The weather is going to be really hot. Could I have 2 water in exchange for you receiving 2 food and 2 firewood?' 'I have a low immune system and need to stay warm how about I get all 3 firewood in exchange for the 2 water. ' 'I will agree to 3 firewood for 2 water. Maybe I should extra food though so 2 food for me🙂' Utterance: 'I can agree to 2 food. You get 2 and I will get 1 food. That sounds fair to me. 🙂' [A]: No [Q]: Context: 'Firewood, due to the area that we are going to. How about you? ' 'Oh I see. You can have all 3 firewood if you are ok with me taking all 3 food.' 'Hmm, well I'd love to get some of the food. What I took 2 firewood, 1 food and 1 water? ' Utterance: 'Sorry but I really need all 3 food. All the food I brought with me has spoiled because the AC in my car broke. ☹️' [A]: Yes [Q]: Context: 'Hello!' Utterance: 'Hi, how are you today?' [A]:
No
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you are given 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. bYubMFxyTqR, AcDbMFxSnI Solution: bYubfmxyTqR, AcDbfmxSnI Why? Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI' New input: vmjUkLxvseQLnJwHh, wdzOwDKHcjUkLxvseQLsaFqadotki Solution:
vmejkllqsuvxnJwHh, wdzOwDKHcejkllqsuvxsaFqadotki
Definition: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Input: THEM: i get 1 book and you can have the hats and ball YOU: agreed you get 1 book and i get everything else THEM: deal. Output:
Yes
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Q: 1569 @ 5170 @ 566 # 6012 @ 5001 A:
6294
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'. Example Input: THEM: i would like the ball and the books please YOU: give me the ball and hats and you could keep the books THEM: no deal. i want the ball and at least 2 books YOU: no, i want the two hats and the ball THEM: no deal. i don't need hats YOU: well then give me the ball and hats you could keep all 4 books THEM: nope if you want the ball then i'll take the books and the hats YOU: nope THEM: best deal is you can have the ball and 1 hat YOU: cool. then ball and one hat is fine with me and you could have one hat and 4 books THEM: deal. Example Output: Yes Example Input: THEM: want a hat? YOU: i want a basketball and either two books or a book and hat. THEM: i only have one basketball, 4 hats & 1 book YOU: i know for sure that i want the basketball. THEM: ok i want another book YOU: would you settle for the book and three hats? THEM: sure. Example Output: Yes Example Input: THEM: i'll take the hat and the ball. you get the rest? YOU: i need the ball THEM: i get 1 book and the hat, you get 2 books and the ball? YOU: yes. Example Output:
Yes
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. Example input: [47, 444, 859, 530, 197, 409] Example output: [47, 859, 197, 409] Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list. Q: [67, 227, 283, 271, 683, 54, 51, 331, 54, 157, 853, 30, 854, 761, 563, 919, 47, 269] A:
[67, 227, 283, 271, 683, 331, 157, 853, 761, 563, 919, 47, 269]
Q: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character. jwdjddwjjdjdjdw A:
jdjdj
Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative. Input: grauenhaft langweilig . selten ein derart verkrampft eingespieltes Werk gehört. Nach den letzten beiden wirklich guten Scheiben ist mit "Get Behind Me Satan" mein Grundvertrauen in die White Stripes schwer entäuscht worden - leider gekauft, ohne vorher zu hören. Die Musik plätschert irgendwo im Nirvana von Folk und Pop und Tralala, der Gesang ist teilweise eine schlechte Kopie von Prince (!)- klingt, als wenn die Beiden mit reichlich zu viel Alk und Gras im Kopf möglichst schräg und langweilig klingen wollten. Das ist ihnen wirklich gelungen... Klare Weglass-Scheibe! Output:
NEG
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Q: [4, 8, 9, 5, 1, 10, 8, 9, 4] , [10, 8, 5, 2, 2, 1, 3, 3, 8] A:
[1, 5, 8, 10]
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. spinach Output:
vegetable
Given the task definition and input, reply with output. 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...'. It feels weird to outgrow a friend, you know?
Yeah, but like, he's bad. I can't count how many sweatpants brunches he's done. Where he makes everyone wear sweatpants to go to the brunch.
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. [7, 3, 3, 3, 6, 4, 1, 5, 2] [7, 6, 4, 1, 5, 2] [6, 5, 1, 2, 2, 0, 1, 6, 4] [5, 0, 4] [7, 0, 4, 6, 2, 1, 7, 1, 3]
[0, 4, 6, 2, 3]
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. Example input: Find the id and city of the student address with the highest average monthly rental. Example output: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Q: Which dogs have not cost their owner more than 1000 for treatment? List the dog names. A:
SELECT name FROM Dogs WHERE dog_id NOT IN( SELECT dog_id FROM Treatments GROUP BY dog_id HAVING sum(cost_of_treatment) > 1000 )
Given the task definition, example input & output, solve the new input case. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)। Output: religious Here it expresses hate against the religion, hence tagged as religious. New input case for you: হাসিনা অপয়া তুই তো ভারতের একটা হাতি মরে গিয়েছিলো তাই তুই তোর দাদার কাছে শোক জানিয়েছিলী আর নির বিচারে মায়ানমারে মুসলিমদের হত্যা করছে এর বেলাই তুই চুপ কেন তোর দাদা চুপ থাকতে বলেছে আবার শুনি সকালে উঠে কুরয়ান পড়িছ Output:
non-religious
Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Input: Moldova Output:
.md
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Example Input: [5, 0, 3, 2, 2, 3, 1, 2, 7, 4] Example Output: [5, 0, 1, 7, 4] Example Input: [0, 4, 5, 7, 3, 2, 7, 1] Example Output: [0, 4, 5, 3, 2, 1] Example Input: [1, 5, 4, 2, 5, 0] Example Output:
[1, 4, 2, 0]
Given the task definition and input, reply with output. 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. [-43.007 61.959 -32.581 76.455 54.898 64.32 ]
76.455
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: [-43.71 -6.731 39.607 -60.638] A:
-60.638
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. Do you think that the judicial system is so weak in its nature that all it takes is for DNA evidence to convict someone? Valid that is just as harsh as justifying the death penalty because prisons are too overcrowded. Valid There is no reason that the death penalty, in general, should be more expensive than LWOP and, in many, if not most cases, the death penalty should be less expensive.
Valid
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. [Q]: x = 9, equation weights = [1, 6] [A]: 15 [Q]: x = 4, equation weights = [6, 9, 1] [A]: 133 [Q]: x = 8, equation weights = [2, 7] [A]:
23
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. See one example below: Problem: [1, 2, 3] Solution: [0.167, 0.333, 0.500] Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. Problem: [38.85, 172.132, -98.311, 213.269, 30.804, 158.648, 142.777, 140.83, -83.398] Solution:
[ 0.054 0.241 -0.137 0.298 0.043 0.222 0.2 0.197 -0.117]
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Problem:5818 # 4011 @ 5378 Solution:
7185
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Q: sevenonefourninefoursevenfivefivethree A:
714947553
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer One example: 6 @ 17 Solution is here: 23 Explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). Now, solve this: 5272 @ 8198 # 8857 @ 3919 # 2898 # 8618 Solution:
-2984
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Input: Consider Input: x = 6, equation weights = [7, 8, 1] Output: 301 Input: Consider Input: x = 3, equation weights = [1, 8, 2] Output: 35 Input: Consider Input: x = 7, equation weights = [0, 1, 3]
Output: 10
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. One example: [1, 2, 3] Solution is here: [0.167, 0.333, 0.500] Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. Now, solve this: [-74.662, 217.357, 243.77, 167.096, -89.253, 20.36, 128.136, 127.044, 239.12, -69.956] Solution:
[-0.082 0.239 0.268 0.184 -0.098 0.022 0.141 0.14 0.263 -0.077]
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. [Q]: There is a kids Friendly The Wrestlers with moderate price range that provides Fast food and has customer rating of 1 out of 5. [A]: name[The Wrestlers], food[Fast food], priceRange[moderate], customer rating[1 out of 5], familyFriendly[no] [Q]: The Cambridge Blue is an Indian restaurant with a rating of 3 out of 5. [A]: name[The Cambridge Blue], eatType[restaurant], food[Indian], customer rating[3 out of 5] [Q]: The Wildwood pub serves fast food at around the £20 per head mark. It has low ratings. [A]:
name[Wildwood], eatType[pub], food[Fast food], priceRange[moderate], customer rating[1 out of 5]
Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. Answer:
Nice
Given the task definition and input, reply with output. Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. News Headline: House Republicans start the new Congress with an {assault} on federal lands Edit: picnic
Funny
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Let me give you an example: [2,5,1,4],[2,5,8,4,2,0] The answer to this example can be: [2,4,5] Here is why: The elements 2,4, and 5 are in both lists. This is a good example. OK. solve this: [4, 1, 2, 8, 6] , [10, 6, 10, 1, 1] Answer:
[1, 6]
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. Example: [2,5,1,4],[2,5,8,4,2,0] Example solution: [2,4,5] Example explanation: The elements 2,4, and 5 are in both lists. This is a good example. Problem: [6, 9, 7, 6, 4, 9, 1, 5] , [9, 8, 3, 10, 4, 7, 9, 6]
Solution: [4, 6, 7, 9]
Instructions: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic. Input: সানি তুমিতো বললে কোন ধর্ম বিরুধী না,তাহলে দেখতে পাচ্ছি কুখ্যাত একটা ইসলাম বিরুধী। Output:
religious
Definition: In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. Input: Sentence: I tried to paint a picture of an orchard, with lemons in the lemon trees, but they came out looking more like telephone poles. Question: What looked like telephone poles? Output:
trees
Q: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Context: 'How about you take two water and 1 food and 2 firewood?' 'That's kind of what I was thinking. That would work for me.' 'OK, great, I forgot my fishing pole so the extra food will really help!' Utterance: 'The extra firewood will help out keeping the family warm in case the temperature drops.' A:
Yes
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Let me give you an example: [0,1,0,2,5,1] The answer to this example can be: [2,5] Here is why: The only elements that are not duplicated is 2 and 5. This is a good example. OK. solve this: [4, 7, 7, 2, 7, 2, 1, 5] Answer:
[4, 1, 5]
Q: You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below: Tense: The verbs in the sentence are changed in tense. Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around. Voice: If the verbs are in active voice, they're changed to passive or the other way around. Adverb: The paraphrase has one adverb or more than the original sentence. Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns. Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym. original sentence: Jane knocked on Susan's door but she did not answer . paraphrase: Jane is knocking on Susan's door but she is not answering . A:
Tense
You will be given a definition of a task first, then some input of the task. Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. I like to think that every place you hold tension in your body is actually a butt hole. Output:
That's interesting. Can we do questions?
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: Find the id and city of the student address with the highest average monthly rental. Solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Reason: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Now, solve this instance: Show minimum, maximum, and average market value for all companies. Student:
SELECT min(market_value) , max(market_value) , avg(market_value) FROM company
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Ex Input: Entity 1: nitrogen Entity 2: covalent molecule Ex Output: yes Ex Input: Entity 1: buff colour Entity 2: heart - shape face Ex Output: yes Ex Input: Entity 1: echinoderm Entity 2: ossicle Ex Output:
yes
Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. Problem:password = 5bVjmF0pa13HNRcPmNwt Solution:
0
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Example input: twotwoonesixzeronine Example output: 221609 Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Q: nineeighteightonezerofiveeightfourzerozero A:
9881058400
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. Input: How many different jobs are listed? Output:
SELECT count(DISTINCT job) FROM Person
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain. Q: Bolivia A: .bo **** Q: Egypt A: .eg **** Q: Cameroon A:
.cm ****
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: most insects consume and are consumed by more than one species.
what consume and are consumed by more than one species?
Q: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Entity 1: tetrapod Entity 2: forelimb A:
yes
Detailed Instructions: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. See one example below: Problem: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by. Solution: yes Explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes". Problem: You 're 18 right now , and life moves pretty fast at that age , but you have a lot of time to get things established . Solution:
no
Detailed Instructions: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. Q: Do n't be discouraged ! A:
no
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. Example: I_TURN_LEFT I_JUMP Example solution: jump left Example explanation: If the agent turned to the left and jumped, then the agent jumped to the left. Problem: I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_TURN_RIGHT I_WALK I_TURN_RIGHT I_TURN_RIGHT I_WALK
Solution: walk opposite right twice after jump around right twice
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty. Let me give you an example: The fact that you do not want to donate to these poor, needy people only shows me that you really do not care about the embryos The answer to this example can be: Invalid Here is why: It is not an argument on the topic of death penalty. OK. solve this: Death penalty should be allowed as it deters people from committing serious crimes such as murder. Answer:
Valid
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: If murder is wrong than so is the death penalty. A: Valid **** Q: If I could be satisfactorily convinced that a murderer had ZERO chance of committing another crime, I might be convinced to do away with the death penalty. A: Valid **** Q: One way that would make me happy with the death penalty is if the person was killed in the same way as the person that they murdered. A:
Valid ****
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. Q: Context: 'I'm thinking I'l get 2 firewood, and 2 water and 1 food. I'm not sure what you need, but we can figure it out. ' 'my highest priority is water, i need it to stay hydrated from the camping beers' 'Who doesn't? I need more wood. I'm skinny. I get cold easily. Beer hidrates dude 🙂' Utterance: 'ha no prob on the wood, its out there in nature so i can do with less of it hows 3 water, 1 food, 0 wood sound' A: No **** Q: Context: 'That's fair, but I have wiggle room on the water, how about I take two food, two firewood and you take 3 water, 1 food, 1 firewood?' 'Is there anyway you will go with that I get two firewood? I need food the most but since you get most of that can I get most of the firewood? So 1 food, 2 firewood, and 2 water for me?' 'You drive a hard bargain. I could really use that firewood. It's going to get cold tonight and these sleeping bags are not worth the price I paid ;)' Utterance: 'Haha, I know but I am in the same situation! ☹️ and since I am getting less food I feel like it is fair I get on more firewood since I truly need that 🙂' A: No **** Q: Context: 'Hi how are you? I have a few medical issue and do need to stay warm so fire wood is important to me. What is important to you? ' Utterance: 'Hello! I also need firewood. It is my highest priority. Then, I need water next as a prority. 🙂' A:
Yes ****
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Problem:2719 @ 5894 # 5235 @ 9689 Solution:
13067
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?" One example: Fact: pesticides can harm animals. Solution is here: What can harm animals? Explanation: It's a good question because it is formed by simply replacing the word "pesticides" with "what". Now, solve this: Fact: some butterflies travel long distances. Solution:
What is true about some butterflies?
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order. -------- Question: [9, 2, 8, 1, 10, 10, 10, 6] , [7, 10, 2, 5, 2, 2, 1, 6] Answer: [1, 2, 6, 10] Question: [2, 1, 6, 2, 2, 5, 9, 4] , [10, 1, 1, 10, 7, 10, 1, 9] Answer: [1, 9] Question: [4, 2, 10, 5, 3] , [2, 5, 1, 6, 2] Answer:
[2, 5]
input question: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.??? output answer: Good app input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.nurik.roman.muzei.??? output answer: Very cool But stopped rotating pictures it's just stuck on one picture. Please fix. input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.wordpress.android.??? output answer: Very Nice App Well done WordPress.... You are doing very well.... Thank you input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.??? output answer:
Best
Part 1. Definition The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Part 2. Example I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again. Answer: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju. Explanation: The translation correctly preserves the characters in Croatian. Part 3. Exercise That's one thing to remember. Answer:
To je jedna stvar koju treba zapamtiti.
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity). Input: Consider Input: Entity 1: ovule Entity 2: leg Output: no Input: Consider Input: Entity 1: comet Entity 2: carbon - base compound Output: yes Input: Consider Input: Entity 1: strand Entity 2: nucleotide
Output: yes
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 An unnamed third party does receive your user profile for targeted advertising.
Advertising
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Input: Consider Input: x = 1, equation weights = [9, 2, 1] Output: 12 Input: Consider Input: x = 10, equation weights = [1, 7, 4, 5, 8] Output: 17458 Input: Consider Input: x = 5, equation weights = [8, 6, 3]
Output: 233
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. See one example below: Problem: able Solution: unable Explanation: The output is correct as able and unable are opposities of each other in meaning. Problem: judgmental Solution:
nonjudgmental
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Q: Sentence: On August 9 , 2004 , it was announced that in the Spring of 2001 , a man named El - Shukrijumah , also known as Jafar the Pilot , {{ who }} was part of a " second wave , " had been casing New York City helicopters . Word: who A:
WP
Q:Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A:
Good
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. [EX Q]: pfppfvpppppff [EX A]: ppppp [EX Q]: raaarrraraa [EX A]: raaar [EX Q]: rbbbrnbnbr [EX A]:
rbbbr
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Example Input: The Phoenix is a restaurant located right along the water just outside of the City Centre. The prices as well as the reviews are decent. Example Output: name[The Phoenix], food[English], priceRange[cheap], customer rating[average], area[riverside] Example Input: There is a 5 out of 5 customer rated child friendly pub located near a Ranch called The Cricketers. Example Output: name[The Cricketers], eatType[pub], customer rating[5 out of 5], familyFriendly[yes], near[Ranch] Example Input: Indian restaurant Strada offers excellent service with affordable prices. Located by Rainbow Vegetarian Café Example Output:
name[Strada], food[Indian], priceRange[£20-25], customer rating[high], familyFriendly[no], near[Rainbow Vegetarian Café]
Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. Input: [-10.838, -42.42, 21.352, 50.721, 243.573, -37.858] Output:
[-0.048 -0.189 0.095 0.226 1.085 -0.169]
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output. I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK
walk and walk around right twice
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals. [1, 2, 3] Solution: [0.167, 0.333, 0.500] Why? The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example. New input: [181.925, -32.407] Solution:
[ 1.217 -0.217]
In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list. [130, 108, 1699, 4260, 15, 40, 2, 163, 1010, 3383, 4684, 6] [128, 128, 2048, 4096, 16, 32, 2, 128, 1024, 4096, 4096, 8] [198, 1811, 4095, 1503, 14, 86, 2, 238] [256, 2048, 4096, 1024, 16, 64, 2, 256] [204, 657, 2847, 4631]
[256, 512, 2048, 4096]
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Q: Sentence: So keep checking at {{ least }} on a weekly basis . Word: least A:
RBS
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 checking balance of the account whose owner’s name contains the substring ‘ee’? A:
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%'
You will be given a definition of a task first, then some input of the task. The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages. Context: 'I need 2 woods first ' 'That is fine since there are 3 wood and I want 1. ' 'Then it is good deal. I need two wood, 1 food, and 1 water.' Utterance: 'I really need all the food, I have a lot of people to feed' Output:
No
Detailed Instructions: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. Q: [1, 4, 4, 0, 7, 6, 4] A:
[1, 0, 7, 6]
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]: religious [Q]: সকালে লা-ইলাহা ইল্লাল্লাহ, নৌকার মালিক তুই আল্লাহ, আর বিকালে হরে কৃষ্ণ হরে রাম, নৌকার মালিক ভগবান [A]: non-religious [Q]: জারা পুরিয়ে মেরেছে ওই শিশু কে তারা এক নম্বর খানকির ছেলে [A]:
non-religious
Detailed Instructions: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks. Problem:Sentence: Freeze dried food is not a good staple food source ; you need {{ to }} offer live feeder insects . Word: to Solution:
TO
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: name: The Eagle,... eatType: restaurant, coffee shop,... food: French, Italian,... priceRange: cheap, expensive,... customerRating: 1 of 5 (low), 4 of 5 (high) area: riverside, city center, ... familyFriendly: Yes / No near: Panda Express,... The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect. Q: The Rice Boat is not kids friendly but has Italian food at a moderate price range and a 3 out of 5 rating can be found near the Express by Holiday Inn in the city centre. A:
name[The Rice Boat], food[Italian], priceRange[moderate], customer rating[3 out of 5], area[city centre], familyFriendly[no], near[Express by Holiday Inn]
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer Let me give you an example: 6 @ 17 The answer to this example can be: 23 Here is why: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23). OK. solve this: 8237 @ 1948 @ 141 # 5681 # 306 # 7587 @ 5820 Answer:
2572
Definition: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it. Input: memberless Output:
membered
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: A named third party does receive your cookies or tracking elements for targeted advertising. The data is aggregated or anonymized. A: Advertising **** Q: The site collects your contact information for advertising. Collection happens in an unspecified way. You can choose not to use the service or feature for the use of your information. A: Advertising **** Q: Another part of the company or institution does receive information about you not covered by our label scheme for analytics or research. A:
Analytics/Research ****
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. One example is below. Q: twotwoonesixzeronine A: 221609 Rationale: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example. Q: eightzeroninetwozerosevenonethreeseven A:
809207137
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers. Q: [{'first': 53, 'second': 64}, {'first': 38, 'second': 46}, {'first': 77, 'second': -45}, {'first': 30, 'second': -45}, {'first': -26, 'second': 88}, {'first': -19, 'second': -7}, {'first': 78, 'second': 38}, {'first': 3, 'second': 54}] A: [{'first': -26, 'second': 88}, {'first': -19, 'second': -7}, {'first': 3, 'second': 54}, {'first': 30, 'second': -45}, {'first': 38, 'second': 46}, {'first': 53, 'second': 64}, {'first': 77, 'second': -45}, {'first': 78, 'second': 38}] **** Q: [{'first': -61, 'second': -100}, {'first': 78, 'second': -47}] A: [{'first': -61, 'second': -100}, {'first': 78, 'second': -47}] **** Q: [{'first': 61, 'second': -11}, {'first': -6, 'second': 33}, {'first': 56, 'second': 15}, {'first': -88, 'second': -35}] A:
[{'first': -88, 'second': -35}, {'first': -6, 'second': 33}, {'first': 56, 'second': 15}, {'first': 61, 'second': -11}] ****
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character. One example: password = a Solution is here: 5 Explanation: Using 5 steps, it can become a strong password Now, solve this: password = MiZ46I! Solution:
0
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Q: Command: round_eq { avg { all_rows ; score } ; 139 }, interpretation: the average of the score record of all rows is 139 . A:
yes
Teacher: 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. Teacher: Now, understand the problem? If you are still confused, see the following example: Find the id and city of the student address with the highest average monthly rental. Solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 Reason: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example. Now, solve this instance: What are the code and description of the least frequent detention type ? Student:
SELECT T1.detention_type_code , T2.detention_type_description FROM Detention AS T1 JOIN Ref_Detention_Type AS T2 ON T1.detention_type_code = T2.detention_type_code GROUP BY T1.detention_type_code ORDER BY count(*) ASC LIMIT 1
In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list. One example: [0,1,0,2,5,1] Solution is here: [2,5] Explanation: The only elements that are not duplicated is 2 and 5. This is a good example. Now, solve this: [0, 0, 2, 6, 7, 4, 4, 4] Solution:
[2, 6, 7]
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback. A: I have no use for this but I am happy people care! Q: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.tmarki.comicmaker. A: ... How do I get the images this is app it's so bad Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.wikipedia. A: Material design... ... 10/10. Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms. A:
Great
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise [Q]: The site collects your contact information for an additional (non-basic) service or feature. Collection happens when you explicitly provide information in an unspecified way. You can opt in for data collection for the use of your information. [A]: Additional service/feature [Q]: You can use privacy configuration settings (in the website or app) to control the use of unspecified information by the site, which uses it for advertising. [A]: Advertising [Q]: An unnamed third party does receive your computer information for a basic service or feature. The data is personally identifiable. [A]:
Basic service/feature
In this task, you are given a movie review in Persian, and you have to extract aspects of the movie mentioned in the text. We define aspects as music(موسیقی), directing(کارگردانی), screenplay/story(داستان), acting/performance(بازی), cinematography(فیلمبرداری), and scene(صحنه). Although there might be multiple aspects in a review, we only need you to write one aspect. [EX Q]: بازیهایی بسیار خوب از همه بازیگران(حتی محمد صادق ملک عزیز با اون نقش کوتاه)، فیلمنامه خوب، کارگردانی بسیار خوب...فقط نامه انتهای فیلم رو دوست نداشتم که اونم خیلی شخصی و سلیقه ای هست البته...نمی دونم چرا احساس می کنم صدای جمال و موضوع نامه بعدا اضافه شده به فیلم! [EX A]: بازی [EX Q]: بسیار فیلم بد و بازی های بدتر و تدوین افتضاح [EX A]: بازی [EX Q]: خیلی خوب. خیلی خوب. بازی‌ها خوب. فیلمنامه خوب. احترام به شعور مخاطب عالی. هدیه تهرانی فوق‌العاده. مریلا زارعی عالی. فقط یک زن می‌توانست این‌طور جزئیات چنین قصه‌ای را دربیاورد. آفرین. [EX A]:
بازی
Detailed Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'. Q: nineninezerosixsevenfivezeroeightfour A:
990675084
Instructions: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny. Input: News Headline: Laura Ingraham returns following boycott , says liberals ' cutting off free {speech} ' Edit: donuts Output:
Funny
You will be given a definition of a task first, then some input of the task. In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no". Here are the definitions of logical operators: 1. count: returns the number of rows in the view. 2. only: returns whether there is exactly one row in the view. 3. hop: returns the value under the header column of the row. 4. and: returns the boolean operation result of two arguments. 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column. 6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column. 7. argmax/argmin: returns the row with the max/min value in header column. 8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column. 9. eq/not_eq: returns if the two arguments are equal. 10. round_eq: returns if the two arguments are roughly equal under certain tolerance. 11. greater/less: returns if the first argument is greater/less than the second argument. 12. diff: returns the difference between two arguments. 13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument. 14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument. 15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument. 16. filter_all: returns the view itself for the case of describing the whole table 17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument. 18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument. 19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument. 20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument. 21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument. 22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument. Command: eq { count { filter_greater { all_rows ; fog ( days / year ) ; 30 } } ; 4 }, interpretation: select the row whose candidates record of all rows is maximum . the incumbent record of this row is charles r jonas . Output:
no
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. Example: gocogccocco Example solution: gocog Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example. Problem: ncnyncccyycn
Solution: cnync
instruction: 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. question: What is the channel code and contact number of the customer contact channel that was active for the longest time? answer: SELECT channel_code , contact_number FROM customer_contact_channels WHERE active_to_date - active_from_date = (SELECT active_to_date - active_from_date FROM customer_contact_channels ORDER BY (active_to_date - active_from_date) DESC LIMIT 1) question: What are the employee ids for each employee and final dates of employment at their last job? answer: SELECT employee_id , MAX(end_date) FROM job_history GROUP BY employee_id question: Count the number of customers who are active. answer:
SELECT count(*) FROM customer WHERE active = '1'
Teacher:Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise Teacher: Now, understand the problem? Solve this instance: The site collects your unspecified information for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way, and your data is identifiable. Student:
Unspecified
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy. Input: Consider Input: When I was in college my senior year, I took a course called European Intellectual History. Output: Kada sam bila na zadnjoj godini na fakultetu, uzela sam kolegij "Europska intelektualna povijest". Input: Consider Input: And thanks to that, Turkey has been able to reasonably create a success story in which Islam and the most pious understandings of Islam have become part of the democratic game, and even contributes to the democratic and economic advance of the country. Output: I zahvaljujući tome, Turska je razumno dobro uspjela stvoriti uspješnu priču u kojoj Islam i najpobožnija shvaćanja Islama postaju dio demokratske igre, i čak doprinosi demokratskom i ekonomskom napretku zemlje. Input: Consider Input: They're things like this.
Output: One su stvari poput ovih.
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list. Ex Input: x = 5, equation weights = [8, 0, 2] Ex Output: 202 Ex Input: x = 6, equation weights = [7, 3, 6, 1] Ex Output: 1657 Ex Input: x = 1, equation weights = [7, 6, 4, 5, 1] Ex Output:
23
Q: Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken. For me , I need to list out the positive , depression treating activities that I want to do . A:
yes
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'. Let me give you an example: I just want to say if this does not work out I promise to to personally show up to each of your homes and apologize for my life not working out the way that it should. The answer to this example can be: You know what, come tell us at the community pool. Here is why: This is a good response. Because it accepts in indirect way the input sentence and supports it. OK. solve this: I'm sorry. It's not in my programming to scare, although sometimes it does happen. Answer:
Is it in your programming to know what the hell's going on on that planet while I'm here alone on the ship like some tossed aside old sock or something.

Dataset Card for "flan2022-4096-64-tasks-logdet-200000-instances-gc"

More Information needed

Downloads last month
38

Collection including kowndinya23/flan2022-4096-64-tasks-logdet-200000-instances-gc