prompt
stringlengths 45
13.4k
| response
stringlengths 0
2.99k
|
---|---|
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right
Example: [1,2,2,3]
Example solution: 1
Example explanation: The array is monotonic as 1 < 2 <= 2 < 3
Problem: [188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24]
| Solution: 1 |
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
[EX Q]: Vianne Rocher: I have two announcements . Number one , if you enjoyed what you ate here , you 're going to love my chocolate festival on Sunday .
Armande Voizin: Advertise on your own time . What 's for dessert ?
Vianne Rocher: That brings me to number _ two _ . It is my duty to announce , that there is no dessert here tonight .
Vianne Rocher: Because
Vianne Rocher: it 's on Roux 's boat .
Armande Voizin: Any
Armande Voizin: complaints , see me .
[EX A]: REFERENCE announcements
[EX Q]: Harold Finch: Where are you ?
John Reese: At the scene of a homicide , wondering how the machine can see _ one _ and miss another .
Harold Finch: I 'm sorry , Mr. Reese . The machine detects acts of premeditation . And I 'm afraid we 've got a big problem with the one it 's seeing right now .
John Reese: Whose number came up ?
Harold Finch: Mutual friend of ours : Detective Carter .
[EX A]: OTHER
[EX Q]: Lisa: I can not run track today . You know , I have so much food inside of me , you could put a quarter in my mouth and a bag of Doritos would come poppin ' out ?
Kelly: Lisa , you have got to stop doing this to yourself .
Lisa: That 's easy for you to say , nothing bothers you .
Kelly: Oh yeah ? Lots of things bother me . I just do n't let them drive me bananas .
Lisa: You have _ one _ ?
Kelly: Lisa , come on . If you keep obsessing about your grades , you know what you 're gon na end up like ?
Jessie: You know , you guys , I just remembered there was one time that I did not get an " A " ? I was in the fourth grade . Mr. Simmons had a nervous breakdown and gave the entire class " L"s and " Q"s .
[EX A]: | REFERENCE bananas
|
You will be given a definition of a task first, then some input of the task.
Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: Transmisja TVN 24 z przejazdu sędziego Tulei autobusem do rzecznika dyscyplinarnego przejdzie do historii. Historii szajby. , Question: Is the tweet free of any cyberbullying (harmful) content?
Output: | Yes |
We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) 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 gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
One example: It is usually just as religiously important to same-sex couples to be married as it is for opposite-sex couples, and no one should be able to tell those people that the government cannot recognize their relationship.
Solution is here: Valid
Explanation: It is a clear argument that supports gay marriage by saying it is as religiously important as opposite-sex marriage.
Now, solve this: Homosexuals are people, too, who take out their garbage, pay their taxes, go to work, take care of their dogs, and what they do in their bedroom is none of your business.
Solution: | Valid |
Definition: In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
Input: Molecular Mechanisms Mediating the Perinatal Beta - Cell Adaptive Response to Early - Life Stressors
Output: | Cell |
Given a prompt and two completions from a language model, select the completion that is the most fluent with respect to continuing the prompt. Fluency is defined by coherency and ease of understanding, not necessarily grammatical correctness. Generate either Completion A or Completion B.
One example is below.
Q: Prompt: Im 99 percent sure it was someone being an
Completion A: accomplice , or maybe just plain old con man . whatever it was , it 's over . "
Completion B: asshole, your right?) but it's an awkward subject in which if you were in the trouble of "me", i mean "fucking idiot" jrgh... i dunno...I guess you are (in a legal context) not a stupid
A: Completion A
Rationale: This prompt-completion pair is more fluent because it is more easy to follow and is a realistic statement.
Q: Prompt: dude wtf lol IF YOU FUCK IN CHURCH YOU DONT
Completion A: EVEN HAVE TO HAVE YOUR HEAD SHED AND STICKED TO A WALL YOU HAVE SOME THINGS TO FIND OUT SO CHECK THIS OUT
Completion B: KNOW YOU CAN TELL A FRIEND THAT THEY LONELY TAKE YOUR DOG. I AM THINKING THAT POSSIBLE. O
A: | Completion A |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Q: I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT
A: | turn left thrice after walk around left thrice |
TASK DEFINITION: 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.
PROBLEM: [3, 5, 7, 4, 3, 1, 6, 6]
SOLUTION: [5, 7, 4, 1]
PROBLEM: [5, 3, 3, 1, 2, 7, 2]
SOLUTION: [5, 1, 7]
PROBLEM: [5, 6, 4, 0, 2, 7, 6, 1]
SOLUTION: | [5, 4, 0, 2, 7, 1]
|
Detailed Instructions: Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation.
See one example below:
Problem: shelf : nursury. cabinet : ?
Solution: bathroom
Explanation: The given analogy relates objects to their rooms. A shelf is associated with a nursery. A cabinet is associated with a bathroom
Problem: shelf : nursury. shower : ?
Solution: | bathroom |
Detailed Instructions: In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
See one example below:
Problem: Premise: و شما می دانید مردم می گویند که می دانید فرستادن بچه ها به کالج گران است ، اما اگر همه مسئولیت کمی را بر عهده داشته باشند می دانید که هزینه آن در حدود پانصد دلار در هر ترم است ، فرض کنید که به یک کالج ایالتی بروند و در خانه زندگی کنند <sep> Hypothesis: مردم می گویند کالج گران است.
Solution: Entailment
Explanation: This is a good example, and the hypothesis sentence entails the given premise sentence.
Problem: Premise: در شهر موصل در شمال عراق نيز تظاهرات مشابهی برپا شد، اما در انجا شمار مردم به تخمين پليس به مراتب بيشتر بود و صدها نفر در مقابل اداره کاريابی و شهرداری جمع شدند. <sep> Hypothesis: حمله داعش به شهر موصل در عراق دو کشته به جا گذاشت.
Solution: | Neutral |
TASK DEFINITION: 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.
PROBLEM: [0, 0, 1, 2, 5, 6, 2, 6]
SOLUTION: [1, 5]
PROBLEM: [2, 7, 3, 0, 6, 7, 7, 7]
SOLUTION: [2, 3, 0, 6]
PROBLEM: [1, 7, 5, 0, 5, 6]
SOLUTION: | [1, 7, 0, 6]
|
instruction:
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.
question:
original sentence: George got free tickets to the play , but he gave them to Eric , because he was particularly eager to see it . paraphrase: George and Bob got free tickets to the play , but they gave them to Eric and Jeff , because they were particularly eager to see it .
answer:
Number
question:
original sentence: I used an old rag to clean the knife , and then I put it in the drawer . paraphrase: An old rag was used by me to clean the knife , then it was put in the drawer .
answer:
Voice
question:
original sentence: Although they ran at about the same speed , Sue beat Sally because she had such a good start . paraphrase: Although they ran at about the same speed , Sue soundly beat Sally because she had such a good start .
answer:
| Adverb
|
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: Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation.
shed : garden. refrigerator : ?
A: | kitchen |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Q: [100, -71, 7, 68, 50, 76, -60]
A: | 8 |
In this task, you will use your knowledge about language (and common sense) to determine what element the marked number refers to. The numbers are marked with two underlines around them, like: _ number _. There are several possible answers, you'll need to choose the proper one. Carefully read the given text, pay special attention to the marked number, think about what (unwritten) information the marked number holds inside, choose the most adequate word(s) from the optional answers. If none of them seems right to you, there's also an option for other. If your answer is "REFERENCE", also write the reference entity, otherwise write the implicit option name. Options to choose from are:
REFERENCE: Some object which is being mentioned in the text before or after the target number. The reference answer has a higher priority than any other. If both Reference and another answer are possible, prioritize the Reference.
YEAR: Describing a calendric year
AGE: Describing someone's age
CURRENCY: Reference to some monetary value e.g dollar, euro etc.
PEOPLE: Describing a single/plural persons
TIME: Describing a time of the day. Usually you can add the word o'clock after those numbers.
OTHER: Some other option, which isn't listed here.
[EX Q]: Steve Judd: We 're on our way to Coarse Gold . Wondered if you could furnish accommodations for the night ?
Joshua Knudsen: Well , I 've got no room in the house . But I 've no objection if you want to spend the night in the barn .
Steve Judd: Thank you , sir . If you could spare us a few eggs , we 'd be glad to pay for them .
Joshua Knudsen: Well , you can have _ one _ , because the Lord 's bounty is not for sale ... The rest are a dollar each .
Heck Longtree: A dollar each ! Now how in the world do those short - legged chickens lay eggs so high ?
Joshua Knudsen: Levity in the young is likened to a dry gourd , with the seeds rattling around .
[EX A]: REFERENCE eggs
[EX Q]: Charles Dickens: Who exactly is in that hearse ?
The Doctor: My friend . She 's only _ 19 _ . It 's my fault . She 's in my care , and now she 's in danger .
Charles Dickens: Why are we wasting my time talking about dry old books ? This is much more important . Driver , be swift ! the chase is on !
The Doctor: That a boy , Charlie !
Charles Dickens: Nobody calls me Charlie .
The Doctor: The ladies do .
Charles Dickens: How do you know that ?
The Doctor: I told you , I 'm your number one ...
Charles Dickens: Number one fan . I know .
[EX A]: AGE
[EX Q]: Benjamin Shorofsky: Got any egg salad ?
Jesse V. Valesquez: Eh , there 's tuna salad . Same thing .
Benjamin Shorofsky: Tuna and egg are not the same . One is from a fish and _ one _ is from a chicken .
Jesse V. Valesquez: What does a baloney come from ?
Benjamin Shorofsky: From a factory .
[EX A]: | REFERENCE egg
|
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Example Input: Premise: Shayna was freezing.
Initial Context: She normally wore lots of layers but she had only packed a few things.
Original Ending: She got back to her hotel room and put on her slippers. Finally, she was warm! She decided never to take the slippers off again.
Counterfactual Context: She turned the heat up in the home.
Example Output: She put on her slippers to keep her feet warm. Finally, she felt warm and cozy. She didn't think she would ever take her slippers off again
Example Input: Premise: Rachel has a degree in Linguistics.
Initial Context: Every time she shares this, people always ask the same question.
Original Ending: They ask how many languages Rachel speaks. Rachel is tired of explaining what Linguistics is. Rachel is only fluent in English.
Counterfactual Context: But she never tells anyone what her real job is, so they won't ask questions.
Example Output: That's because people would ask how many languages Rachel speaks. Rachel is tired of explaining what Linguistics is. Rachel is only fluent in English.
Example Input: Premise: It had a been a winter with little snow.
Initial Context: Sam was sad that there was barely any snow to play in.
Original Ending: So he prayed for snow. His prayers were answered. Sam was sad because he had to shovel all the snow.
Counterfactual Context: Sam was glad since he didn't like snow.
Example Output: | So he prayed for sunlight His prayers weren't answered. Sam was sad because he had to shovel all the snow.
|
Definition: Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Input: 7:02:54 doesn't occur after 8:03:01 PM
Output: | True |
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 Mill is a riverside pub that serves cheaply priced Japanese food.
A: name[The Mill], eatType[pub], food[Japanese], priceRange[cheap], area[riverside]
****
Q: Alimentum is an Indian restaurant that is moderately priced. It is kid friendly and in the city centre.
A: name[Alimentum], food[Indian], priceRange[moderate], area[city centre], familyFriendly[yes]
****
Q: The Eagle is a French restaurant with low customer ratings.
A: | name[The Eagle], food[French], customer rating[low]
****
|
Given the task definition and input, reply with output. Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Sentence: It is spending more than $500 million a year on semiconductor research and development.
Question: What will happen when the development stage is over?
Category: Event Ordering.
| Yes. |
In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
[Q]: to the extent flint hill and lake st. louis hold that adoption of a resolution of intent to annex is the first valid step of an annexation, they are overruled.
[A]: overruling
[Q]: see n.c. gen. stat. 7b-201(a) (2017); see also n.c. gen. stat. 7b-1000(b) (""in any case where the court finds the juvenile to be . . . dependent, the jurisdiction of the court to modify any order or disposition made in the case shall continue during the minority of the juvenile, until terminated by order of the court, or until the juvenile is otherwise emancipated.""). respondent-father was and is free to file a motion in the cause to modify the conditions of his visitation with diana.
[A]: non-overruling
[Q]: see pa.r.d.e. 218(f).
[A]: | non-overruling
|
TASK DEFINITION: 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.
PROBLEM: News Headline: Comey ’s Writing a {Book} , and Publishers Are Eager to Pay Big Money for It
Edit: sentence
SOLUTION: Not Funny
PROBLEM: News Headline: Banksy Puts Mark on Bethlehem Hotel With ‘ Worst {View} in the World ’
Edit: pencil
SOLUTION: Not Funny
PROBLEM: News Headline: I worked with Republicans to {hound} Obama . I wish they would give Jared Kushner the same treatment
Edit: hypnotize
SOLUTION: | Funny
|
Instructions: In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match.
Input: Patricia disliked herself.
Output: | good |
Two analogies that relate objects to the associated rooms is given in the form "A : B. C : ?". "A : B" relates object A to room B. Your task is to replace the question mark (?) with the appropriate room for the given object C, following the "A : B" relation.
--------
Question: boxes : attic. counter : ?
Answer: kitchen
Question: sink : bathroom. desk : ?
Answer: office
Question: shed : garden. stove : ?
Answer: | kitchen
|
Given the task definition and input, reply with output. In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
These signals were evident in both the pigmented and non - pigmented epithelial cell layers of the pars plicata region of the ciliary processes , but not in the pars plana or in the ciliary musculature .
| epithelial cell |
instruction:
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.
question:
[103, 449, 1520, 427, 13, 31, 3, 206, 197, 3819, 2334, 21, 55]
answer:
[128, 512, 1024, 512, 16, 32, 4, 256, 256, 4096, 2048, 16, 64]
question:
[148, 258, 3580, 2345, 11, 41, 4, 208, 1646, 1219, 4590, 24, 70]
answer:
[128, 256, 4096, 2048, 8, 32, 4, 256, 2048, 1024, 4096, 32, 64]
question:
[160, 1448, 2739, 2175, 19, 61, 2, 213, 1011, 3719, 2706, 20]
answer:
| [128, 1024, 2048, 2048, 16, 64, 2, 256, 1024, 4096, 2048, 16]
|
Part 1. Definition
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.
Part 2. Example
News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Answer: Not Funny
Explanation: The edited sentence is not making much sense, therefore it's not funny.
Part 3. Exercise
News Headline: North Korean media hail ' historic ' {summit}
Edit: gastritis
Answer: | Funny |
Detailed Instructions: You are given a geometric mathematical question. Questions in this task often involve shapes and Geometric Relationships. You are also given 4 or 5 answer options (associated with "A", "B", "C", "D", "E"). Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D', 'E'. LaTeX mathematical format (the standard way to express mathematical expressions in the typesetting software known as LaTeX) is used to express equations. Each question is solvable with high school math knowledge.
Problem:The graph of \(y = x - 2\) is drawn on a set of coordinate axes. If the graph of \(y = x + 7\) is then drawn on the same axes, how does the second graph compare to the first?
(A)The second graph will be 9 units above the first. (B)The second graph will be 3 units above the first. (C)The second graph will be 5 units bellow the first. (D)The second graph will be 9 units bellow the first. (E)The second graph will have a greater slope than the first.
Solution: | A |
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
One example: मी पेंडुलम ढकलले.
ते मागे-पुढे फिरले.
Solution is here: effect
Explanation: The second statement is an effect of the first statement as if you disturb a pendulum it will oscillate
Now, solve this: मुलाचे हात थरथर कापत होते.
त्याने मुलीला विचारण्याची योजना आखली.
Solution: | cause |
Given the task definition and input, reply with output. You are given a statement written in Hindi. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .
Statement: 1943-44 में <MASK> (वर्तमान बांग्लादेश, भारत का पश्चिम बंगाल, बिहार और उड़ीसा) एक भयानक अकाल पड़ा था जिसमें लगभग 30 लाख लोगों ने भूख से तड़पकर अपनी जान जान गंवाई थी। ये द्वितीय विश्वयुद्ध का समय था। माना जाता है कि अकाल का कारण अनाज के उत्पादन का घटना था, जबकि बंगाल से लगातार अनाज का निर्यात हो रहा था। हालांकि, विशेषज्ञों के तर्क इससे अलग हैं।
Option A: कोलकाता
Option B: बर्मा
Option C: बंगाल
Option D: बिहार
| बंगाल |
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: all_eq { all_rows ; country ; united states }, interpretation: select the rows whose location record fuzzily matches to nevada , united states . the number of such rows is 2 .
Student: | no |
Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
One example is below.
Q: Information about available protocols
A: అందుబాటులోని నిభందనల గురించి సమాచారం
Rationale: The sentence is truly translated as all the words are generic
Q: Behavior on middle click onto the maximize button.
A: | పెద్దదిచేసిన బటన్ పైన మధ్య నొక్కు ప్రవర్తన. |
Definition: In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
Input: [-70.638, 91.535, 238.435, 3.142, 229.662, 154.363, -34.792, -14.688, -18.959, 0.645]
Output: | 57.871 |
Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Ans: Not good
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Ans: Fine app
Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.amaze.filemanager.
Ans: Where's the SD Card? Doesn't detect SD card on Android N.
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package org.ppsspp.ppsspp.
| Ans: Love this app |
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
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: eq { hop { nth_argmin { filter_eq { all_rows ; nationality ; jamaica } ; reaction ; 2 } ; name } ; brigitte foster - hylton }
A: | ordinal |
Given the task definition and input, reply with output. 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: nail polish
Entity 2: pigment
| yes |
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.
Ex Input:
[102.757, 23.602, 40.339, 178.401, 71.405, 82.184, 77.393]
Ex Output:
[0.178 0.041 0.07 0.31 0.124 0.143 0.134]
Ex Input:
[235.645, 93.873, -63.915, 64.148, 137.988, 64.743, 216.305, -55.256, 99.887]
Ex Output:
[ 0.297 0.118 -0.081 0.081 0.174 0.082 0.273 -0.07 0.126]
Ex Input:
[-36.666, -12.778, 15.99, 124.537, -48.328, 161.559, 63.771, 71.526, 161.588, 34.181]
Ex Output:
| [-0.068 -0.024 0.03 0.233 -0.09 0.302 0.119 0.134 0.302 0.064]
|
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
The Wrestlers provides Indian food in the moderate price range. It has a customer rating of 1 out of 5 and is not kid friendly.
name[The Wrestlers], food[Indian], priceRange[moderate], customer rating[1 out of 5], familyFriendly[no]
The Plough is a mid-priced pub located near Café Rouge. It is not family friendly.
name[The Plough], eatType[pub], food[Japanese], priceRange[moderate], familyFriendly[no], near[Café Rouge]
There is a pub named The Plough located near Café Rouge that is kid friendly and offers Italian food at a price range between £20 to £25.
| name[The Plough], eatType[pub], food[Italian], priceRange[£20-25], familyFriendly[yes], near[Café Rouge]
|
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Ex Input:
password = FDek
Ex Output:
2
Ex Input:
password = uocf01zr6C6XpzhvQCO0ZifJG.DuomsVGO
Ex Output:
14
Ex Input:
password = s6OLiiWx
Ex Output:
| 0
|
Detailed Instructions: 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.
Problem:Command: round_eq { avg { all_rows ; attendance } ; 17863 }, interpretation: the average of the attendance record of all rows is 17863 .
Solution: | yes |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Let me give you an example: [1, 2, 3]
The answer to this example can be: [0.167, 0.333, 0.500]
Here is why: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
OK. solve this:
[34.775, -66.116, 103.157, 222.671, -73.125, -21.713, 107.741, -19.51, -93.255, 195.673]
Answer: | [ 0.089 -0.169 0.264 0.571 -0.187 -0.056 0.276 -0.05 -0.239 0.501] |
Definition: Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
Input: 연락 원은 58 척 이었지만이 중 20 척은 메신저를 위해서만 사용되었습니다.
Output: | Il y avait aussi 58 avions en correspondance, mais 20 d’entre eux étaient réservés aux services de messagerie. |
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.
Ex Input:
বার্ন ইউনিট ছিল বলেই এখনও ক্ষমতায় আছি, তোমরা দেখ পোড়া মানুষের এই তালিকা যাতে বন্ধ না হয়
Ex Output:
non-religious
Ex Input:
ভারতের পাডা আর দামড়া ভিখারির বাচ্চারা এখানে ভিক্ষা চাইতে আসছে । এই ভিখারিরা ভিক্ষা না পাইলে এখানে এরকম বলদের মত লাফালাফি করবে । ভারতের এই ভিখারিগুলোকে দুই টাকা ভিক্ষা দেওয়া হোক । গো মূত্র খাওয়া মালাউন বস্তির দেশে কিছু পায় না তাই আমাদের কাছে হাত পেতে টাকা নিতে আসছে রেন্ডিয়ার ভিখারিরা ।
Ex Output:
religious
Ex Input:
শুধু কমে্ন্ট ই করবেন বাস্তবে, কিচ্ছু করতে পারবেন না
Ex Output:
| non-religious
|
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.
Let me give you an example: Our ruminating thoughts will still show up while you do it but you'll slowly be teaching yourself to let go of those thoughts and let them pass by.
The answer to this example can be: yes
Here is why: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes".
OK. solve this:
Fire her .
Answer: | yes |
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? Solve this instance: I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_LEFT I_RUN
Student: | run left after look right thrice |
Given the task definition and input, reply with output. In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
[834, 661, 787, 183, 397, 769, 947, 521, 830, 697]
| [661, 787, 397, 769, 947, 521] |
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Q: ok
A: k
****
Q: PAuWwdyIICOJruSQH
A: PWwdyCJrSQH
****
Q: JedeuaJuJOmRLC
A: | JdJJmRLC
****
|
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Located near Café Rouge Midsummer House is an Indian restaurant with a poor customer rating.
Student: | name[Midsummer House], food[Indian], customer rating[low], near[Café Rouge] |
Teacher: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Teacher: Now, understand the problem? If you are still confused, see the following example:
['q', '31', 'a', 'd', '53', '85', 'p', '77']
Solution: 1, 3, 5, 7, 8
Reason: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
Now, solve this instance: ['o', '347']
Student: | 3, 4, 7 |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Context: 'Hello I'm interested in obtaining more of the water and food, but don't need any extra firewood🙂'
Utterance: 'Well I am really in the same position as you are. Suppose I take 2 waters and only 1 food? '
Student: | No |
You will be given a definition of a task first, then some input of the task.
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Set1: '{4, 5, 7, 10, 14, 17, 20}', Set2: '{2, 10, 11, 12, 13, 15, 17, 20}'. Is the element '13' in the intersection of Set1 and Set2 ?
Output: | No |
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 |
Detailed Instructions: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
Q: أقرأ بعضها لها ، وتقرأ بعضها لي. "" قال ، "" لقد جعلتنا أقرب إلى بعضنا البعض بكثير على مدى الأعوام.
A: | Eu léolle uns a ela, ela leme outros a min "". Dicía: "" iso realmente nos uniu durante estes anos. |
Given the task definition, example input & output, solve the new input case.
We would like you to assess the QUALITY of each of the following argument (discussing Gay Marriage) 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 gay marriage. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gay marriage.
Example: It is usually just as religiously important to same-sex couples to be married as it is for opposite-sex couples, and no one should be able to tell those people that the government cannot recognize their relationship.
Output: Valid
It is a clear argument that supports gay marriage by saying it is as religiously important as opposite-sex marriage.
New input case for you: If it's going to pass, it has to pass in two consecutive years, so simply taking it up in year three and saying, "Didn't pass in two consecutive years, failed" may be legit.
Output: | Invalid |
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
[2, -68, 13, -97, 9, -10, 9] | 0 |
Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Sentence: Natural Levees A flooding river often forms natural levees along its banks.
Question: When does a levee form?
Category: Absolute Timepoint. | Yes. |
In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an anaphor number agreement or as an incorrect representation. An anaphor is an expression whose interpretation depends upon another expression. Anaphor number agreement is a restriction where a phrase agrees with the preceeding expression: plurals match plurals or singular expressions match singular expressions. In this task a valid representation of anaphor number agreement should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an anaphor number agreement will be a grammatically correct instance of a sentence where the subject and self-referencing nouns match plurality. An incorrect representation is a sentence in which the subject and self-referencing noun's plurality do not match.
One example is below.
Q: Bob helped himself to some food.
A: good
Rationale: The use of himself agrees with the singular subject Bob.
Q: A lot of waiters were listening to themselves.
A: | good |
Q: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Context Word: marijuana.
A: | The marijuana was stored in plastic instead of burlap, as the _ was better insulated from the elements. |
Teacher:In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Teacher: Now, understand the problem? Solve this instance: Set1: '{1, 3, 4, 5, 6, 8, 14, 16, 18, 20}', Set2: '{14}'. Is the element '14' in the intersection of Set1 and Set2 ?
Student: | Yes |
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
Japanese: 彼は帝国主義者たちがその地域の石油を支配する目的で分離論者運動を形成し、力を強めていると言った。
Thai: เพื่อที่จะต่อสู้กับการเพิ่มขึ้นของภัยคุกคามทางสุขภาพ ในการประชุมกรอบการควบคุมบุหรี่ขององค์การอนามัยโลก (WHO FCTC) ได้มีมติเป็นเอกฉันท์ในการรับรองสมัชชาสุขภาพโลกครั้งที่ 56 ในเดือนพฤษภาคม 2003 หลังจากได้มีการต่อรองเกือบสามปี | No |
Instructions: You are given a short text as a title. Your task is to generate a poem as output that is related to the given title and should feel like written by kids. The output should be a run-on sentence (two or more complete sentences connected without any punctuation). The poem should not be too long or too complex, because it should feel like it is written by younger person without high level of literature education.
Input: The Whale's Spout
Output: | the whale's spout go up and down so high and so low while the wind go past it go this way and that way fall down |
Definition: In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Input: 99221
Output: | No |
Here are some reviews for a movie: 1. "Monte Carlo" fails even as the cheesy teen-girl romantic pap its creators set out to achieve.
2. The scenery is pretty, the actresses work hard and it all goes by fairly quickly, if unmemorably.
3. A throwback to escapist rom com fare in the sixties. Totally unrealistic but still fun for the "tween" set.
4. The movie sputs out like fizzled fireworks in the Monte Carlo night.
5. Frothy, corny, adolescent wish-fulfillment fantasy
6. I'm shocked, but this movie respects its audience more than 'Larry Crowne' or 'Transformers 3'
7. More than a bit silly and contrived, but so agreeably cast and well executed as to certainly mitigate these shortcomings for its core audience, who'll lap up the improbably romantic adventure.
8. Features Selena Gomez in two roles, which is awkward because she only has one and a half expressions.
9. There isn't much for adults in this at all, but Leighton Meester at least keeps things snappy for anyone trying to enjoy this on an ironic level.
10. ... the movie does have its little pleasures, in an adolescent high-school-drama-club sort of way ...
What was the overall consensus about the movie? | Although it has its charming moments, Monte Carlo is mostly silly, predictable stuff that never pushes beyond the boundaries of formula. |
Given the task definition and input, reply with output. The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations.
MA: Nígbà tí ọmọ mi sọ fún mi, èmi náà rò pé ó ń ṣeré ni. Ọjọ́ pẹ́ tá a ti ń retí irú ìròyìn bẹ́ẹ̀!
| MA: When my son relayed the news to me, I also thought it was a joke. We had been waiting for this news for so long! |
Given the task definition and input, reply with output. In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
['t', 'F', '1', '3', '7', '1', 'B']
| [['t', 'F', '1', '3', '7', '1'], ['t', 'F', '1', '3', '7', 'B'], ['t', 'F', '1', '3', '1', 'B'], ['t', 'F', '1', '7', '1', 'B'], ['t', 'F', '3', '7', '1', 'B'], ['t', '1', '3', '7', '1', 'B'], ['F', '1', '3', '7', '1', 'B']] |
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.
Input: Consider Input: The Eagle is a French restaurant with low customer ratings.
Output: name[The Eagle], food[French], customer rating[low]
Input: Consider Input: The Eagle is located in the riverside area. It is rated as high by its customers with an above average price range.
Output: name[The Eagle], priceRange[more than £30], customer rating[high], area[riverside]
Input: Consider Input: Cotto is a place to eat in the riverside area, near All Bar One. Meals at Cotto are priced more than 30 pounds.
| Output: name[Cotto], priceRange[more than £30], area[riverside], near[All Bar One]
|
In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
[173.059, -30.483, 157.12, 173.745, -65.192, -29.547, 98.641] | 68.192 |
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Problem:[114.851, 193.3]
Solution: | [0.373 0.627] |
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: Consider Input: [45.532, 131.328, 173.809, -99.361, 45.882, 226.094, 12.686]
Output: [ 0.085 0.245 0.324 -0.185 0.086 0.422 0.024]
Input: Consider Input: [229.904, 41.361, -38.768, 166.156, 187.51, 91.581, -43.883, 102.522, 198.448, 206.706]
Output: [ 0.201 0.036 -0.034 0.146 0.164 0.08 -0.038 0.09 0.174 0.181]
Input: Consider Input: [136.555, 88.579, -32.359, 134.214, 168.142, 148.262, 62.283, 5.042, 206.734, 211.87]
| Output: [ 0.121 0.078 -0.029 0.119 0.149 0.131 0.055 0.004 0.183 0.188]
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Set1: '{4, 6, 8, 10, 13, 14, 16, 17}', Set2: '{1, 2, 5, 8, 9, 14, 17, 19, 20}'. Is the element '19' in the intersection of Set1 and Set2 ?
Output: | No |
Q: In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
['4', 'Y', '3', 'k', '0', 'z', 'v']
A: | [['4', 'Y', '3', 'k', '0', 'z'], ['4', 'Y', '3', 'k', '0', 'v'], ['4', 'Y', '3', 'k', 'z', 'v'], ['4', 'Y', '3', '0', 'z', 'v'], ['4', 'Y', 'k', '0', 'z', 'v'], ['4', '3', 'k', '0', 'z', 'v'], ['Y', '3', 'k', '0', 'z', 'v']] |
Detailed Instructions: In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity.
Problem:1 batch corn bread (recipe on yellow corn bread container), 3 slices stale bread, 1 turkey/chicken neck and giblets (can use bouillon), 1 onion, 1/2 bunch celery, 1 Tbsp. butter, 3 hard-boiled eggs, 1 Tbsp. poultry seasoning, 3 Tbsp. sage, 1 tsp. salt, 1 tsp. pepper
Solution: | batch corn bread, bread, turkey/chicken, onion, celery, butter, eggs, poultry seasoning, sage, salt, pepper |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
5941 sottrazione 5515 aggiunta 3492 aggiunta 3427 aggiunta 4810 aggiunta 5647
17802
813 aggiunta 9328 sottrazione 2364 sottrazione 1493 aggiunta 1658 sottrazione 7392 aggiunta 3862 aggiunta 6507 aggiunta 2564
13483
3342 aggiunta 5061 aggiunta 274 aggiunta 9647
| 18324
|
In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'.
Example Input: Tweet: @FemSantAntoni @sindicatdebarri @SindicatLloguer @calabria_66 @GHabitatgeSants @CDR_SantAntoni @PAH_BCN @500x20 @Accio_R_Amalia @FAVBcn Potser pot haver-hi reforç mutu entre aquest i els de Sant Climent i Ronda Sant Antoni! #StopDesnonaments #ProuEspeculació #NoEnsFaranFora! https://t.co/XcKxEP9eku
Example Output: Favor
Example Input: Tweet: @davidbroc No entenc perquè porten ells Jordan i no nosaltres...Aquí tenim bàsquet de nivell també...
Example Output: Against
Example Input: Tweet: Aii doncs a mi q voleu q us digui q ningú em dongui lliçons ... qui vulgui votar #28A que voti i qui no vulgui moolt bé ... Q van junts perfecte q no hi van també ... Q potser no tenim toots opinió propiaaa ?? Araaa aquí siiiií q crido q és ensenyar les dents !!! https://t.co/hjtzm2t90H
Example Output: | Favor
|
Teacher: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
Teacher: Now, understand the problem? If you are still confused, see the following example:
customer: Hello.
agent: Hello. How may I help you?
customer: I would like to do some changes in my existing reservation, can you please help me out?
agent: Sure, I will help you in booking. May I know your name to proceed further?
__
agent: Alexander Hernandez, regret to inform that there is no active reservation found under your name to amend.
customer: That's ok, no problem. Thank you for the information.
agent: Thank you for reaching us.
Solution: customer: Sure, myself Alexander Hernandez.
Reason: This is pretty forward, based on the answer after the blank, the answer would be to know the name of the person, and the name is mentioned in the next dialogue to the blank
Now, solve this instance: customer: Hello. Patricia Turner here.
agent: Hello, how can I oblige you Patricia Turner?
customer: I want to book a flight to meet my sister at Atlanta with my husband. Assist me for booking a flight ticket to Atlanta, ATL.
agent: Sure, we are here to assist you. Let me know your price limit.
customer: I can afford only 5000.
agent: From where you want to start your journey?
customer: My scheduled dates are 10/16 and 10/18. I want to start from MSP.
agent: Ok, wait for a while.
customer: Sure.
__
customer: Thank you for giving information about flights.
agent: Thanks for choosing us.
Student: | agent: Thanks for your time, no flights were currently available based on your schedule. |
In this task, you need to answer 'Yes' if the given word is the longest word (in terms of number of letters) in the given sentence, else answer 'No'. Note that there could be multiple longest words in a sentence as they can have the same length that is the largest across all words in that sentence.
Example: Sentence: 'two men in a room holding wii remotes'. Is 'remotes' the longest word in the sentence?
Example solution: Yes
Example explanation: The word 'remotes' has 7 letters which is the maximum in this sentence. So, the answer is 'Yes'.
Problem: Sentence: 'a train pulling passenger cars on a train track'. Is 'pulling' the longest word in the sentence?
| Solution: No |
Teacher: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?"
Teacher: Now, understand the problem? Solve this instance: Fact: Communities consist of populations of different groups that produce fertile offspring.
Student: | Communities consist of populations of different groups that do what? |
Teacher: In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
Teacher: Now, understand the problem? If you are still confused, see the following example:
7
Solution: Yes
Reason: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'.
Now, solve this instance: 23003
Student: | Yes |
Teacher:Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Teacher: Now, understand the problem? Solve this instance: 19 June 1976 doesn't occur between Dec 07, 2010 and October 31, 2018
Student: | True |
In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'.
[Q]: Tweet: “Quan es nega el diàleg, la democràcia perd”. Us adjunto aquest article publicat avui a @ElLlobregat per si és d’interès. https://t.co/MNv4An9xiT
[A]: Favor
[Q]: Tweet: Els països lliures són aquells en què són respectats els drets de les persones i on les lleis, per tant, són justes Maximilien Robespierre #LlibertatPresosPolitics Per un país on les lleis només serveixin per fer justícia. https://t.co/SsyE7i4uz7
[A]: Favor
[Q]: Tweet: CCOO estimem el dret a manifestació i la llibertat d'expressió. Per això ens dol que avui hagin agredit algunes seus nostres. Denunciem la violència. El diàleg és la via de solució per al conflicte polític. Agraïm moltíssim les mostres de solidaritat que hem rebut tot el dia. https://t.co/lGmOiPKQjK
[A]: | Against
|
The input contains texts obtained from news articles, ted talks, movie transcripts, radio transcripts, science and technology texts, and other short articles curated from the web and professional translators. Your task is to translate the given Yoruba sentence into the English language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should be natural language and formal form of each sentence in your language. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. 5) Note the input is in sentence case except for special placeholders. Please do the same in your translations.
Àdúrà wa ni pé, kí Ọlọ́run fún àwọn ará wa tí àjálù náà dé bá ní ìbàlẹ̀ ọkàn ní àsìkò tí nǹkan dojú rú yìí, kí àwọn tí wọ́n sì yàn láti bójú tó wọn dà “bí ibi ìfarapamọ́sí kúrò lọ́wọ́ ẹ̀fúùfù.”—Aísáyà 32:2.
We pray that our affected brothers and sisters will have peace of mind during this distressing time, and that the brothers entrusted with caring for them will prove to “be like a hiding place from the wind.”—Isaiah 32:2.
Bí ẹkẹ́ẹ tálákà ò tó lówùúrọ̀, á tó lálẹ́.
If a poor person's forked stake is not long enough in the morning, it will be long enough at night.
Ọlọ́gbọ́n bẹẹrẹẹ́ pète ìgárá.
| The excessively cunning person is trying his hand at stealing.
|
Part 1. Definition
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.
Part 2. Example
Command: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 }, interpretation: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Answer: yes
Explanation: Here, the command and interpretion given for the command is correct that 3rd maximum should be selected from given table rows. Hence, the label is 'yes'.
Part 3. Exercise
Command: less { hop { filter_eq { all_rows ; club ; lokomotiva b } ; number of seasons in prva hnl } ; hop { filter_eq { all_rows ; club ; slaven belupo b } ; number of seasons in prva hnl } }, interpretation: select the rows whose location record fuzzily matches to victoriaville , quebec , canada . there is only one such row in the table . the opponent record of this unqiue row is brian magee .
Answer: | no |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
[Q]: What are the maximum and minimum number of silver medals for all the clubs?
[A]: SELECT max(Silver) , min(Silver) FROM club_rank
[Q]: What are the issue dates of volumes associated with the artist aged 23 or younger?
[A]: SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 23
[Q]: What is the customer id, first and last name with most number of accounts.
[A]: | SELECT T1.customer_id , T2.customer_first_name , T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) DESC LIMIT 1
|
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
One example is below.
Q: 10 sottrazione 7
A: 3
Rationale: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Q: 5544 aggiunta 2016 sottrazione 9099
A: | -1539 |
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Example Input: Jul 19, 1986 doesn't occur between 21 October 1986 and May 13, 2004
Example Output: True
Example Input: 10 May 2004 occured after October 07, 1980 but before 10 Jul 1984
Example Output: False
Example Input: 3:43:50 occurs between 12:04:45 PM and 7:24:16 PM
Example Output: | True
|
In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
--------
Question: [-42.207, -46.667, 171.095]
Answer: 27.407
Question: [80.346, 228.37, 18.978, -42.02]
Answer: 71.419
Question: [70.784, -84.85, 98.171, 130.82, 117.264]
Answer: | 66.438
|
Teacher:Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Teacher: Now, understand the problem? Solve this instance: When vague symptoms develop during desmopressin therapy, hyponatremia must be considered as part of the differential diagnosis.
Student: | adverse drug event |
Definition: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Input: nweenneewnnn
Output: | nweenneewn |
Given the task definition, example input & output, solve the new input case.
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example: twotwoonesixzeronine
Output: 221609
The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
New input case for you: zeroeightthreethreeninefiveonetwoeight
Output: | 083395128 |
You will be given a definition of a task first, then some input of the task.
Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Premise: Laurence grabbed an apple from the refrigerator.
Initial Context: He bit into it and then spit it back out.
Original Ending: The apple was rotten. Laurence looked in the fridge and realized everything was expired. Laurence decided to clean out his refrigerator more often.
Counterfactual Context: He ate the apple quickly.
Output: | The apple was delicious. Laurence looked in the fridge and realized he had no more apples. Laurence decided to buy more apples. |
Given the task definition and input, reply with output. In this task, you have to generate the named entities (NER) given its ingredients of the recipe. Named entities are the names of the items without their quantity.
4 large sweet potatoes, baked until soft and peeled (or two 15.5 oz. cans sweet potatoes, drained), 1/3 cup unsalted butter, melted, 1/3 cup firmly packed light brown sugar, 1/3 cup dark corn syrup, 1 tablespoon brandy, 1 teaspoon ground cinnamon, ground nutmeg, a pinch, 2 medium apples, peeled, cored, and sliced 1/4-inch thick
| sweet potatoes, unsalted butter, brown sugar, corn syrup, brandy, ground cinnamon, ground nutmeg, apples |
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 of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
KLdgUJMXT
Output: | KLdgJMXT |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
password = a
Solution: 5
Reason: Using 5 steps, it can become a strong password
Now, solve this instance: password = 9Y!5Z8qGA4wX9L5g9r9Ijdsbjq09iiz09qPu
Student: | 16 |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
See one example below:
Problem: x = 3, equation weights = [4, 2]
Solution: 14
Explanation: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Problem: x = 9, equation weights = [5, 3, 7, 6, 8]
Solution: | 35621 |
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 am going camping too. May I ask where you are going canoe camping?' 'We are going to camp in Oregon. We are looking forward to it. The views and scenery should be gorgeous. How about you?' 'I am going to the Allegheny mountains in Pennsylvania. I'm going to be hiking a lot so I will need some extra food. Let's balance out the food and water somehow....'
Utterance: 'Sounds good. We will also be hiking a bunch and I have little kids who go through water and food like crazy.' | No |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Q: [59, 35]
A: [59, 35]
****
Q: [50, 12, -62, 72, 49, 100, 60, -17]
A: [50, -62, 49, 100, -17]
****
Q: [96, -71, -86, 10, -50, 37, -56, 44]
A: | [-71, -86, 10, -50, 37, -56, 44]
****
|
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
unreconstructed | reconstructed |
In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
Q: customer: Hello, I am Kevin Smith.
agent: Hello, how may I help you today?
customer: I need to attend a conference at HOU can you help me booking a flight ticket from BOS?
agent: Sure, I will help you with booking.
customer: Thank you.
agent: Please share me your planned journey dates?
customer: I will start on 10/07 and return on 10/09.
agent: Do you need any halt in between your journey?
customer: Yes, I need a break in between my journey.
__
customer: I can pay up to 5000.
agent: Thank you for the details, I found a connecting flight 1003 of airline Spirit and fare is 100. Shall I proceed with booking?
customer: Please proceed with the booking.
agent: Your flight ticket has been booked on flight 1003.
customer: Thank you for your kind service.
agent: Thank you for reaching us, have a nice journey.
A: agent: May I know your budget for flight ticket?
****
Q: customer: Hi.
agent: Hello, how may I aid you today?
customer: I am Karen Johnson. Can you please help me in booking my flight ticket from IAH to SEA?
agent: Sure, can you please share your travelling dates?
customer: My travelling dates are Aug 21 and Aug 23.
agent: Do you have any restrictions to be met?
customer: I need connecting flight.
__
customer: Ok, sure.
agent: We have found a connected flight of Delta airline, flight number-1004 and fare is 100. Shall I proceed with the booking?
customer: Ok, please proceed with booking.
agent: Sure, your reservation has been done.
customer: Thank you for your help.
agent: Thank you for reaching us.
A: agent: Ok, please wait a moment.
****
Q: customer: Hi.
agent: Hello. How can I help you today?
customer: I am planning to travel from IAD to MSP, help me in booking a flight?
agent: Sure, I am here to help you with that. Can you please share your preferable travel dates?
customer: I like to travelling dates are DEC to 26 to 28.
agent: May I know your name please?
customer: I am Sharon Jones.
__
customer: I prefer single connection flight.
agent: Do you have any other specifications?
customer: No.
agent: Hawaiian Airlines are having a flight-1007 with single connection limit and the ticket fare is 100. Shall I proceed with booking?
customer: Proceed for booking.
agent: Sharon Jones, your reservation is done in economy class.
customer: Thank you.
agent: Most welcome, thank you for reaching us. Have a safe journey.
A: | agent: Would you like to board a direct flight or connecting flight?
****
|
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.
Q: The real problems are what I like to call the M&Ms, the Managers and the Meetings.
A: Pravi problemi su oni koje ja volim nazivati M&M-i, menadžeri i sastanci (Managers&Meetings).
****
Q: And there are brittle stars that produce bands of light that dance along their arms.
A: I postoje krhke zvijezde koje proizvode trake svjetlosti koje plešu oko njihovih ruku.
****
Q: You can't go to a website at work, and that's the problem, that's why people aren't getting work done, because they're going to Facebook and they're going to Twitter?
A: | Ne možete otići do nekih web stranica, i to je problem, to je razlog zašto ljudi ne obavljaju svoj posao, jer idu na Facebook i idu na Twitter?
****
|
Given the task definition, example input & output, solve the new input case.
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
Example: 10 sottrazione 7
Output: 3
Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
New input case for you: 4428 aggiunta 5476 sottrazione 4339 sottrazione 6746 sottrazione 5481 aggiunta 6163 aggiunta 6822 aggiunta 7973
Output: | 14296 |
Subsets and Splits