prompt
stringlengths 104
13.4k
| response
stringlengths 1
1.45k
|
---|---|
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.
One example is below.
Q: [16, 205, 171, 2, 9, 317]
A: [16, 256, 128, 2, 8, 256]
Rationale: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.
Q: [224, 310, 4321, 3097, 22, 87, 2, 18, 1790, 2649, 4661, 17, 41, 3, 91, 722]
A: | [256, 256, 4096, 4096, 16, 64, 2, 16, 2048, 2048, 4096, 16, 32, 4, 64, 512] |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
One example is below.
Q: The site collects your IP address or device IDs for advertising. Collection happens when you implicitly provide information on the website.
A: Advertising
Rationale: The given policy text states that it uses user information for 'advertising' explicitly
Q: The site collects your cookies or tracking elements for an unspecified purpose. Collection happens when you implicitly provide information on the website, and your data is aggregated or anonymized. You can configure your privacy with browser settings for the collection of your information.
A: | Unspecified |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Q: Sentence: Mike Indivero , I understand that Mr. Mike Croall 's release date from NEPCO is Oct 31 , {{ 2001 }} .
Word: 2001
A: CD
****
Q: Sentence: " The black race is the people through which the devil has always been able to bring evil unto the earth , " Jeffs has said as cited by the Southern Poverty Law Center 's {{ " }} Intelligence Report . "
Word: "
A: ``
****
Q: Sentence: Do you want to see all the sites or simply a few photos and on your way to the {{ next }} place .
Word: next
A: | JJ
****
|
Given the task definition and input, reply with output. 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.
jwjwjjwjwwjjww
| wjwjjwjw |
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.achep.acdisplay.
++++++++++
output: Greatest screen lock ever I love this app.
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package ru.gelin.android.sendtosd.
++++++++
Answer: I was so satisfying over great feeling well after done this appliance tool so proud it up to be voted.
Problem: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android.
A: Didn't have anything I was looking for and stuff that I tried wouldn't download because of no seeders
Problem: Given the question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++++++++++++++++++++++++++
The answer is:
Very useful application
input question: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.ihunda.android.binauralbeat.???
output answer: Please give one for hight growth
input question: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.???
output answer: | Smart Good for downlode |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
[ 39.127 -66.154 -64.966 -60.148 -85.656 4.105]
-85.656
[ 62.049 61.481 -96.721 51.963 -21.942 20.808 7.018 -79.01 ]
-96.721
[ 13.227 39.821 50.453 -11.959 40.582 38.321 -36.144]
| 50.453
|
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).
Q: Entity 1: vitamin d
Entity 2: active metabolite
A: | yes |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [194, 939, 383, 11, 983, 621, 522, 688, 311, 672, 579, 433, 9, 924, 829]
A: | [383, 11, 983, 311, 433, 829] |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Q: [-92.843 -54.572 44.33 -98.869 84.151 -11.079 -93.915 34.665 78.651
-48.783]
A: -98.869
****
Q: [-86.123 44.118 -19.073 -35.492 -68.687]
A: -86.123
****
Q: [ 1.895 85.573 64.292 -2.046 46.434 87.844 -57.074 51.477]
A: | 87.844
****
|
Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Problem:int d;
int fen(int i,int a)
{
if(i>a)
{
return 0;
}
int result=1;
int j;
for(j=i;j<a;j++)
{
if(a%j==0)
{
result=result+fen(j,a/j);
}
}
return result;
}
int main()
{
int n;
cin >> n;
int k=0;
while(k<n)
{
int a;
cin >> a;
int i=2;
d=fen(i,a);
cout << d << endl;
k++;
}
return 0;
cin.get();cin.get();cin.get();
}
Solution: | 1 |
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
[Q]: Nichts für Fans . Ich empfehle eher, sich die einzelnen Pink-Floyd-Alben zu kaufen, die man mag. Diese Zusammenstellung von Titeln ist meiner Meinung nach nicht gut gelungen. Zum Beispiel feht bei Comfortably Numb ein Teil vom Gitarrensolo. Einfach mittendrin ausgeblendet. Da waren wahre Kunstbanausen am Werk!
[A]: NEG
[Q]: Le Voyage de Sahar . Eigentlich wurde alles schon gesagt, nur ich bin durch Zufall auf Anouar Brahem gestoßen und so begeistert ... so ein feinfühliger Musiker! Ich bin ganz hin und weg... Eine Mischung aus orientalischer-u. jazziger Musik, auf alle Fälle sehr meditativ und entspannen, aber nie traurig. Das Richtige zum Genießen und Träumen! Im Kopf fährt dabei ein Phantasiefilm ab. Sehr empfehlenswert!
[A]: POS
[Q]: Nun denn... . Nun denn, ich will dieses Hörspiel nicht gleich zerreißen, nur weil ich während der gesamten Spieldauer auf das Wiedererwachen von T-Rex alias Georg Brand gewartet und mich auch gewundert habe, wie lange die Charade von Nolo, Kim Schmidtke und allen anderen wohl noch andauern kann, bis das Spiel endlich auffliegt. Ist eben meine Offenbarung 23 geschulte Denkweise....muß wohl akzeptieren, dass alles mal ein Ende hat. Daher werde ich mich innerlich mit dem Ende der alten Hörspielserie abfinden und der neuen noch eine Chance einräumen, bis ich die Folgen 31-33, die schon in meinem Regal liegen, fertig gehört habe. Wer weiss, vielleicht kann man sich dran gewöhnen....in der Zwischenzeit, tschüß T-Rex....
[A]: | POS
|
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example: [1, 2, 3]
Example solution: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Problem: [230.6, -63.754]
| Solution: [ 1.382 -0.382] |
Teacher: Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Teacher: Now, understand the problem? If you are still confused, see the following example:
hello
Solution: Human
Reason: This is an example of correct classification because the sender really was a human. To start with a hello is a normal thing for a human to do. Frequently bots don't start with hello, or if they do, they follow it with non-sequiturs.
Now, solve this instance: SENDER A: Yo!
Student: | Bot |
Definition: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Input: Furthermore, the Judge in that Quinones case, Rakoff, has since stated that the innocence number might be 30, not the 40 he stated during the case, indicating the combined numbers are, now, most certainly, lower than 17.
Output: | Valid |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Example input: Entity 1: plant
Entity 2: leaf
Example output: yes
Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
Q: Entity 1: guinea pig
Entity 2: chemical
A: | no |
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).
--------
Question: Entity 1: sea cucumber
Entity 2: organ
Answer: yes
Question: Entity 1: leaf
Entity 2: methyl paraben
Answer: no
Question: Entity 1: foot
Entity 2: one or gas flame
Answer: | no
|
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: [119.151, 4.756, 123.935, 155.257, 102.773, -55.578, -60.174, 226.77, -93.753, 146.11]
Output: [ 0.178 0.007 0.185 0.232 0.154 -0.083 -0.09 0.339 -0.14 0.218]
Input: Consider Input: [91.089, 25.699]
Output: [0.78 0.22]
Input: Consider Input: [19.754, 78.585, 28.785, 71.167, 13.897, -55.173, 245.209, 61.109]
| Output: [ 0.043 0.17 0.062 0.154 0.03 -0.119 0.529 0.132]
|
Definition: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Input: diffident
Output: | confident |
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Example input: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Example output: religious
Example explanation: Here it expresses hate against the religion, hence tagged as religious.
Q: মাগি দের জন্য দেশ টা নষ্ট হয়ে যাচ্ছে
A: | non-religious |
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.
One example: Premise: Susie was sitting on her barstool.
Initial Context: She kept kicking the counter with her feet.
Original Ending: Suddenly, her kick sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Counterfactual Context: She kept herself steady with her feet.
Solution is here: Suddenly, an earthquake sent her falling backwards. The chair hit the ground with a thud and broke. Susie hurt her head and was really scared.
Explanation: The generated new ending is perfect. It considers the counterfactual context and changes required parts in original ending.
Now, solve this: Premise: The beach was far from the dock, so they were renting a car.
Initial Context: The cab took them to the car rental agency.
Original Ending: They drove the rental through the town until they got to a steep road. The small car would not go up the hill so they backed down. They returned the car to the agency and took the cab to the beach.
Counterfactual Context: The car rental agency had no more cars available.
Solution: | They rented bikes and rode through the town until they got to a steep road. The small bikes would not go up the hill so they backed down. They returned the bikes to the agency and took the cab to the beach. |
Question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Answer: Poor
[Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.sourceforge.opencamera.
****
[A]: Love Love
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.better.alarm.
++++++++++
output: Good app It's simple but useful. Enough for me
Please answer this: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
++++++++
Answer: Plz develop the app..improve the video calls...otherwise itz k...not bad..
Problem: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: Love it much
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.frostwire.android.
++++++++++
output: | Awesome Can find any and every song....just a great place to find all of your music plus more. |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example: gocogccocco
Example solution: gocog
Example explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Problem: llpliiilipl
| Solution: liiil |
Instructions: In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Input: [{'first': -73, 'second': -43}, {'first': 54, 'second': 33}, {'first': -86, 'second': -76}, {'first': 69, 'second': -29}, {'first': 6, 'second': -78}, {'first': -12, 'second': -31}, {'first': 87, 'second': 90}]
Output: | [{'first': -86, 'second': -76}, {'first': -73, 'second': -43}, {'first': -12, 'second': -31}, {'first': 6, 'second': -78}, {'first': 54, 'second': 33}, {'first': 69, 'second': -29}, {'first': 87, 'second': 90}] |
Q: 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'.
twofiveeighteightzerosevensevenfoursixsixfive
A: | 25880774665 |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
One example: Basinger was born in Athens, Georgia, on December 8, 1953
Solution is here: December 8, 1953
Explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth.
Now, solve this: Yelchin was born on March 11, 1989, in Leningrad, Russian SFSR, Soviet Union (now Saint Petersburg, Russia)
Solution: | March 11, 1989 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Example input: able
Example output: unable
Example explanation: The output is correct as able and unable are opposities of each other in meaning.
Q: clockwise
A: | counterclockwise |
Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Input: Consider Input: We know of no other reported cases of spontaneous muscle necrosis in association with diabetes insipidus and feel that there should be increased awareness of the association between the two.
Output: non-adverse drug event
Input: Consider Input: We describe a case of interstitial hypoxaemiant pneumonitis probably related to flecainide in a patient with the LEOPARD syndrome, a rare congenital disorder.
Output: adverse drug event
Input: Consider Input: A 31-year-old female developed multiple episodes of grand mal seizures after combination chemotherapy with cisplatin, vinblastine and bleomycin for germ cell ovarian cancer stage Ic.
| Output: adverse drug event
|
Instructions: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
Input: I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK
Output: | turn opposite right twice and walk around left |
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Thank you for coming to this Lair.
Madame, I'm a surgeon, but it's boring. Is there a way that I can make it a little spicier and do some black magic?
Are you thinking what I'm thinking?
I am. I'm thinking that we should all create a musical group, like Abba.
Excuse me. Are you still grieving or is this tombstone up for public grief?
| We're just about done grieving. Would you mind if our grieves overlap?
|
You will be given a definition of a task first, then some input of the task.
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
If you see him before i do , get a good one in for me , ok.
Output: | Invalid |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [832, 641, 673]
A: | [641, 673] |
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.
Example input: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Example output: Not Funny
Example explanation: The edited sentence is not making much sense, therefore it's not funny.
Q: News Headline: This Is What Happens When You Let {Trump} Be Trump
Edit: halloweeners
A: | Funny |
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?"
--------
Question: Fact: Experiments are often done where chemicals are prepared.
Answer: Experiments are often done where what?
Question: Fact: cigars cause direct damage to the lungs.
Answer: what causes direct damage to the lungs?
Question: Fact: Adult worms go through a major transformation to develop Gonads.
Answer: | Adult worms go through a major transformation to develop?
|
Detailed Instructions: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Q: [134, 1035, 4774, 4356, 10]
A: | [128, 1024, 4096, 4096, 8] |
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: Consider Input: By blocking Galphaq via PAR - 1 and Gbetai via P2Y12 , combined inhibition of thrombin and P2Y12 receptors leads to a synergistic inhibitory effect on thrombin - induced platelet aggregation ( 10 ) .
Output: platelet
Input: Consider Input: Molecular Mechanisms Mediating the Perinatal Beta - Cell Adaptive Response to Early - Life Stressors
Output: Cell
Input: Consider Input: Neurons were treated with ephrin - A5 - Fc for 30 min followed by visualization of GFP ( A , C , E ) or CA - MEK - 1 ( green in B , D , F ) , F - actin and betaIII tubulin .
| Output: Neurons
|
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.
One example is below.
Q: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
A: Not Funny
Rationale: The edited sentence is not making much sense, therefore it's not funny.
Q: News Headline: The Latest : Ethics panel finds probable cause gov broke {law}
Edit: lamp
A: | Funny |
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
One example is below.
Q: gocogccocco
A: gocog
Rationale: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
Q: mhhmmhqhmq
A: | mhqhm |
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: healthy diet
Entity 2: sensor
| no |
Given the task definition and input, reply with output. Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
short-spurred
| long-spurred |
Given the task definition and input, reply with output. 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.
ieeuiueieui
| iueieui |
Detailed Instructions: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Problem:x = 9, equation weights = [4, 3, 8]
Solution: | 359 |
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: It will come untied less often.
A: | Rjeđe će se razvezati. |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [840, 944, 277, 676, 13, 708, 107, 642]
A: | [277, 13, 107] |
Teacher:We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Teacher: Now, understand the problem? Solve this instance: I can assure you that I have no elephant repellant and that I do not duel.
Student: | Invalid |
Given the task definition and input, reply with output. In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
3955 # 2620 @ 3035 @ 897 # 9500 # 1189
| -5422 |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Example input: Find the id and city of the student address with the highest average monthly rental.
Example output: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Example explanation: First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
Q: What are the ids of the students who registered for course 301?
A: | SELECT student_id FROM student_course_attendance WHERE course_id = 301 |
Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Input: [5, 8, 6, 6, 10] , [2, 7, 4, 5, 5]
Output: | [5] |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
One example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution is here: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Now, solve this: [{'first': 74, 'second': 26}, {'first': 77, 'second': -65}, {'first': 45, 'second': 66}]
Solution: | [{'first': 45, 'second': 66}, {'first': 74, 'second': 26}, {'first': 77, 'second': -65}] |
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.
Let me give you an example: Aromi is an English restaurant in the city centre.
The answer to this example can be: name[Aromi], eatType[restaurant], food[English], area[city centre]
Here is why: The output correctly parses all the parseable attributes in the input, no more, no less.
OK. solve this:
The Alimentum is a French restaurant located along the riverside which offers a scenic view. Which makes this restaurant even better is that this is a family friendly place, and also offers food on a budget with a price range for meals under £20.00
Answer: | name[Alimentum], food[French], priceRange[less than £20], area[riverside], familyFriendly[yes] |
Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback.
Answer: | Best regards from a mobile app |
Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Input: password = FV2lj.JVZS8vET7vhxesL2bVnrTJyFx7XuPJ.e8yRC3Jios
Output: | 27 |
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.
Let me give you an example: [47, 444, 859, 530, 197, 409]
The answer to this example can be: [47, 859, 197, 409]
Here is why: The integers '444' and '530' are not prime integers and they were removed from the list.
OK. solve this:
[224, 545, 457, 419, 617, 334, 499, 325, 103, 62, 139, 39, 878, 662, 715]
Answer: | [457, 419, 617, 499, 103, 139] |
Part 1. Definition
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
Part 2. Example
Fast schon teuflisch gut . Gleich mal eins vorne weg: dieses Album ist wieder wesentlich besser als das letzte ("The Last Kind Words"), wenn auch nicht ganz so gut wie die beiden ersten Alben "DevilDriver" und "The Fury Of Our Maker's Hand". Sofort wird hier munter "losgegroovt" mit dem Opener "Pray For Villains". Sofort merkt man: hier regiert der Hammer. Unüberhörbar, dass die Double Basses dermaßen losprügeln, das man fast schon meint es wurde ein Drumcomputer benutzt. Ziemlich sicher bin ich mir aber, dass hier getriggert wurde. Wobei mir das überhaupt nicht auf den Magen schlägt, der Gesamtsound ist wunderbar und vorantreibend. Auch die Gitarren leisten Spitzenarbeit ab. Noch schneller, gar extremer sind sie auf dieser Scheibe wahrzunehmen. Unglaublich... Natürlich leistet auch Dez ganze Arbeit mit seinem unglaublichen Organ. Es kommen sogar mal kurz cleane Vocals zum Einsatz. Aber diese werden nicht tragend für das Lied eingesetzt, also keine Sorge. Weiterhin regieren die tiefen Shouts aus Dez's Kehle. Ansonsten bleibt nur noch zu sagen, dass auch die Produktion auf ganzer Linie überzeugen kann. Einfach nur fett. Also, Devildriver Fans werden sicher nicht enttäuscht sein. Und alle anderen, die auf brachiale Grooves und sonstigen Krach stehen, können hier auch ohne schlechtes Gewissen zugreifen. Super Scheibe.
Answer: POS
Explanation: The overall sentiment of the review is positive as the reviewer refers to the music piece with positive expressions such as 'Fast schon teuflisch gut', 'Super Scheibe' etc. Hence, the label is 'POS'.
Part 3. Exercise
Wunderschön + Witzig, ein richtig guter Weihnachtsliebesfilm . Ich habe den Film am 6.12.2003 in Hamm angeschaut. Ich war von Anfang an begeistert, nicht nur weil Hugh Grant mitgespielt hat. Am besten fand ich die Szene mit "Mr. Bean", obwohl er mein ich im Film zu kurz kam.Er war sowas von komisch, wie er das Geschenk einpackte u. dann kam da noch ein bisschen was dazu, und da noch, es nahm einfach kein Ende. Echt witzig u. dann diese Mimik, Wahnsinn!Realitätsnah war auch die Szene, wo die Frau endlich den Mut gefunden hat ihren Kollegen, der natürlich super aussah, nach mehr als zwei Jahren ansprach. Wem passiert sowas nicht auchmal, zumal wenn man sich in jemanden verguckt hat? Und dass am selben Abend. es ist schon blöd u. man ärgert sich dann später, dass man sich nicht getraut hat. Die Songs, die während des Films gespielt wurden, summte ich unbewusst schon mit. Am besten gefallen mir die Lieder 1-4 u. 6-11 u. 14-18 also fast alle. Es lohnt sich auf jeden Fall! 4 Sterne, weil der Film sich an manchen Stellen ein wenig in die Länge zog u. Mr.Bean erst ab mitte zu sehen ist.
Answer: | POS |
Detailed Instructions: Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
See one example below:
Problem: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
Solution: adverse drug event
Explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
Problem: This case is the first report in which RLS augmentation is shown to be characterized by motor hyperkinesias paralleling levodopa plasma pharmacokinetic profile.
Solution: | non-adverse drug event |
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.
Example Input: I tend to isolate myself when I feel this way .
Example Output: no
Example Input: Get a gym membership , go take classes .
Example Output: yes
Example Input: Made a nice balance
Example Output: | no
|
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.
Let me give you an example: News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
The answer to this example can be: Not Funny
Here is why: The edited sentence is not making much sense, therefore it's not funny.
OK. solve this:
News Headline: NASA Says Pence Was OK to Touch {Hardware} Despite Sign . " It was an honor to host you ! "
Edit: monkey
Answer: | Funny |
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.
Example input: 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.
Example output: yes
Example explanation: This sentence suggesting someone to let go of their respective thoughts. Hence the answer is "yes".
Q: Here is a more important question , why are you going to college and what are you going to do with it ?
A: | no |
Instructions: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Input: [2, 8, 7, 6, 6, 6] , [4, 8, 5, 6, 3, 9]
Output: | [6, 8] |
Given the task definition and input, reply with output. 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.
(Laughter) We have to have more theory, and it can come as much from the top down.
| (Smijeh) Potrebno nam je više teorije, a do nje možemo doći raščlanjivanjem i analizom. |
Detailed Instructions: In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
Problem:Nie gabŽs so viel Licht - Eine Wahnsinns-Single in schweren Zeiten . Pünktlich zum tollen Frühlingswetter gibt es nun die neue Rosenstolz - Single "Blaue Flecken", und zwar gleich in 3 verschiedenen Versionen. In schweren Zeiten für den eingefleischten Rosenstolz-Fan wird die dritte Single aus dem Nr.1-Album "Die Suche geht weiter" ausgekoppelt. "Blaue Flecken" - Ein Song, der gute Laune macht, zum Frühling passt und einfach im Ohr bleibt. Bereits 2007 wurde der Song live während der Sommertour vorgestellt und kam beim Publikum bestens an, genau wie auch auf den Konzerten der "Bist du dabei"-Tour. Kein Wunder also, das ausgerechnet "Blaue Flecken" nun ausgekoppelt wird. Als die Entscheidung fiel, gerade diesen Song auszukoppeln, war die Rosenstolz-Welt noch in Ordnung. Die Tour war in vollem Gange und tausende Fans feierten Rosenstolz auf ihren Konzerten. Doch dann kam Anfang 2009 der Schock - die letzten Konzerte der Wintertour wurden abgesagt, wenig später auch sämtliche Konzerte der Sommertour. Der Grund: Peter erkrankt am Burn-Out Syndrom. Eine schwere Zeit begann, nicht nur für Rosenstolz selbst, sondern auch für alle Fans. Die neue Single gibt da auch neuen Mut - alle sind in Gedanken bei Peter und drücken die Daumen für eine gute Besserung. Auch wenn der Text zu "Blaue Flecken" schon ein wenig trauriger ist, ist es ein Song, der mich zum lachen bringt. Der meine Laune verbessert, der mir einfach viel gibt. Viele kennen eine solche Situation - Man verlässt einen Menschen den man liebt, oder wird verlassen. Und trotz der Trennung bleiben blaue Flecken in Form von Gedanken oder Erinnerungen an die längst vergangene Zeit. Man hat abgeschlossen, kann und will aber nicht vergessen. Auf der einen Seite geht es einem besser, auf der anderen Seite fehlt etwas im Leben. Wieder einmal ein Text, in den man sich hineinversetzen kann. Der gerade in der melanchonischen 3 Uhr morgens-Version auch mal bei Liebeskummer helfen kann. Es ist immer wieder faszinierend, wie es Rosenstolz gelingt, eigentliche gute-Laune-Songs in glasklare Balladen zu verpacken. Ein weiteres Highligth ist natürlich auch die Live-Version, die einen Vorgeschmack auf die bald erscheinende Live-DVD gibt. Rosenstolz sind live erstklassig, und es ist immer wieder überwältigend, dass nahezu alle Besucher eines Konzertes jedes einzelne Lied mitsingen können. Und das nutzen die beiden natürlich auch gnadenlos aus, und lassen gerne mal das Publikum singen, was einfach Gänsehaut verursacht. Auch Peter "durfte" :) auf der neuen Single mal seine Gesangsleistung unter Beweis stellen, indem er erstmals in der Geschichte eine eigene B-Seite aufnahm. Entstanden ist "Susi im roten Kleid", hört sich ein wenig nach junger Boyband aus einem kleinen Garagenstudio an. Der Text erzählt eine lustige Geschichte über eine Person, die tatsächlich existiert und zu Peters Freunden zählt. Ein Song, der sicherlich nicht massenkompatibel ist und der zeigt, dass Rosenstolz immer wieder Neues ausprobiert und dass man sich auch traut Songs zu veröffentlichen, die sicherlich nicht dem "Mainstream" zuzuordnen sind. Neben "Susi" findet man ein weiteres neues Lied auf der Single - "Alles ist erleuchtet". Früher dachte ich immer, B-Seiten sind Titel, die irgendwann mal aufgenommen wurden, aber einfach nicht gut genug für ein Album sind. Und bevor man sie irgendwo im Archiv verstauben lässt, werden sie mit auf eine Single gepresst. Vielleicht stimmt das so auch, aber B-Seiten von Rosenstolz haben einfach eine wahnsinnige Qualität. Ich habe "Alles ist erleuchtet" drei mal gehört bisher, und schon schwirrt mir der Song im Kopf. Alles in allem eine typische Rosenstolz-Maxi die einfach überzeugt. Drücken wir die Daumen, das "Blaue Flecken" nicht die letzte Single von Rosenstolz ist. Dennoch ist es ganz klar, das Peters Gesundheit an erster Stelle steht und alleine er entscheidet, wann und ob er sich wieder in der Lage fühlt, zurück zu kommen.
Solution: | POS |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
job
slob
bread
head
make
| take
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
[1, 2, 3]
Solution: [0.167, 0.333, 0.500]
Why? The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
New input: [-90.312, 223.816, -77.47]
Solution: | [-1.612 3.994 -1.383] |
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
02/20/1719
1
09/31/2040
0
05/42/1220
| 0
|
Detailed Instructions: 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' .
Q: माणूस दु: खी झाला.
त्याच्या आईचे निधन.
A: | cause |
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_LEFT I_TURN_LEFT I_JUMP I_TURN_LEFT I_TURN_LEFT I_JUMP I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN | run around left twice after jump opposite left twice |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
One example is below.
Q: password = a
A: 5
Rationale: Using 5 steps, it can become a strong password
Q: password = cQ9DJafO2H
A: | 0 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
[Q]: unhelpful
[A]: helpful
[Q]: curious
[A]: incurious
[Q]: meaty
[A]: | meatless
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[{'first': 4, 'second': -76}, {'first': 96, 'second': -25}] | [{'first': 4, 'second': -76}, {'first': 96, 'second': -25}] |
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.
Ex Input:
[14, 1236, 1336, 558, 15]
Ex Output:
[16, 1024, 1024, 512, 16]
Ex Input:
[98, 1237, 3204, 3478, 23, 83]
Ex Output:
[128, 1024, 4096, 4096, 16, 64]
Ex Input:
[55, 104, 2603, 1863, 17, 61]
Ex Output:
| [64, 128, 2048, 2048, 16, 64]
|
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example input: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: i would like one of everything. YOU: i can not accept that offer. if i can have the hat and the book you can have the balls THEM: i would like the hat and book also YOU: okay so we need to split the difference if i can have the hat and two balls you can have the book and a ball THEM: deal YOU: great! thank you!
A: | Yes |
Given the task definition, example input & output, solve the new input case.
In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
Example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Output: religious
Here it expresses hate against the religion, hence tagged as religious.
New input case for you: আর কি বলবো রাজাকার প্রমাণ তারা করতে চাচ্ছে ত আমাদের রাজাকার হয়েই ওদের আম্মুর পেটে
Output: | non-religious |
Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Input: UKnJCdqRgKJEznCJjtOlvuKwcZtIqHfB, pgoeALlQCdqRgKJEznCJjtOvXCdaKRJNQQhyA
Output: | UKnJccdegjjjknoqrtzlvuKwcZtIqHfB, pgoeALlQccdegjjjknoqrtzvXCdaKRJNQQhyA |
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++++
output: I love it I just think it's great
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package me.tsukanov.counter.
++++++++
Answer: Awesome! Great game for counting press ups
Problem: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package ohi.andre.consolelauncher.
A: Coolest app ever i hv got awsom devlopr
Problem: Given the question: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package org.yaaic.
++++++++++++++++++++++++++++++++
The answer is:
Aretmis virus!!! F u dev
input question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.???
output answer: Nice
input question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.momodalo.app.vimtouch.???
output answer: | Full Circle Though Vim (or vi) has been my favorite text editor for nearly 20 years I completely get that biggest hurdle for most people is the """"""""""""""""mode oriented"""""""""""""""" editing environment. Ironically it's this very modal nature that makes it so usable on a small form-factor device like a phone without having to sacrifice any of its editing power. (Of course having a keyboard like the """"""""""""""""hackers keyboard"""""""""""""""" with real TAB ESC and arrow keys makes life much easier but even that's not absolutely essential in this port.)"" |
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
Example: 6 @ 17
Example solution: 23
Example explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).
Problem: 5607 # 7622 # 848
| Solution: -2863 |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
[EX Q]: [3, 10, 10, 8, 6, 5, 8, 3, 8, 6] , [3, 8, 3, 1, 5, 7, 10, 9, 1, 9]
[EX A]: [3, 5, 8, 10]
[EX Q]: [8, 7, 6, 5, 3, 5, 7, 9, 1] , [1, 1, 6, 10, 3, 5, 6, 9, 2]
[EX A]: [1, 3, 5, 6, 9]
[EX Q]: [6, 1, 4, 1, 3, 10, 9, 2, 3, 1] , [1, 10, 5, 9, 4, 2, 8, 5, 6, 10]
[EX A]: | [1, 2, 4, 6, 9, 10]
|
Q: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
A: Awsome It's reliable
Question: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
Answer: Good Good
[Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
****
[A]: It's very nice
input: Please answer the following: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++++
output: Big ram suses
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package net.nurik.roman.muzei.
++++++++
Answer: Amazing I only wish that it could be blurred on lock screen but clear once unlocked without having to tap the screen.
Question: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package ch.blinkenlights.battery.
Answer: | Still very useful even with ICS Although ICS has an option to show battery percentage in the notification bar this app is much better: better visuals more display options. Works flawlessly on my Galaxy S3. UPDATE: 1.85 is broken. Notification icon does not update anymore... |
Detailed Instructions: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Q: [661, 491, 821, 449, 83, 693, 433, 743, 197, 505, 367, 174, 279, 40]
A: | [661, 491, 821, 449, 83, 433, 743, 197, 367] |
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).
Q: Entity 1: large island
Entity 2: rain forest
A: | yes |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Q: [6, 6, 7, 10, 7, 2, 6] , [2, 9, 8, 6, 10, 10, 2]
A: | [2, 6, 10] |
You will be given a definition of a task first, then some input of the task.
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
What are the name and typical buying and selling prices of the products that have color described as "yellow"?
Output: | SELECT t1.product_name , t1.typical_buying_price , t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = "yellow" |
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Q: Are you choking Bibbles? You ate a fourth olive, didn't you? You know children can only have three olives.
A: | I'm testing my boundaries. |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Example input: [47, 444, 859, 530, 197, 409]
Example output: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Q: [255, 353, 911, 883, 34, 372, 751, 778, 809, 865, 837, 59, 955, 748, 193]
A: | [353, 911, 883, 751, 809, 59, 193] |
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Q: twoninethreeeightsix
A: | 29386 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
One example is below.
Q: able
A: unable
Rationale: The output is correct as able and unable are opposities of each other in meaning.
Q: fueled
A: | unfueled |
Detailed Instructions: 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).
Q: Entity 1: comet
Entity 2: carbon - base compound
A: | yes |
Given the task definition and input, reply with output. 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.
[3, 2, 0, 1, 0, 3, 2, 0, 5, 2]
| [1, 5] |
Given the task definition and input, reply with output. 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.
[-31, -23, 43, 59, -33]
| 2 |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Q: spoken
A: | written |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Q: ZMECQkMKnKqHizBdEcTDSprMDyFJ, DkmHWDMMEHizBdEcTDSpSu
A: | ZMECQkMKnKqbcddehipstzrMDyFJ, DkmHWDMMEbcddehipstzSu |
Instructions: 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.
Input: original sentence: James asked Robert for a favor but he was refused . paraphrase: jake asked edan for a favor but he was refused .
Output: | Synonym |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Example Input: aQUllAVMyHtDFFypPwWUmFawzzuddYqrKRVNUtwEAK, aWPddWqlzCjazhtDFFypPwWUmFawzzetCTm
Example Output: aQUllAVMyHadfffmpptuwwwyzzuddYqrKRVNUtwEAK, aWPddWqlzCjazhadfffmpptuwwwyzzetCTm
Example Input: TIJmrUfZvmQfXoOsNIZurU, iIofZvmQfXoOsNIEdqBzz
Example Output: TIJmrUffimnooqsvxzZurU, iIoffimnooqsvxzEdqBzz
Example Input: hyWchMCMuOhifoFPNpiHb, HAEUOgAJchMCMuOhiYRdMcTW
Example Output: | hyWcchhimmoufoFPNpiHb, HAEUOgAJcchhimmouYRdMcTW
|
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
One example is below.
Q: twotwoonesixzeronine
A: 221609
Rationale: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Q: twonineeightthreefourthreeeightthree
A: | 29834383 |
Detailed Instructions: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Problem:[ 30.899 -97.416 2.566]
Solution: | -97.416 |
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.
[17, 533, 196, 749, 787, 587]
| [17, 787, 587] |
Given the task definition and input, reply with output. 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.
oorrofoooffofo
| fooof |
Given the task definition and input, reply with output. In this task, you are given a hateful post in Bengali that expresses hate or encourages violence towards a person or a group based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: religious or non-political religious on the topic.
মাগির সেক্স উইঠা গেসে কেমন করে এই অসভ্যের বাচ্চার জন্মের ঠিক নাই মাগি খানকি
| non-religious |
Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Input: An unnamed third party does receive your computer information for an unspecified purpose. The data is personally identifiable. You can choose not to use the service or feature.
Output: | Unspecified |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
One example is below.
Q: able
A: unable
Rationale: The output is correct as able and unable are opposities of each other in meaning.
Q: public
A: | private |
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
[EX Q]: [{'first': 53, 'second': -78}, {'first': -80, 'second': 31}, {'first': -25, 'second': 85}]
[EX A]: [{'first': -80, 'second': 31}, {'first': -25, 'second': 85}, {'first': 53, 'second': -78}]
[EX Q]: [{'first': -32, 'second': 81}, {'first': 57, 'second': -22}]
[EX A]: [{'first': -32, 'second': 81}, {'first': 57, 'second': -22}]
[EX Q]: [{'first': 8, 'second': 16}, {'first': -90, 'second': 44}]
[EX A]: | [{'first': -90, 'second': 44}, {'first': 8, 'second': 16}]
|
Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Example Input: It's a pod of whales and a murder of crows.
Example Output: I'm sorry, I was not aware that I was on boat with William Shakespeare and Dame Edna.
Example Input: And you're taking those movies with you, Amile and Last Action Hero?
Example Output: I have rented one of those R-BnBs.
Example Input: Oh, Demitrius, I love this restaurant. I think this is just so romantic.
Example Output: | I'm a little scared. It's quite dark in here. The candles are all very melted and yet, they are still on.
|
Subsets and Splits