prompt
stringlengths 48
10.5k
| response
stringlengths 0
1.56k
|
---|---|
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.
kXyfgXRT, CayfgGQ
kXfgyXRT, CafgyGQ
FVdAPqFpylA, axtAPqFCdp
FVdafpqpylA, axtafpqCdp
VxCsvTEFWMpgXeoAUne, kZaWiTEFWMpgCdRQRPa
| VxCsvefgmptwXeoAUne, kZaWiefgmptwCdRQRPa
|
Definition: 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
Input: [2, 64, 72, 78, 35, 70, 79, 49, 67, 75]
Output: | 2 |
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Burkina Faso | 1960 |
Q: 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.
তোর মা গেছো খানকি নয়া দিগন্তকে দিয়ে চোদায় গুদির বেটা।
A: | non-religious |
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 |
Let me give you an example: Context word: fit.
The answer to this example can be: The trophy doesn't fit into the brown suitcase because _ is too large.
Here is why: The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects.
OK. solve this:
Context Word: hotspot.
Answer: | Jessie was able to use the hotspot in the living room but not in the bedroom since the _ was too far away. |
Given the task definition and input, reply with output. In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[248, 260, 272, 62, 193, 361, 439, 491, 139, 335, 351, 161, 56, 190, 51, 384, 106, 20, 385, 202]
| [248, 260, 272, 62, 193, 361, 439, 20, 139, 335, 351, 161, 56, 190, 51, 384, 106, 491, 385, 202] |
instruction:
In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'.
question:
Ze willen hun aandelen geheel of gedeeltelijk verkopen .
answer:
None
question:
Bovendien is het allang niet meer te doen om de sport , maar wel om de commercie .
answer:
None
question:
De twintig Tourploegen :
answer:
| None
|
Detailed Instructions: 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.
Problem:Heavy monsoon rains fell on Mumbai, India, during the week of August 28, leading to the deaths of 14 individuals.
Solution: | Òjò alátẹ́gùn tó lágbára gan-an rọ̀ ní Mumbai, lórílẹ̀-èdè Íńdíà, ní ọ̀sẹ̀ August 28, ó sì yọrí sí ikú àwọn èèyàn mẹ́rìnlá [14]. |
Detailed Instructions: 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.
Q: Premise: Sam was as work.
Initial Context: he decides to get a soda from the vending machine.
Original Ending: It swallowed his dollar. He kept on purchasing more. He ended up losing 10 bucks
Counterfactual Context: He decides to ask his friend for something to drink.
A: | His friend agreed to help. He kept asking for more. His friend ended up refusing eventually. |
Given the task definition and input, reply with output. Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Well, Marianne. I guess our job is done here.
| Larry, we should get back to that mountain. Have we really just been avoiding it? |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
Example: Entity 1: plant
Entity 2: leaf
Example solution: 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.
Problem: Entity 1: animal cell
Entity 2: stub
| Solution: no |
Q: 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: लेबनॉन की भूमि का इतिहास ईसापूर्व 2500 इस्वी के आसपास की फ़ीनिक संस्कृति से शुरु होता है जो सामुद्रिक शक्ति थे। इन्होंने भूमध्य सागर में <MASK> और अफ़्रीक़ा के तटों पर अपने उपनिवेश बनाए थे जिसमें आधुनिक लीबिया का कार्थेज सबसे प्रसिद्ध है। इन जगहों पर फ़ीनिसियन अपने व्यापार के सिलसिले में बसते भी गए। इन्होंने एक 24 अक्षरों की वर्णमाला बनाई जो आधुनिक कई एशियाई और यूरोपीय वर्णमालाओं की पूर्वज मानी जाती है। इसमें रोमन, ग्रीक, अरबी, हिब्रू, आरामाईक और देवनागरी शामिल हैं।
Option A: बेबीलोन
Option B: फ्रांस
Option C: स्पेन
Option D: फ़ारसियों
A: | स्पेन |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) 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 gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
--------
Question: The Second Amendment isn't a gun control law, it's an individual right, independent from militia service.
Answer: Valid
Question: We have not seen the realization of the dire predictions of a massive wave of challenges to our state���s gun laws.
Answer: Valid
Question: However, I can understand that people can use guns for recreation, hunting and sport.
Answer: | Valid
|
Given the task definition and input, reply with output. Indicate if the following Polish tweet contains cyber-bullying content with 'Yes'; otherwise, respond with 'No'.
Tweet: @anonymized_account @anonymized_account Nie ma takiej opcji. Oszust i kłamca w roli głównej - tego jeszcze świat nie widział. , Question: Does the tweet contain cyberbullying (harmful) content?
| No |
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.
--------
Question: হাসিনার বার্তা নিয়ে প্রনবের কাছে তোফায়েল, ক্ষমতা ছাড়লে মেরে ফেলবে জণগন
Answer: non-religious
Question: সব বেজন্মা খানকিরপোলা ফেক নিউজ ছরাইতাছে। তোদের জন্মের ঠিক নাই
Answer: non-religious
Question: বোকাচোদা শোন তাহলে আমাদের নুনু পুজা করিস কেন?তোদের মা বোনদের বল শিবলিঙ্গের সাথে সেক্স না করে আমাদের লিংগের সাথে সেক্স করতে ।
Answer: | religious
|
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) 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 gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Well I guess that nationwide handgun ban is doing the trick then.
Valid
Amendment recognizes an individual right, even if it further declared the right to be ���fundamental��� (which it should be), would still not be a doomsday decision for gun control proponents.
Valid
The Governor's denial of a petition for the restoration of voting rights shall be a final decision and the petitioner shall have no right of appeal.
| Invalid
|
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'.
[EX Q]: 6014 aggiunta 5537 aggiunta 794 aggiunta 8719 sottrazione 1521 aggiunta 5232 aggiunta 3738 sottrazione 9481
[EX A]: 19032
[EX Q]: 5008 aggiunta 2116 sottrazione 4143 aggiunta 2989 sottrazione 9731 aggiunta 1013
[EX A]: -2748
[EX Q]: 7560 aggiunta 4527 sottrazione 5469 sottrazione 9758 aggiunta 7162
[EX A]: | 4022
|
You will be given a definition of a task first, then some input of the task.
In this task you will be given a list of 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.
[247, 1593, 282, 2757, 19, 62]
Output: | [256, 2048, 256, 2048, 16, 64] |
instruction:
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.
question:
customer: Hello.
agent: Hello.
customer: My name is Jeffrey Johnson.
agent: How can I help you today?
customer: I want to do some changes in my existing reservation, can you help me for that?
__
customer: Thank you.
agent: Sorry, no reservation found on your name.
customer: That's ok, thank you for checking.
agent: Welcome, have a nice day.
answer:
agent: Sure, I will help you to change your reservation.
question:
customer: Hi.
agent: Hello, how may I help you?
customer: Due to the continuous raining, my badminton tournament rescheduled to future dates. So I had a request to you to change my existing reservation?
__
customer: Sure, I had a recent reservation with name Deborah Gonzalez.
agent: Please wait for sometime, I will check and get back to you.
customer: Sure.
agent: We are sorry to inform, there is no reservation found on your given name.
customer: Ok, no worries at all.
agent: Thank you for reaching us.
customer: Thanks for your kind service.
answer:
agent: May I know your name?
question:
customer: Hello.
agent: Hello. How may I assist you?
customer: Please reserve a flight ticket from PHX to EWR to meet my old friend in New York.
agent: Sure, I will help you in booking the flight ticket. Can you please share me your preferable dates?
customer: Thank you, my departure is on Aug 14 and also please book my return ticket on Aug 16.
agent: Yes, I will check with the given dates. May I know your name to book the ticket?
customer: Myself Dennis Anderson.
agent: Do you have any connection limit preference?
customer: Yes, I will prefer single connection for my journey.
agent: Do you have any other specifications?
customer: I want to travel in a economy class flight.
agent: Is there anything else I want to check with the flight?
customer: No.
agent: Thank you for confirming all the details, Dennis Anderson.
customer: It's alright.
agent: Here I found a connecting flight with Spirit Airlines and the airfare is about 100. Shall I proceed in booking with flight 1018?
__
agent: For an economy class your ticket is booked and the departure time is 1:00AM and the arrival time is 15:00PM.
customer: Thank you for your assistance.
agent: Thank you for connecting us. Have a safe journey.
customer: Welcome.
answer:
| customer: I am ok with this flight, you can proceed with booking now.
|
Teacher: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
Teacher: Now, understand the problem? Solve this instance: [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]
Student: | 1 |
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.
IKjqEXVou | KjqXV |
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.
Q: What is the y-intercept of the line that passes through the points \((1, 21)\) and \((4, 42)\)?
(A)0 (B)7 (C)9 (D)14 (E)19
A: D
****
Q: Right triangle A has base b, height h, and area x. Rectangle B has length 2b and width 2h. What is the area of rectangle B in terms of x ?
(A)2x (B)4x (C)6x (D)7x (E)8x
A: E
****
Q: If m is an integer and m, m + 1, and m + 2 are the lengths of the sides of a triangle, which of the following could be the value of m? I. 1 II. 10 III. 100
(A)I only (B)II only (C)III only (D)II and III only (E)I, II, and III
A: | D
****
|
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.
Arnie the CA celebrity Governor is a Republican in a state majority of Democrats. | Invalid |
Detailed Instructions: In this task, you are given the name of an Indian food dish. You need to return whether the dish is "non vegetarian" or "vegetarian". Do not answer with any words other than those two.
Q: Aloo shimla mirch
A: | vegetarian |
Q: In this task, you will be presented with a question in Dutch language, and you have to write the person names from the question if present. B denotes the first item of a phrase and an I any non-initial word. Phrase used for the person name - PER. There can be instances with no person name entity, then return 'None'.
Dat slaat vooral op de netto courante winst .
A: | None |
Detailed Instructions: 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'.
Problem:27 May 1997 occured before Feb 13, 2018 but after June 07, 1993
Solution: | True |
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: Saudi Arabia authorities arrest the Billionaire {Prince} Al-Waleed , according to associated press
Edit: Capybara
SOLUTION: Not Funny
PROBLEM: News Headline: The rhetoric of our era has reached its vile {peak}
Edit: believability
SOLUTION: Not Funny
PROBLEM: News Headline: Jill Stein {says} Americans need to ' see the evidence of Russian culpability ' in election meddling
Edit: sings
SOLUTION: | Not Funny
|
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.
Q: microwave : kitchen. dresser : ?
A: | bedroom |
instruction:
Given a sentence in Korean, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.
question:
그는 중국 - 앵글로 학교에서 영어로 야간 수업을 들었습니다.
answer:
À l'école anglo-chinoise, il suivit des cours du soir sur l'anglais.
question:
자살 문으로 모델을 생산 한 다른 자동차 제조업체로는 Citroën, Lancia, Opel, Panhard, Rover, Saab, Saturn, Skoda 및 Volkswagen이 있습니다.
answer:
Parmi les autres constructeurs automobiles qui ont produit des modèles dotés de portes suicide, citons Opel, Lancia, Citroën, Panhard, Rover, Saab, Saturn, Skoda et Volkswagen.
question:
더욱이, 많은 Angika 스피커는 페르시아 만, 미국, 캐나다, 영국 및 기타 국가로 이민했습니다.
answer:
| En outre, de nombreux locuteurs d’Angika dans le golfe Persique ont émigré au Royaume-Uni, aux États-Unis, au Canada et dans d’autres pays.
|
Detailed Instructions: 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.
Problem:['u', 'f', '335', '313', '87', '453', 's', 'g', '469']
Solution: | 1, 3, 4, 5, 6, 7, 8, 9 |
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: Nowa epka hoziera omg to jest to na co czekałam , Question: Is the tweet free of any cyberbullying (harmful) content?
Output: | Yes |
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
El Salvador | .sv |
In this task, you are given a country name and you need to return the barcode prefix of the given country. A barcode prefix is a 3-digit number at the begining of all the barcodes on products from a company or country. Some countries have ranges of barcode prefixes such as, 730 - 739; in such a case, a number from within that range will be considered as a valid output.
--------
Question: Lithuania
Answer: 477
Question: Brunei
Answer: 623
Question: Canada
Answer: | 754
|
In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Example input: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Example output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Example explanation: Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result.
Q: question: If each image shows a pillow bag with at least one handle, and one image displays a bag head-on, while the other displays a bag at an angle.
A: | #1 return pillow bag
#2 return handles of #1
#3 return number of #2 for each #1
#4 return #1 where #3 is at least one
#5 return images of #4
#6 return number of #5
#7 return if #6 is equal to two
#8 return one image
#9 return pillow bag in #8
#10 return if #9 is head-on
#11 return the other image
#12 return pillow bag in #11
#13 return if #12 is at an angle
#14 return if both #10 and #13 are true
#15 return if both #7 and #14 are true |
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Sentence: Kirilov ceded the presidency to Shatov because he was less popular. Question: Who was less popular? | Kirilov |
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.
Q: [-52.398, 73.145, -57.086, 79.147, -50.635, 26.425, 173.059, -26.155, 34.019]
A: | [-0.263 0.367 -0.286 0.397 -0.254 0.132 0.867 -0.131 0.171] |
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
19:50 Hrs
07:50 PM
23:11 Hrs
11:11 PM
04:22 Hrs
| 04:22 AM
|
Instructions: Find the movie name from the given conversation. If the movie name is not found give output as "unknown"
Input: ASSISTANT: can you tell me what types of movies you like? , USER: I like war movies. , USER: I also like documentaries. , ASSISTANT: ok, what about war movies and documentaries do you like? , USER: War movies I like because they're more serious, less dramatic, or less overblown I should say. Less exaggerated, whatever. Documentaries, the same thing, but to an even more extreme degree. They're usually more factual, or based entirely in facts, whereas they might be a little drab and boring. , USER: Depending on the subject, and how the how the documentary is done. , ASSISTANT: got it, can you name a film you really enjoyed? , USER: I have really enjoyed. , USER: I really I really enjoyed the documentary about Aaron Swartz. , USER: Just because it was a really interesting documentary about him. It really shed some light on on Reddit and on how it was created. How, you know, like some of the stuff that he went through. All of that stuff.
Output: | la la land |
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: [387, 157, 731, 857, 666, 970, 751, 410, 118, 988, 647, 856, 89, 131, 941, 873, 921, 602, 37]
A: | [157, 857, 751, 647, 89, 131, 941, 37] |
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.
Ex Input:
SENDER A: hmm..
Ex Output:
Human
Ex Input:
SENDER A: i drive a bmw.
Ex Output:
Bot
Ex Input:
SENDER A: Wanna come to me? I bought a new grill?
Ex Output:
| Human
|
Definition: 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.
Input: customer: Hello.
agent: Hello, how may I assist you today?
customer: I want to cancel my reservation, can you help me with that?
agent: Sure, may I know your name for the cancellation process?
customer: Andrew Lee here.
agent: Thank you, please wait for a while.
__
agent: Sorry, we couldn't find a reservation on your name to cancel.
customer: No problem, thank you for the information.
agent: Welcome, thank you for reaching us.
Output: | customer: Sure. |
In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Q: French Polynesia
A: | Polynesia |
TASK DEFINITION: In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text.
PROBLEM: [ The effect of ionic and nonionic x-ray contrast media on myocardial perfusion and myocardial function ] .
SOLUTION: ionic, nonionic
PROBLEM: Phase III study of two different dosing schedules of erythropoietin in anemic patients with cancer .
SOLUTION: erythropoietin
PROBLEM: Daily supplementation significantly increased plasma concentrations of alpha-tocopherol and beta-carotene in the supplemented group ( Delta 14.4 ( SE 3.2 ) and 0.4 ( se 0.1 ) micromol/l ; P < 0.001 and P < 0.01 ) .
SOLUTION: | not found
|
Instructions: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
Input: فحتى أحكم الناس وأحسنهم نوايا سيستسلمون إذا اضطروا للسباحة ضد التيار في المنظمات التي يعملون بها.
Output: | Mesmo a xente máis sensata e ben intencionada deixarao se ten que nadar contracorrente nas organizacións nas que traballa. |
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: [-81.144, 52.024, -1.763, 208.552, 168.231, 69.134, 61.457, -99.022, 104.18]
| Solution: [-0.168 0.108 -0.004 0.433 0.349 0.144 0.128 -0.206 0.216] |
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 .
Example Input: Statement: सन 1835 में <MASK> की बेकर स्ट्रीट में मैडम तुसाद ने पहली बार अपना स्थायी स्टुडियो खोला। इस स्टुडियो अथवा संग्रहालय का मुख्य आकर्षण था, चेम्बर ऑफ होरर जिसमें फ्रेंच क्रांति के दौरान मारे गए लोगों की मुर्तियों के अलावा अन्य कई नामी-गिरामी अपराधीयों की कृतियाँ प्रदर्शित की जाती थी।
Option A: लन्दन
Option B: फ्रांसीसी
Option C: स्ट्रासबर्ग
Option D: चिकित्सक
Example Output: लन्दन
Example Input: Statement: 2005 में यह पांच मीटर की बाधा पार करने वाली पहली महिला बनी थीं। इसिन्बाएवा के मौजूदा विश्व रिकॉर्ड हैं: 5.06 मीटर आउटडोर, रिकॉर्ड जो इसिन्बाएवा ने अगस्त 2009 में <MASK> मे हासिल किया था तथा 5.00 मीटर इनडोर, रिकॉर्ड जो इन्होने फरवरी 2009 में प्राप्त किया। ज्यूरिख में बनाया गया इसिन्बाएवा का रिकॉर्ड उनका पोल वॉल्ट का 22वा विश्व रिकॉर्ड था, लगातार इतनी बार यह कारनामा करने वाली इसिन्बाएवा पहली महिला एथलीट हैं। इससे पूर्व यह कीर्तिमान ऑस्ट्रेलिया की एम्मा जॉर्ज के नाम था, जिन्होने 1995 से 1999 के बीच लगातार 11 बार विश्व रिकॉर्ड तोडा था।
Option A: वायोमिंग
Option B: रूसी
Option C: ऑस्ट्रेलिया
Option D: ज्यूरिख
Example Output: ज्यूरिख
Example Input: Statement: <MASK> या जलसंभर उस भौगोलिक क्षेत्र को कहते हैं जहाँ वर्षा अथवा पिघलती बर्फ़ का पानी नदियों, नेहरों और नालों से बह कर एक ही स्थान पर एकत्रित हो जाता है। भारत में यमुना का जलसंभर वह क्षेत्र है जहाँ यमुना नदी में विलय हो जाने वाले सारे नदी नाले फैले हुए है और जिसके अंत से केवल यमुना नदी ही निकास करती है।
Option A: जलसंभर
Option B: भोलेपुर
Option C: द्रोणी
Option D: दश्त-ए-मार्गो
Example Output: | द्रोणी
|
In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value.
Example Input: buxusrcnirvzpgzlulyazqtnawtregxujvpsfsssjanlaiqjwo
Example Output: s
Example Input: mdtpsgqrobpbktbthwbbchevbcivcjfkcgnypvktmuqowxruro
Example Output: b
Example Input: nksugexplwaeontfvekhehmghmradwxhdepgkfcpqnejth
Example Output: | e
|
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 Q]: password = jM7onapaNqjAfn!LmsRT7tdgC14o3
[EX A]: 9
[EX Q]: password = R!wfQwDUOCbe7w
[EX A]: 0
[EX Q]: password = ggq!pr5.mJ.CDpKiuuVw9LR6208LleE1i92s2XZPCPqXGa
[EX A]: | 26
|
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.
[5, 1, 0, 7, 7, 3]
| [5, 1, 0, 3] |
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Example input: twotwoonesixzeronine
Example output: 221609
Example explanation: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Q: ninetwoonethreeeight
A: | 92138 |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: eq { 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.
Solution: yes
Why? 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'.
New input: Command: less { hop { filter_eq { all_rows ; vehicle ; mitsubishi i - miev } ; clean electric grid california ( san francisco ) } ; hop { filter_eq { all_rows ; vehicle ; chevrolet volt } ; clean electric grid california ( san francisco ) } }, interpretation: for the outcome records of all rows , most of them fuzzily match to winner .
Solution: | no |
Part 1. Definition
In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said.
Part 2. Example
Sentence: Sam pulled up a chair to the piano, but it was broken, so he had to sing instead. Question: What was broken?
Answer: piano
Explanation: The given sentence clearly states that Sam pulled up a chair to the piano, but piano was broken, so he had to sing instead. Therefore, the answer is piano. This is a positive example as the answer is correct and complete.
Part 3. Exercise
Sentence: During a game of tag, Ethan ran from Luke because he was "it". Question: Who was "it"?
Answer: | Luke |
Definition: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
Input: حسنا ، نطلق عليه هذا الإسم لأنّه طفل ، صبي صغير ، وجالوت رجل ضخم في منتهى القوة.
Output: | Bueno, pode ser que digamos iso porque é un neno, un neniño, e Goliat é un xigante grande, forte. |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) 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 gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Why did Mr. Cheney accept in silence the certain knowledge of the incredible odds against al Qaeda's knowing *when* to piggyback four hijackings onto the back of those wargames? | Valid |
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.
Q: 32 ounces low-fat yogurt Dannon, 1/2 cup chickpea flour, 2 1/2 teaspoons salt, 1 teaspoon turmeric powder, 5 cups water, 1/4 cup canola oil, 1 tablespoon mustard seeds, 1 tablespoon cumin seeds, 1 teaspoon fenugreek seeds, 25 curry leaves, 1 onion small, long slice, 8 pieces garlic chopped/pressed, 7 green chilies Thai, chopped, 1/2 cup cilantro coarsely chopped, 1 1/2 cups basmati rice, 1 cup daal pigeon pea, toor
A: low-fat yogurt, chickpea flour, salt, turmeric powder, water, canola oil, mustard seeds, cumin seeds, fenugreek seeds, curry, onion, garlic, green chilies, cilantro, basmati rice, daal pigeon
****
Q: 1/2 cup Crisco, 1/2 cup butter or 1/2 cup margarine, 1 cup granulated sugar or 1 cup brown sugar, 3/4 cup hot milk, 1 teaspoon vanilla
A: Crisco, butter, sugar, hot milk, vanilla
****
Q: 1 1/2 pounds pork tenderloin, 1 tablespoon garlic minced, 2 tablespoons fresh ginger root minced, 1/4 cup green onions minced, 1 tablespoon cilantro minced, 1 teaspoon jalapeno chiles minced, 1/2 teaspoon black pepper, 2 tablespoons lime juice, 2 tablespoons olive oil, 1/2 cup cheese jalapeno, grated, 1/4 cup pine nuts toasted
A: | pork tenderloin, garlic, fresh ginger root, green onions, cilantro, jalapeno chiles, black pepper, lime juice, olive oil, cheese, nuts
****
|
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.
Q: counter : bathroom. closet : ?
A: | hallway |
In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Q: question: How many days after the negotiating of the Anglo-Irish Treaty did the entire island of Ireland become the Irish Free State?
A: #1 return the negotiating of the Anglo-Irish Treaty
#2 return the entire island of Ireland become the Irish Free State
#3 return day of #1
#4 return day of #2
#5 return the difference of #4 and #3
****
Q: question: What color is the cylinder in the far back?
A: #1 return cylinders
#2 return #1 in the far back
#3 return the color of #2
****
Q: question: on july twenty third all flights on american airlines from philadelphia to san francisco
A: | #1 return flights
#2 return #1 on american airlines
#3 return #2 on july twenty third
#4 return #3 from philadelphia
#5 return #4 to san francisco
****
|
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.
One example: Sentence: Jack played basketball after school, after which he was very tired.
Question: How long did Jack play basketball?
Category: Event Duration.
Solution is here: Yes.
Explanation: The question asks about the duration of playing basketball, therefore it's a "event duration" question.
Now, solve this: Sentence: So really, that's what many of the people are doing now,"" he said.
Question: How long will they be doing that?
Category: Event Duration.
Solution: | Yes. |
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Q: 12:50 Hrs
A: 12:50 PM
****
Q: 07:11 Hrs
A: 07:11 AM
****
Q: 19:32 Hrs
A: | 07:32 PM
****
|
In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[205, 479, 343, 263, 59, 164, 372, 22, 151, 72, 446, 471, 53, 114, 307, 405, 368, 427, 498, 195]
[205, 479, 343, 263, 59, 164, 372, 498, 151, 72, 446, 471, 53, 114, 307, 405, 368, 427, 22, 195]
[438, 318, 174, 351, 424, 156, 443, 43, 142, 83, 234, 180, 494, 49, 376, 145, 115, 194, 280, 44]
[438, 318, 174, 351, 424, 156, 443, 494, 142, 83, 234, 180, 43, 49, 376, 145, 115, 194, 280, 44]
[265, 209, 433, 482, 412, 249, 19, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]
| [265, 209, 433, 19, 412, 249, 482, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
password = a
Solution: 5
Why? Using 5 steps, it can become a strong password
New input: password = 8DbwodlHPelUi
Solution: | 0 |
In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage.
Content:След прекратяването на търга за активите на ПФК ЦСКА АД сега трябва да се проведе нов такъв. По закон това е необходимо да се случи в срок от 2 седмици. Заради заканите на синдика Дора Милева да подаде оставка обаче второто наддаване може да се проточи много дълго. Ако тя напусне, тогава ще минат поне 5-6 месеца до назначаването на неин заместник и повторното обявяване на търга. Така ново наддаване ще има или в средата на април, или чак през месец октомври, пише „Тема Спорт“.Изискуемата сума за активите на ПФК ЦСКА АД е 1 646 325 лв. Тя не търпи промяна след провала на търга.Само емблемите струват малко над 900 000 лв….
Сагата с търга за емблемата на ЦСКА продължава
Content:Продължава секретният полет на американския космически самолет X-37B, който работи в орбита вече 675 дни. Известното е само това, че тази мисия на NASA се провежда съвместно с Пентагона, но какво точно прави в орбита космическият самолет до ден днешен е неизвестно, съобщава space.com. Има множество версии с какви цели вече четвърти път се изстрелва за продължителни периоди този космически апарат. Някои специалисти смятат, че той проверява възможностите за космически роботизиран полет. Други обаче са на мнение, че на борда на X-37B се провеждат изпитания на секретни оръжия за водене на война в космоса.Превод: БЛИЦ
Space.com: Тайнственият космически самолет X-37B на САЩ е вече 675 дни в орбита, не се знае какво прави там (ВИДЕО) - БЛИЦ
Content:Депутатите в парламента в Единбург гласуваха в подкрепа на инициативата на шотландското правителство за провеждане на нов референдум за независимост на региона. Парламентарното мнозинство, което включва депутати от Шотландската национална партия и шотландската партия на „зелените”, гласува в подкрепа на правителственото искане. На 21 и 22 март имаше дебати по въпроса. Те трябваше да завършат с гласуване, но то беше отложено заради атентата на Уестминстърския мост в Лондон. За провеждане на ново всенародно допитване гласуваха 69 депутати, а против – 59, от Консервативната и Лейбъристката партия и от партията „Либерални демократи”. Съгласно член 30 от Акта за Шотландия от 1998 британското правителство може да даде на региона възможност да проведе референдум за независимост. За целта е нужно съгласие на три законодателни институции: парламента на Шотландия, долната и горната камара на парламента на Обединеното кралство. На теория британското правителство, което в момента е от членове на Консервативната партия, може да откаже това право на шотландците: както непряко като не допусне обсъждане на въпроса в парламента, така и пряко в самия законодателен орган, като се възползва от това, че разполага с мнозинство в камарата на общините. На практика обаче, консерваторите едва ли ще откажат, давайки си сметка, че подобен отказ носи големи политически рискове, защото дава допълнителни козове на шотландските националисти, които ще започнат да обвиняват Лондон в нарушаване на правото им на автономия. / БГНЕС
| Шотландският парламент подкрепи нов референдум за независимост - ШУМ.БГ
|
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.
Langweilig und einschläfernd . Zu Weihnachten bekam ich die CD geschenkt und freute mich auch darüber. Doch als ich sie mir anhörte war die Ernüchterung schnell da. Nach dem Modern-Talking Motto "Haste einen haste Alle" lanweilt sich Dido von einer Schlafnummer zur anderen. Die beiden Auskopplungen sind noch die gelungensten Werke. Den Rest kann man sich echt schenken. Schade! Die CD gibts denn auch bald von mir bei Ebay ab einen Euro! Versprochen!
NEG
Klasse Song, super Oli P. ist zurück!! . Die neueste Single "Das erste Mal tat's noch weh" ist eine wunderschöne Single à la Oli P.Wirklich sehr sehr gut,vergleichbar mit "Flugzeuge im Bauch". Also, nicht nur für Oli P. Fans ein Kauf wert!!! TOP!!!
POS
Einfach schön! . "Kind of Blue" von Miles Davis hat eine längere Geschichte in meinem Platten- und CD-Schrank. In den frühen Siebzigern hörte ich erstmals diese 'uralten' Aufnahmen - sie stammen aus dem Jahr 1959 - und war sofort verzaubert von dem ruhigen und fließenden Charakter dieser Musik. Der LP folgte die CD-Ausgabe in Gold und dieser dann die hier besprochene. Zu "Kind of Blue" ist eigentlich alles gesagt und geschrieben, Miles Davis hat hier zusammen mit Julian "Cannonball" Adderley, John Coltrane, Wynton Kelly, Bill Evans, Paul Chambers und Jimmy Cobb ein Album eingespielt, welches als einer der Meilensteine des Jazz zu bezeichnen ist, - die Soli basieren nicht mehr auf Akkordwechseln sondern auf Skalen, was der Musik einen schwebenden Charakter mitgibt. Das Ergebnis ist einfach schön. So ist es nicht verwunderlich, dass dieses Album nun über mehrere Generationen hinweg seine Käufer findet. Die hier vorliegende Ausgabe ist die nach meinem Geschmack gelungendste, der Ton ist klar, das Booklet ist informativ und zudem ist mit einer zweiten Version von "Flamenco Sketches" auch noch ein Bonus Track enthalten. Sehr empfehlenswert!
| POS
|
Teacher:Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Teacher: Now, understand the problem? Solve this instance: THEM: i want the book and ball YOU: i need the book. you can have everything else. THEM: deal.
Student: | Yes |
Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Maybe
Student: | maybe he'll play maybe he'll stay and eat some ice cream the sky be not bright and it be almost night he have to go home i say he could come back tomorrow |
Detailed Instructions: For the given English description, write an SQL command such that it accomplishes every step. 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: Did M1 marry M3 , influence M2 , marry a film editor , and marry M4 , M5 , and M6
A: | SELECT count(*) WHERE {
?x0 a ns:film.editor .
FILTER ( M1 != ?x0 ) .
FILTER ( M1 != M3 ) .
FILTER ( M1 != M4 ) .
FILTER ( M1 != M5 ) .
FILTER ( M1 != M6 ) .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M3 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M4 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M5 .
M1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M6
} |
For the given English description, write an SQL command such that it accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
--------
Question: Did M6 's employee and founder influence M0 , M1 , M2 , and M3 and influence M4 and M5
Answer: SELECT count(*) WHERE {
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced M4 .
?x0 ns:influence.influence_node.influenced M5 .
?x0 ns:organization.organization_founder.organizations_founded M6 .
?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M6
}
Question: Did M6 's producer , cinematographer , and art director executive produce M0 , M1 , M2 , M3 , M4 , and M5
Answer: SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M6 .
?x0 ns:film.film_art_director.films_art_directed M6 .
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.producer.films_executive_produced M4 .
?x0 ns:film.producer.films_executive_produced M5 .
?x0 ns:film.producer.film|ns:film.production_company.films M6
}
Question: Did M4 's costume designer edit , write , and direct M0 , M1 , M2 , and M3
Answer: | SELECT count(*) WHERE {
?x0 ns:film.director.film M0 .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.director.film M3 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.editor.film M3 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M4 .
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3
}
|
TASK DEFINITION: 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.
PROBLEM: 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_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK
SOLUTION: walk around left after walk around left thrice
PROBLEM: I_TURN_RIGHT I_TURN_RIGHT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_RUN 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
SOLUTION: run opposite right twice and walk around left thrice
PROBLEM: I_JUMP I_JUMP I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK
SOLUTION: | jump twice and walk around right thrice
|
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.
Example Input: Prompt: typo. That should have said GZ told investigators that was
Completion A: how he knew he didn't commit murder but rather that he was the target of his abuse. This isn't enough. For years, I
Completion B: waaaaiidges silent operation7 wrong... OKley not wrong at all 7the armament codes reflect where they sit in actua
Example Output: Completion A
Example Input: Prompt: People claim that they want to work, and they need jobs, but
Completion A: they need money and they need it today and they are not willing to do so," he said. And, although the economy was still struggling
Completion B: also to have access to services, if it's affordable and open to all. And they're not taking the word of a person who's not actuall
Example Output: Completion A
Example Input: Prompt: Thanks for small flat rate priority boxes. I'll remember to use
Completion A: it for another time. Maybe a day or two. Good luck to all. You will have your choice of whether or not to have it for the
Completion B: this
Example Output: | Completion B
|
Q: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
The site collects your cookies or tracking elements for service operations or security. Collection happens on the website.
A: | Service Operation and Security |
Instructions: 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'.
Input: Tweet: La intervenció d'Oriol @junqueras desmonta una a una les acusacions, per infundades i retorna el debat d'allà on mai hauria d'haver sortit. De la política! #JudiciAlaDemocràcia #JunquerasAcusa
Output: | Against |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
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
Solution: Completion A
Reason: This prompt-completion pair is more fluent because it is more easy to follow and is a realistic statement.
Now, solve this instance: Prompt: Lez, you're a jerk ass! Well, you never told
Completion A: me that! LOL!!! lol!! The world is better off knowing that we had the best PM in the history of Canada, and that Canada was a
Completion B: me where you lived, and I thought that you were one of those weirdo homeless people that didn't want anything to do with you. But yo
Student: | Completion B |
You will be given a definition of a task first, then some input of the task.
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_TURN_LEFT I_TURN_LEFT I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
Output: | jump around right thrice after turn around left |
Detailed Instructions: 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".
Problem:04/04/1026
Solution: | 1 |
Detailed Instructions: Read the given message of a sender that is intended to start a conversation, and determine whether it was written by a 'Bot' or by a 'Human'. Typically, bots will have a more disjointed manner of speaking, and will make statements that don't relate to each other, don't make coherent sense, or otherwise appear unnatural. Human will make statements in a more or less coherent and logical way. Since these messages are supposed to be conversation openers, humans will generally start sensibly with a hello or an introduction. Humans may also ask why the other person is not responding. Bots, however, may act as if they are in the middle of a nonsensical conversation.
Problem:SENDER A: Hiya!
Solution: | Bot |
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
(موسيقى) مدربة المتحدثين 1: ♪ لنتدرب للمسرح. ♪ ♪ إنه وقتك لتبرُزِي. ♪ ♪ إذا كنتي تريدين النجاح إذا: ♪ ♪ يجب أن تكوني جاهزة. ♪ مدرب المتحدثين 2: ♪ عرضك التقديمي سيء ♪ ♪ لكن فكرتك ممتازة ♪ ♪ لذلك يمكنك أن تطمئنَي قبل أن نبدأ ♪ ♪ أيتها المتحدثة ، سنخرج منك محادثة TED رائعة. ♪ مدربة المتحدثين 3: ♪ نحن نعلم عن تغيَر المناخ ♪ ♪ لكن ماذا يمكنك قوله ويكون جديدًا ؟ ♪ ♪ المدرب 1: عندما تبدئين التركيز ♪ ♪ عندها ستجدين أفكارًا لمحادثتك. ♪ | (Música) Adestrador 1: ♪ Preparémonos para o escenario principal ♪ ♪ É o teu momento de brillar. ♪ ♪ Se queres ter éxito ♪ ♪ terás que estar preparado. ♪ Adestrador 2: ♪ As diapositivas están mal ♪ ♪ pero a idea é boa ♪ ♪ podes apostar a que antes de que rematemos, ♪ ♪ oradora, sacaremos unha charla TED de ti. ♪ Adestrador 3: ♪ Sabemos de cambio climático, ♪ ♪ pero ¿que podes dicir que sexa novo? ♪ Adestrador 1: ♪ Unha vez que te concentres ♪ ♪ a charla aparecerá diante de ti. ♪ |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
French Southern territories
Output: | Nonmetropolitan Territory of France |
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
Example input: ['238', 'h', '92', 'U', '2799']
Example output: 2, 4
Example explanation: Here, the alphabetical elements in the input list are 'h' and 'U' and they are at positions '2' and '4', respectively.
Q: ['2847', '6003', '8271', '1797', 'b', '8333', 'q', '351', 's', 'w', 'g', 'c', '9027', '3735', '4675', 'J', '3033', 'l']
A: | 5, 7, 9, 10, 11, 12, 16, 18 |
Detailed Instructions: 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'.
Q: Jun 16, 2018 doesn't occur between 24 May 1970 and 11 Sep 1996
A: | True |
You will be given a definition of a task first, then some input of the task.
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Gambia
Output: | 1965 |
You will be given a definition of a task first, then some input of the task.
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: อย่างไรก็ตามเขายังคงมีความคาดหวังที่เป็นบวกต่อคดีของ Grokster และ Streamcast ในศาลขั้นต้น
Output: | No |
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.
Example: 7
Example solution: Yes
Example explanation: 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'.
Problem: 51949
| Solution: Yes |
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]: Linda Zwordling: I do n't want a sex disease ! Especially _ one _ that 's assigned to me by my supervisor .
[EX A]: REFERENCE disease
[EX Q]: Kouichi Sakakibara: You must be kidding .
Naoya Teshigawara: Why would I joke about this ? I tried to dig a little , since he was acting strange lately . And he said he did not remember the things we did together as kids . He did not remember much about primary school .
Kouichi Sakakibara: And then ... ?
Naoya Teshigawara: I prepared myself and asked : " You 're not really Kazami , right ? " , " You are the extra one in the class , right ? " He looked me scared at first , then he was furious . He was acting really suspiciously , I was sure it was him . Since the recording said " Send him back to the death " All of us would be saved .
Kouichi Sakakibara: Do n't tell me ... Did you kill him ?
Mei Misaki: Is that true ?
Naoya Teshigawara: I did n't mean to do it ! The attack began and ended outside on the balcony . And the next thing I knew ... He was lying on the floor , blood coming out of his head . I panicked and ran down the hall . I saw you entering this room .
Kouichi Sakakibara: So you wanted to know if Kazami was the extra _ one _ ?
Naoya Teshigawara: Yeah I thought that if the extra one dies , no one would have noticed him . But you two say that still remember him , so it must have been a mistake . Say , Sakaki , am I wrong ?
Kouichi Sakakibara: Is that , or he is not dead yet .
Naoya Teshigawara: Uh ?
Kouichi Sakakibara: A fall in two stories high , he may have survived yet .
[EX A]: PEOPLE
[EX Q]: Inspector Trout: We found a body .
Lombardo, Shipping Agent: Well , I did n't know you mislaid _ one _ . Whose ?
Sir Wayne Waverley: Ambrose 's .
Lombardo, Shipping Agent: Ah , him .
Inspector Trout: Did you know him , sir ?
Lombardo, Shipping Agent: Not intimately . But he was always going on trips . He was an archeologist , digging around in the dirt , like you chaps .
Inspector Trout: We have reason to believe he was murdered .
Lombardo, Shipping Agent: Murdered ?
Sir Wayne Waverley: Killed .
Lombardo, Shipping Agent: I understand what it means . But by who ?
[EX A]: | REFERENCE body
|
Given the task definition and input, reply with output. In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
['6639', '7255', '957', 's', '6501', '6469', 'h', 'y', 'O', '2209', '8885', '6811', 'k', '473', '9585', 'h', '6687', 'Z', 'Y', '5075', 'g', 'M', 'N', 'l', '9519', '853', 'a', '3117', '2085', '8795', 't', '1071', 'T', 'p', '4593', 'i']
| 4, 7, 8, 9, 13, 16, 18, 19, 21, 22, 23, 24, 27, 31, 33, 34, 36 |
TASK DEFINITION: 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
PROBLEM: Add a new application for this file type.
SOLUTION: ఈ ఫైలు రకముకు కొత్త అనువర్తనమును జతచేయుము.
PROBLEM: Toggle Raise & Lower
SOLUTION: పెంచు & తగ్గించు అటుయిటు మార్చుము
PROBLEM: Mobile Phone Management Tool
SOLUTION: | మొబైల్ ఫోన్ నిర్వహణ సాధనం
|
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 .
Q: Statement: राइज़ोफ़ोरासिए (Rhizophoraceae) <MASK> के ऊष्णकटिबन्ध और उपोष्णकटिबन्ध क्षेत्रों में मिलने वाले सपुष्पक पौधों का एक जीववैज्ञानिक कुल है। इसकी सबसे प्रसिद्ध सदस्य जातियाँ राइज़ोफ़ोरा (Rhizophora) जीववैज्ञानिक वंश में आने वाले मैंग्रोव हैं। कुल मिलाकर राइज़ोफ़ोरासिए कुल में १४७ जातियाँ हैं जो १५ गणों में संगठित हैं। इनमें से अधिकतर जातियाँ पूर्वजगत की निवासी हैं।
Option A: पृथ्वी
Option B: उपोष्णकटिबन्ध
Option C: पूर्वजगत
Option D: ऊष्णकटिबन्ध
A: पृथ्वी
****
Q: Statement: चमोली भारतीय राज्य उत्तराखंड का सबसे बड़ा <MASK> है। बर्फ से ढके पर्वतों के बीच स्थित यह जगह काफी खूबसूरत है। चमोली अलकनंदा नदी के समीप बद्रीनाथ मार्ग पर स्थित है। यह उत्तराचंल राज्य का एक जिला है। यह प्रमुख धार्मिल स्थानों में से एक है। काफी संख्या में पर्यटक यहां आते हैं। चमोली की प्राकृतिक सुंदरता पर्यटकों को अपनी ओर आकर्षित करती है। पूरे चमोली जिले में कई ऐसे मंदिर है जो हजारों की संख्या में श्रद्धालुओं को अपनी ओर आकर्षित करते हैं।
Option A: भागीरथी
Option B: थराली
Option C: अलकनंदा
Option D: जिला
A: जिला
****
Q: Statement: ज़ामोरिन (Zamorin), जिसे मलयालम भाषा में सामूतिरि (സാമൂതിരി) कहा जाता है, मध्यकालीन केरल के <MASK> क्षेत्र के हिन्दू नरेश की उपाधि हुआ करती थी। यह संस्कृत के "स्वामी" और "श्री" (मलयालम में "तिरि") को जोड़कर उत्पन्न हुआ शब्द था। अपने चरम पर ज़ामोरिनों का शासन मालाबार तट पर कोल्लम से लेकर कोईलांडी तक विस्तारित था।
Option A: कोल्लम
Option B: कोईलांडी
Option C: नदौन
Option D: कोड़िकोड
A: | कोड़िकोड
****
|
This task is to find the number of 'For' loops present in the given cpp program.
[Q]: int n,i;//???? n ???????
int f(int a,int min){ //??????f ?????a n
if(a < min){ //?????a ??n
return 0; //????0? ???????????
}
int result = 1; //??????? ???1
for(int i = min;i<a;i++){ //for?? ? ??????a
if(a % i == 0){ //?a???i???
result += f(a/i,i); //???? ??result
}
}
return result; //??????
}
int main(){ //?????
cin>>n;//??????
int a[n];
for(i=0;i<n;i++){ //????
cin>>a[i];
}
for(i=0;i<n;i++){
cout<<f(a[i],2)<<endl; //?????????? ????
}
return 0;
}
[A]: 3
[Q]: int turn(int a,int b)
{
int i,k;
if(a==1) k=1;
else if(a<b) k=0;
else
{
k=0;
for(i=b;i<=a;i++)
if(a%i==0)
k=k+turn(a/i,i);
}
return k;
}
int main()
{
int n,i,a[1000],t;
scanf("%d",&n);
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
t=turn(a[i],2);
printf("%d\n",t);
}
return 0;
}
[A]: 2
[Q]:
int f(int a, int b)
{
int k = 0;
if (a >= 2 * b)
{
for (int i = b; i <= a / b; i++)
{
if (a % i == 0 && a/i >= i)
{
k += f(a/i, i) + 1;
}
}
}
else
{
k = 0;
}
return k;
}
int main()
{
int n, a, t;
cin >> n;
while (n--)
{
cin >> a;
t = f(a, 2) + 1;
cout << t << endl;
}
return 0;
}
[A]: | 1
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
[Q]: contaminate
[A]: infect
[Q]: connect
[A]: join
[Q]: robe
[A]: | wear
|
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: '{1, 2, 7, 10, 12, 14, 18, 19}', Set2: '{1, 4, 11, 12, 15, 17, 20}'. Is the element '2' in the intersection of Set1 and Set2 ? | No |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Solution: -LRB-
Reason: "(" is the symbol for Left Parantheses (-LRB-).
Now, solve this instance: Sentence: Each evening you will get a ' magazine ' called The Navigator {{ which }} lists all of the activities for the next day .
Word: which
Student: | WDT |
In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Q: Vanuatu
A: | 1980 |
instruction:
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the no-need strategy, otherwise output No. no-need is a cooperative negotiation strategy. It is used when a participant points out that they do not need an item based on personal context such as suggesting that they have ample water to spare. no-need can directly benefit the opponent since it implies that the item is up for grabs.
question:
Context: 'That sounds fair.' 'How are you on food? ' 'I need extra food. I have recently been ill and my doctor has prescribed extra calories so I can regain my strength.'
Utterance: 'I’m sorry to hear that! If there are 3 packages of food please take 2 of them. I could stand to eat less!'
answer:
Yes
question:
Context: 'Well, I'm kind of low on water, so I'd like to get as much of that as I can. I'd like to go hiking and I don't really have enough water for a long trip. What about you?' 'Ohh nice.I also have the same issue around here.The thirst for water is growing high than ever due to drought' 'Well, that's a bummer. How are you set for food? While I wouldn't mind a bit more, I'm in pretty good shape there, so I'd be willing to trade it for water. I'd hate to leave without getting a good hike in.'
Utterance: 'Hun,It's a bit of a fair deal,but due to the condition here i will need a bit more of water though foo cannot be overlooked also for survival but still to survive we take chances.So do you mind me giving you a package of food and u trading 2 pakages of water?.'
answer:
Yes
question:
Context: 'yeah, i understand that. we are all apart of a weigh watchers group ao we' '😮 Been there and done that. It's great when you can start to see the change in their self esteem!' 'yes, for sure starting to see results, id be more than happy if i could get two or three waters and at least one or two firewood '
Utterance: 'I can definitely oblige on the water as we are lucky enough to have a spot that is just by the lake. Makes for a cold night, but all the fresh water and fish you can handle!'
answer:
| Yes
|
Instructions: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Input: twoonesixeightfourthreetwoeightseveneightseven
Output: | 21684328787 |
The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
Q: A vrey cute small cat standing in a rest room.
A: | vrey |
Part 1. Definition
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.
Part 2. Example
[2, 5, 9, 6, 11]
Answer: [2, 5, 11]
Explanation: 6 and 9 are removed from the list because they are divisible by 3.
Part 3. Exercise
[-81, 11, -62, -4, 40, -40, -17, -36, 68, -21]
Answer: | [11, -62, -4, 40, -40, -17, 68] |
Given the task definition and input, reply with output. In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Bangladesh
| 1971 |
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: I am talking to a number of people regarding opportunities for a new assignment {{ back }} in Houston office .
Word: back | RB |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
An unnamed third party does receive unspecified information about you for targeted advertising. | Advertising |
Q: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
الآن انه عنك كعازف الذى يسرد القصة
A: | Ahora tócavos a vós, os músicos, contar a historia. |
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'.
L' Institut Català del Sòl ( Incasol ) manté el compromís de destinar 18.402.516 pessetes a les obres de cobertura del torrent de Ca n' Alzamora a Rubí ( Vallès Occidental ) , segons ha confirmat el conseller de Medi Ambient , Felip Puig , en resposta a una pregunta parlamentària del diputat d' ERC Joan Ridao . | L' (O) Institut (B-ORG) Català (I-ORG) del (I-ORG) Sòl (I-ORG) ( (O) Incasol (B-ORG) ) (O) manté (O) el (O) compromís (O) de (O) destinar (O) 18.402.516 (O) pessetes (O) a (O) les (O) obres (O) de (O) cobertura (O) del (O) torrent (O) de (O) Ca (B-LOC) n' (I-LOC) Alzamora (I-LOC) a (O) Rubí (B-LOC) ( (O) Vallès (B-LOC) Occidental (I-LOC) ) (O) , (O) segons (O) ha (O) confirmat (O) el (O) conseller (O) de (O) Medi (B-ORG) Ambient (I-ORG) , (O) Felip (B-PER) Puig (I-PER) , (O) en (O) resposta (O) a (O) una (O) pregunta (O) parlamentària (O) del (O) diputat (O) d' (O) ERC (B-ORG) Joan (B-PER) Ridao (I-PER) . (O) |
Subsets and Splits