SMART
Collection
Collection of models and datasets used for ACL 2024 paper, SMART - Submodular Data Mixture Strategy for Instruciton Tuning
•
338 items
•
Updated
prompt
stringlengths 98
13.4k
| response
stringlengths 1
1.45k
|
---|---|
instruction:
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
question:
Command: round_eq { avg { all_rows ; home team score } ; 10 }, interpretation: select the row whose us viewers ( million ) record of all rows is maximum . the title record of this row is exile on main st .
answer:
no
question:
Command: greater { hop { filter_eq { all_rows ; class ; 250 cc } ; race } ; hop { filter_eq { all_rows ; class ; moto2 } ; race } }, interpretation: select the rows whose class record fuzzily matches to 250 cc . take the race record of this row . select the rows whose class record fuzzily matches to moto2 . take the race record of this row . the first record is greater than the second record .
answer:
yes
question:
Command: eq { hop { argmax { all_rows ; attendance } ; date } ; 19 may 2007 }, interpretation: select the row whose attendance record of all rows is maximum . the date record of this row is 19 may 2007 .
answer:
| yes
|
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: [9, 1, 10, 3, 6] , [3, 10, 2, 10, 2]
| Solution: [3, 10] |
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
|
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.
Example Input: ctZFUzZogNncnj, uoYKnXUzZogNsACb
Example Output: ctZFgnouzzncnj, uoYKnXgnouzzsACb
Example Input: CXhVNMCAUcXvQ, guNMCAUIEkxX
Example Output: CXhVacmnucXvQ, guacmnuIEkxX
Example Input: fPYwbcJEgRcYnOpAisKRiEcbMrJvCxJ, jVRcYnOpAisKRktVTM
Example Output: | fPYwbcJEgaciknoprrsyiEcbMrJvCxJ, jVaciknoprrsyktVTM
|
Instructions: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Input: THEM: i'd like the ball and one hat YOU: deal.
Output: | Yes |
Q: 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
3604 @ 4128 # 727 # 1879 @ 3079 # 1895 # 8944 # 4651
A: | -7285 |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
--------
Question: THEM: i want the balls and hat YOU: you can have the hat but not all the balls THEM: how about two balls and the hat? YOU: i can take 2 balls and 1 hat.... is that what you are saying? THEM: no that's what i take YOU: you do not want the book? THEM: nope YOU: hmmm, how bad do you want that hat? THEM: i want that hat and two other items YOU: i guess you can have the hat and 1 ball.... THEM: no, two items and the hat YOU: no deal.
Answer: No
Question: THEM: i can offer you the hats YOU: i can take the ball and 2 hats or the ball and 2 books. THEM: no i can only offer you the 3 hats or this wont work for me and we say no deal until the button comes up YOU: fine. THEM: fine what???? YOU: no deal. three hats only gives me three points. i can't do it. THEM: fine i can offer you 2 hats YOU: i can also take the ball and you get everything else. THEM: now i can offer you no hats YOU: i can also offer you the ball and i take everything else. 5 points isn't horrendous for me. THEM: i can offer you one book and 3 hats last offer YOU: no deal.
Answer: No
Question: THEM: i would like the book and the ball. YOU: im sorry i cant let go of the ball. i can offer you 2 hats and a book.
Answer: | No
|
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
See one example below:
Problem: [47, 444, 859, 530, 197, 409]
Solution: [47, 859, 197, 409]
Explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [930, 925, 883, 433, 428]
Solution: | [883, 433] |
Instructions: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Input: yynkkynnknnkkk
Output: | nnknn |
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 |
Detailed Instructions: 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.
Problem:[4, 2, 4, 1, 4, 2, 8, 9, 10] , [8, 3, 8, 8, 10, 8, 4, 5, 8]
Solution: | [4, 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 |
Definition: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Input: I'll never forget the moment that ended up in the movie trailer when Sandra Bullock says "It happened to me. It could happen to anyone." Probably my most enduring memory of The Net, the movie I was in.
Output: | My biggest memory is when she orders pizza, man, and she uses the internet and it looks really good. |
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.
See one example below:
Problem: [0,1,0,2,5,1]
Solution: [2,5]
Explanation: The only elements that are not duplicated is 2 and 5. This is a good example.
Problem: [5, 4, 0, 4, 5, 1]
Solution: | [0, 1] |
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 ) |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
[Q]: শিক্ষা প্রতিষ্ঠানে ভাঙচুর চলবে না তবে অস্ত্রবাজি চলবে- শেখ হাসিনা
[A]: non-religious
[Q]: ধর্মপুত্র যুধিষ্ঠিরের দল গুলো সমাজে বিদ্বেষ ছড়ায়
[A]: non-religious
[Q]: চুল মডেল এইটা। দেখলেই রাগ উঠে।
[A]: | non-religious
|
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 |
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.
See one example below:
Problem: [0,1,0,2,5,1]
Solution: [2,5]
Explanation: The only elements that are not duplicated is 2 and 5. This is a good example.
Problem: [0, 5, 3, 4, 5, 4, 5, 3, 4]
Solution: | [0] |
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.
[-35.616 -33.367 -0.423] | -35.616 |
Q: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[ 24.27 -97.907 -24.06 20.565 -58.237]
A: | -97.907 |
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
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
x = 3, equation weights = [4, 2]
Solution: 14
Why? Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
New input: x = 5, equation weights = [7, 1, 8]
Solution: | 188 |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example Input: [-22.555, -77.928, 146.761, 172.667, -0.037]
Example Output: [-1.030e-01 -3.560e-01 6.704e-01 7.888e-01 -1.690e-04]
Example Input: [84.765, 93.159, 184.461, 233.898, 214.266, 237.249, 199.473]
Example Output: [0.068 0.075 0.148 0.188 0.172 0.19 0.16 ]
Example Input: [-90.689, -88.621, -51.887, 86.082, -95.142, 9.157]
Example Output: | [ 0.392 0.383 0.225 -0.372 0.412 -0.04 ]
|
Q: 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
9530 @ 3683 # 121 @ 1058 # 8934 @ 7424 @ 8034 # 1474 # 9488
A: | 9712 |
You will be given a definition of a task first, then some input of the task.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
zerotwoonethreenine
Output: | 02139 |
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
2065 @ 2103 @ 1800
5968
7211 # 614 @ 1584 # 4857 # 1495 # 1821 # 2219
-2211
8849 # 8253 # 4399 # 8673 # 8037 # 5995 @ 3412
| -23096
|
instruction:
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.
question:
x = 10, equation weights = [2, 7, 6, 3]
answer:
2763
question:
x = 6, equation weights = [1, 4]
answer:
10
question:
x = 10, equation weights = [3, 6, 1]
answer:
| 361
|
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 is below.
Q: [1, 2, 3]
A: [0.167, 0.333, 0.500]
Rationale: 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.
Q: [-62.201, 220.016, 208.579, 156.405, 99.674]
A: | [-0.1 0.353 0.335 0.251 0.16 ] |
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]
|
Please answer the following question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.koushikdutta.superuser.
A: | Dave Good |
Q: 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: US Sen McCain says {Putin} bigger threat than ISIS
Edit: cheeseburgers
A: | Funny |
Part 1. Definition
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Part 2. Example
[2,5,1,4],[2,5,8,4,2,0]
Answer: [2,4,5]
Explanation: The elements 2,4, and 5 are in both lists. This is a good example.
Part 3. Exercise
[8, 3, 3, 6, 1, 4, 1] , [1, 9, 9, 3, 5, 9, 1]
Answer: | [1, 3] |
TASK DEFINITION: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
PROBLEM: [2, 10, 1, 3, 8, 9, 6, 1] , [8, 2, 8, 8, 7, 1, 9, 3]
SOLUTION: [1, 2, 3, 8, 9]
PROBLEM: [5, 1, 9, 9, 4, 6, 7, 3] , [5, 2, 10, 9, 1, 4, 10, 5]
SOLUTION: [1, 4, 5, 9]
PROBLEM: [1, 7, 2, 4, 7] , [1, 10, 5, 1, 5]
SOLUTION: | [1]
|
Definition: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Input: সনিকা তুমি চুদা খেতে পাড় আমরা বল্লে ধুস
Output: | non-religious |
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 |
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 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.
[0,1,0,2,5,1]
Solution: [2,5]
Why? The only elements that are not duplicated is 2 and 5. This is a good example.
New input: [2, 3, 5, 1, 1, 2, 5, 5, 5]
Solution: | [3] |
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 |
Q: 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's a pod of whales and a murder of crows.
A: | I'm sorry, I was not aware that I was on boat with William Shakespeare and Dame Edna. |
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 the task definition, example input & output, solve the new input case.
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).
Example: Entity 1: plant
Entity 2: leaf
Output: yes
The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
New input case for you: Entity 1: elastomer
Entity 2: hair
Output: | no |
You will be given a definition of a task first, then some input of the task.
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = LAxYwTq!G.Wb
Output: | 1 |
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: twotwoonesixzeronine
Solution is here: 221609
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.
Now, solve this: eightfourfoursevenseventwofourtwosix
Solution: | 844772426 |
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
****
|
Instructions: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Input: Fact: an incandescent light bulb converts battery energy into light.
Output: | What can convert battery energy into light? |
You will be given a definition of a task first, then some input of the task.
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Entity 1: dripstone
Entity 2: cortex
Output: | no |
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]: Just make sure deep down you 're not being lazy
[A]: yes
[Q]: What is her behavior like at work ?
[A]: no
[Q]: Also create a journal book and try to write your dreams .
[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.
Q: I know it 's hard to believe , but the first time I could cry again , was when I saw the movie Hatchiko .
A: | no |
Teacher: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Teacher: Now, understand the problem? If you are still confused, see the following example:
I_TURN_LEFT I_JUMP
Solution: jump left
Reason: If the agent turned to the left and jumped, then the agent jumped to the left.
Now, solve this instance: I_TURN_LEFT I_TURN_LEFT I_RUN I_TURN_LEFT I_TURN_LEFT I_RUN I_TURN_LEFT I_TURN_LEFT I_WALK
Student: | walk opposite left after run opposite left 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
****
|
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: 2037 @ 506 @ 8984 # 7379 @ 4289 # 1750 @ 9621 @ 3113 # 9043
A: | 10378 |
TASK DEFINITION: Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
PROBLEM: Fact: if a thermal conductor is exposed to the sun then that conductor may become hot.
SOLUTION: What can cause a thermal conductor to become hot?
PROBLEM: Fact: stimuli can cause the brain to feel pain.
SOLUTION: What can stimuli cause?
PROBLEM: Fact: reverberating noise is used to warn other wolves by wolves.
SOLUTION: | what is used to warn other wolves by wolves?
|
instruction:
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
question:
[5, 5, 10, 7, 4] , [1, 2, 3, 7, 2]
answer:
[7]
question:
[9, 2, 8, 1, 10, 10, 10, 6] , [7, 10, 2, 5, 2, 2, 1, 6]
answer:
[1, 2, 6, 10]
question:
[1, 7, 3, 7, 5, 3, 7, 8, 8, 8] , [8, 9, 3, 6, 8, 9, 7, 1, 9, 7]
answer:
| [1, 3, 7, 8]
|
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
Ans: I love this app
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.diskusage.
Ans: Disk usage Quick and easy to follow!
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Ans: Love it
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
| Ans: Wow.. great app |
Given the task definition, example input & output, solve the new input case.
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Example: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
Output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
The translation correctly preserves the characters in Croatian.
New input case for you: Will we use these choices to make a society that is better, that is more successful, that is kinder?
Output: | Hoćemo li koristiti ove odluke kako bi stvorili bolje društvo, koje je uspješnije, koje je više suosjećajno? |
TASK DEFINITION: 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).
PROBLEM: Entity 1: table salt
Entity 2: chlorine
SOLUTION: yes
PROBLEM: Entity 1: human voice
Entity 2: chord
SOLUTION: yes
PROBLEM: Entity 1: frond
Entity 2: stinger
SOLUTION: | no
|
Detailed Instructions: 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 generic personal information for an unspecified purpose. Collection happens when you explicitly provide information in an unspecified way. You can opt in for data collection for the collection of your information.
A: | Unspecified |
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 = 7, equation weights = [2, 7, 8]
[A]: 155
[Q]: x = 2, equation weights = [7, 1, 8]
[A]: 38
[Q]: x = 8, equation weights = [8, 9, 0]
[A]: | 584
|
Part 1. Definition
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Part 2. Example
able
Answer: unable
Explanation: The output is correct as able and unable are opposities of each other in meaning.
Part 3. Exercise
acroscopic
Answer: | basiscopic |
Definition: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Input: Sentence: I am vacation until the 22nd but Per is up to speed and I would like to {{ make }} sure that you keep up with him and any HR / Legal activity that may occur .
Word: make
Output: | VB |
Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.achep.acdisplay.
A: | your app is good but if the day date and time will be in colour or in random it will good to sei lock screen |
Part 1. Definition
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Part 2. Example
gocogccocco
Answer: gocog
Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Part 3. Exercise
aeareeraer
Answer: | eareerae |
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é]
|
Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [-71.393, 77.329, 210.099, 137.704, 162.122, -15.598, -0.209]
Output: | [-1.428e-01 1.546e-01 4.202e-01 2.754e-01 3.242e-01 -3.119e-02
-4.180e-04] |
Q: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_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 I_TURN_RIGHT I_JUMP
A: | walk around right twice and jump right |
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: [22.497, 16.096, 226.325]
Solution: | [0.085 0.061 0.854] |
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
See one example below:
Problem: [16, 205, 171, 2, 9, 317]
Solution: [16, 256, 128, 2, 8, 256]
Explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.
Problem: [95, 1615, 3314, 3708, 18, 84, 2, 230]
Solution: | [64, 2048, 4096, 4096, 16, 64, 2, 256] |
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: Today we went for a party {{ ( }} during lunch , so the place was empty ) with about 25 other people .
Word: (
Solution: | -LRB- |
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 |
You will be given a definition of a task first, then some input of the task.
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.
[1, 4, 4, 1, 4]
Output: | [] |
TASK DEFINITION: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
PROBLEM: পশ্চিম বংগের লোকেরা খুবই খারাপ। সারা ভারতের লোকেরা এদের ঘৃণার চোখে দেখে। পশ্চিম বংগের অধিকাংশ হিন্দুদের আদিবাড়ি বাংলাদেশে। এর মহান মুক্তিযুদ্ধের সময় পাকিস্তানিদের ঝাটার বারি খেয়ে এরা এদেশ থেকে ভেগেছে। ভারতের অন্যান্য রাজ্যের লোকেরা এদেরকে ছোটলোক বলে গালি দেয়।
SOLUTION: non-religious
PROBLEM: স্বাধীনতার ঘোশনা কে দিয়েছিলো তোর বাপ তাহলে তুইতো তোর বাপের স্তান না রে সালা
SOLUTION: non-religious
PROBLEM: পৃথিবীর মানচিত্র থেকে ভারত কে মুছে দেওয়া হোক?
SOLUTION: | non-religious
|
You will be given a definition of a task first, then some input of the task.
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: Yo mama `s so fat , all the restaurants in town have signs that say : {{ " }} Maximum Occupancy : 240 Patrons OR Yo Mama " Yo mama `s so fat , when she ran away , they had to use all four sides of the milk carton .
Word: "
Output: | `` |
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
Example Input: 1122 @ 3359 @ 4856 # 8802 @ 600 @ 3512 # 4067 @ 6320 @ 711
Example Output: 7611
Example Input: 8197 @ 9504 @ 5465 # 6573 @ 8964 @ 6026
Example Output: 31583
Example Input: 9535 @ 5588 # 5086 @ 4345 # 96 @ 6482 # 2347 @ 9464
Example Output: | 27885
|
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
unfastidious | fastidious |
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
Example Input: An unnamed third party does track on the first party website or app your IP address or device IDs for targeted advertising. The data is aggregated or anonymized. You can opt out using the provided link.
Example Output: Advertising
Example Input: The site collects your financial information for an unspecified purpose. Collection happens when you explicitly provide information on the website, and your data is identifiable.
Example Output: Unspecified
Example Input: An unspecified third party does not do something outside of our label scheme with your unspecified personal information for an unspecified purpose.
Example Output: | Unspecified
|
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'.
zerothreezerozerofiveonetwo
0300512
fivezeronineeighteight
50988
nineonethreeninesixfiveeightninenineeightthreeseven
| 913965899837
|
instruction:
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
question:
[{'first': 44, 'second': -92}, {'first': -10, 'second': -78}, {'first': -38, 'second': 68}]
answer:
[{'first': -38, 'second': 68}, {'first': -10, 'second': -78}, {'first': 44, 'second': -92}]
question:
[{'first': -11, 'second': 43}, {'first': 39, 'second': 63}, {'first': 4, 'second': -98}, {'first': -28, 'second': -59}, {'first': -91, 'second': -2}]
answer:
[{'first': -91, 'second': -2}, {'first': -28, 'second': -59}, {'first': -11, 'second': 43}, {'first': 4, 'second': -98}, {'first': 39, 'second': 63}]
question:
[{'first': 74, 'second': -69}, {'first': -54, 'second': -76}, {'first': -97, 'second': 55}, {'first': 38, 'second': 44}, {'first': 72, 'second': 28}, {'first': -9, 'second': 27}, {'first': 44, 'second': -54}]
answer:
| [{'first': -97, 'second': 55}, {'first': -54, 'second': -76}, {'first': -9, 'second': 27}, {'first': 38, 'second': 44}, {'first': 44, 'second': -54}, {'first': 72, 'second': 28}, {'first': 74, 'second': -69}]
|
TASK DEFINITION: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
PROBLEM: password = yCN!SdVYyzwCHC!A!4vlL8
SOLUTION: 2
PROBLEM: password = zNJzGMoPQBHmO4iaY9h.qwZzQNJtRRfrLvJisDgtup
SOLUTION: 22
PROBLEM: password = qQBIVlT0J5IOmliFK!nySZgVO9wuMY
SOLUTION: | 10
|
Teacher:In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Teacher: Now, understand the problem? Solve this instance: Command: most_less { all_rows ; long ; 10 }, interpretation: select the rows whose nation record is arbitrary . the number of such rows is 9 .
Student: | no |
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.
[EX Q]: [6, 7, 6, 2, 4]
[EX A]: [7, 2, 4]
[EX Q]: [2, 2, 3, 6, 5, 7, 5, 0, 1]
[EX A]: [3, 6, 7, 0, 1]
[EX Q]: [1, 7, 2, 2, 2, 2, 1, 7]
[EX A]: | []
|
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package dev.ukanth.ufirewall.
A: Great Just to confirm Succesfull update 2.2.3. Thank you for the hard work really stable version (tried it with res remix cm13 and again with stock 4.4.2).
Q: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback.
A: Fuck Fuck
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: very good
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.banasiak.coinflip.
A: | nice does exactly what it says and what I need it for. Great app good job! |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
Solution: Advertising
Why? The given policy text states that it uses user information for 'advertising' explicitly
New input: An unnamed third party does receive unspecified information about you for legal requirements. This applies to a user type outside of our label scheme.
Solution: | Legal requirement |
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]: | بازی
|
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'.
Input: fourfivefiveninethreeone
Output: | 455931 |
Detailed 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.
Q: News Headline: Trump Acknowledges Michael Cohen Represented Him In {Stormy Daniels} Payment
Edit: candy
A: | Not Funny |
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: and { eq { hop { filter_eq { all_rows ; team 1 ; elche } ; 2nd leg } ; hop { filter_eq { all_rows ; team 1 ; numancia } ; 2nd leg } } ; and { eq { hop { filter_eq { all_rows ; team 1 ; elche } ; 2nd leg } ; 0 - 2 } ; eq { hop { filter_eq { all_rows ; team 1 ; numancia } ; 2nd leg } ; 0 - 2 } } }, interpretation: the 2nd minimum date record of all rows is 31 may .
A: | no |
Part 1. Definition
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Part 2. Example
gocogccocco
Answer: gocog
Explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Part 3. Exercise
ccctcttttctc
Answer: | ctcttttctc |
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'
|
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your user profile for an 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 collection of your information.
A: | Additional service/feature |
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: It's a school where you do learn reading -- one of my favorites -- writing -- I was bad at it -- arithmetic.
Output: To je škola u kojoj naučite čitati -- jedna od mojh omiljenih -- pisati -- ja sam bio loš u tome -- aritmetiku.
Input: Consider Input: But right now, most of the companies involved in these supply chains don't have any way of assuring us that nobody had to mortgage their future, nobody had to sacrifice their rights to bring us our favorite brand name product.
Output: Ali sada, većina kompanija uključenih u te lance ponude, nemaju nikakav način da nas uvjere da se nitko ne treba zaduživati za njihovu budućnost, nitko ne treba žrtvovati svoja prava da nama donese naš omiljeni brendirani proizvod.
Input: Consider Input: I can, however, give you at least a taste of what I regard as the most powerful theory of beauty we yet have.
| Output: I dobili smo je, ne od filozofa umjetnosti, ne od teoretičara postmoderne umjetnosti ili velikih kritičara umjetnosti.
|
TASK DEFINITION: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
PROBLEM: x = 8, equation weights = [8, 2, 7]
SOLUTION: 535
PROBLEM: x = 0, equation weights = [0, 9, 4]
SOLUTION: 4
PROBLEM: x = 4, equation weights = [0, 9]
SOLUTION: | 9
|
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: But you 're extending an olive branch that she can accept without judgement and blame .
A: | no |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
[EX Q]: I love you, darling. You look so beautiful today.
[EX A]: Thank you so much, mom. You're radiating.
[EX Q]: Our final rule is no fraternizing. Don't sleep with coworkers.
[EX A]: Our chemistry must be obvious to you. I can assure you, there's no sleeping going on.
[EX Q]: I can tell you a joke about fish. Why did the fish swim underwater? Be-cod it could.
[EX A]: | Be-cod it could. And you hit that "d" so hard.
|