ostapeno/flanv2_100k huggingface dataset:
user: Given the task definition, example input & output, solve the new input case.
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: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries 
#2 return #1 born in state 'Alabama 
#3 return departments managed by #2 
#4 return distinct creation years of  #3
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.

New input case for you: question: list ground transportation in detroit 
Output:

assistant: #1 return ground transportation 
#2 return #1 in detroit
user: A text is given in Marathi. Translate it from the Marathi language to the Tamil language. The translation must not omit or add information to the original sentence.
--------
Question: पाणी म्हणजे काय,त्याचे महत्व काय असते, हे गुजरातच्या सौराष्ट्र आणि कच्छच्या लोकांना सांगण्याची आवश्यकता नाही.

Answer: குஜராத்தின் சவுராஷ்டிரா மற்றும் கட்ச். பகுதி மக்களுக்கு நீர் எவ்வளவு முக்கியம் என்பதை விளக்க வேண்டியதில்லை.


Question: मला आशा आहे की, पुढील वर्षाच्या अखेरपर्यंत पुण्यात 12 किलोमीटर मार्गावर मेट्रो धावायला सुरुवात होईल.

Answer: அடுத்த ஆண்டு இறுதிவாக்கில், புனே நகரில் 12 கிலோ மீட்டர் வழித்தடத்தில் மெட்ரோ ரயில் ஓடத் தொடங்கும் என்று எதிர்பார்க்கிறேன்.


Question: श्री नितिन जयराम गडकरी

Answer:

assistant: நிதின் கட்கரி
user: In this task, you're given an article and an answer. Your task is to generate the question for the answer based on the given article.
Example: Article: There are a lot of public libraries in Britain. These libraries have more than one hundred and fifteen million books, not including those libraries of public schools. Public libraries not only lend books, music records but also help children, patients in hospitals and others to get special play readings, film shows and so on. The first public libraries were founded in about the year 1850. Today's public libraries usually have a reading-room, a lending room and a reference room. The greatest and most famous library in Britain is that of the British Library in London. It was founded in 1973 and has over 10, 000, 000 books. It has nearly every magazine, newspaper and book published in Britain and other parts across the world. 
 Answer: 10,000,000 or less.
Example solution: How many books are there in the British Library?
Example explanation: In the Article, 10,000,000 is mentioned for the number of books available in the British Library, so this is a good question.

Problem: Article: Elephants might be the most well-known and well-loved animal in African wildlife. But conservation   of the African elephant faces special difficulties. While the elephant population is half of what it was 40 years ago, some areas of Africa have more elephants than populated areas can support. That's why AWF scientists are studying elephant behavior, protecting habitats and finding ways for humans to live peacefully with elephants in Africa. Years ago, over hunting and the ivory trade were the biggest threats to elephants survival. Luckily, ivory bans  , hunting rules and protected areas protect elephants from these dangers today. The 21st century brings a different challenge to elephant conservation --land-use. Elephants walk across borders and outside parks and other protected areas. So they often destroy crops, causing conflicts   between local farmers and these big animals. Successful conservation strategies   must allow elephants to walk freely in their natural habitats while reducing conflicts between elephants and local people. AWF researchers are searching for a way to give both elephants and people the space they need. The AWF is collecting information on elephant habitats and behavior. The information they gather will help to develop the widest possible space for elephants. The AWF is helping elephants by protecting their habitats. And they also work with local farmers to improve their life in order to encourage them to protect rather than destroy elephants. 
 Answer: They can't live in peace with farmers.


assistant: Solution: What is the biggest difficulty in protecting African elephants now?
user: Teacher: In this task you will be given a list of integers. For every element in the list, if the element is even you should divide by 4, if the element is odd you should multiply by 4 then add 2. The output should be a list of numbers that is the result of applying that logic to the input list. You should not round any decimals in the output. Zero should be counted as an even integer.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[5, 8, 9, 3, 7]
Solution: [22, 2.0, 38, 14, 30]
Reason: The odd numbers, 5, 9, 3, and 7 were multiplied by 4 then added 2. The even number eight was divided by 4.

Now, solve this instance: [-10, -20, -78, 53, 91]
Student:

assistant: [-2.5, -5.0, -19.5, 214, 366]
user: instruction:
You will be given two pieces of text with the same meaning. One of them is simpler and easier to understand for non-native English speakers. Complex texts may contain more difficult words, have unnecessary phrases or contain long sentences. Your task is to choose the simpler piece of text. You are expected to output 'Text one' if the first sentence is simpler. Otherwise output 'Text two'.
question:
Text one: Many of the municipalities in the area receive their drinking water directly from Vättern.
 Text two: Many municipalities in the area got their drinking water from Vättern.
answer:
Text two


question:
Text one: The book "Our Sunshine" written by Robert Drewe inspiried the movie.
 Text two: The book "Our Sunshine" written by Robert Drewe inspiried the movie.
answer:
Text one


question:
Text one: In Christianity, an archbishop is an elevated bishop.
 Text two: An archbishop is an elevated bishop.
answer:


assistant: Text two
user: You are given a passage. Using the information present in the passage, you need to classify it into one of the 10 topics: 0 - 'Society & Culture', 1 - 'Science & Mathematics', 2 - 'Health', 3 - 'Education & Reference', 4 - 'Computers & Internet', 5 - 'Sports', 6 - 'Business & Finance', 7 - 'Entertainment & Music', 8 - 'Family & Relationships', 9 - 'Politics & Government'.
One example is below.
Q: 	Optical mice use an LED and a camera to rapidly
capture images of the surface beneath the mouse.
The infomation from the camera is analyzed by a
DSP (Digital Signal Processor) and used to detect
imperfections in the underlying surface and
determine motion. Some materials, such as glass,
mirrors or other very shiny, uniform surfaces
interfere with the ability of the DSP to
accurately analyze the surface beneath the mouse.
\nSince glass is transparent and very uniform, the
mouse is unable to pick up enough imperfections in
the underlying surface to determine motion.
Mirrored surfaces are also a problem, since they
constantly reflect back the same image, causing
the DSP not to recognize motion properly. When the
system is unable to see surface changes associated
with movement, the mouse will not work properly.
A: 4
Rationale: The passage talks about optical mice or mouse throughout which is a part of computer system. Thus, it is correctly classified to "Computers & Internet" 
Q: A tough question as it overlaps science and theology. Since you asked "how the human species evolved?" I'll assume you're interested in the scientific approach to the answer.\nThe current theory holds that Homo sapiens evolved from Hominid ancestors over the course of millions of years through a process called natural selection. Natural selection is the weeding and advancement of species variants over time based on the fit in that species' then current environments. The pressures for "fit" are competitive (with each other, with other tribes, and with other animals) and environmental (weather, terrain, availability of food, etc.). These factors all contributed to the development of our higher brain, which we now use to evolve as a global collective through communication & technology.
A:

assistant: 1
user: Part 1. Definition
In the following task, you are given a yes/no question, its answer, and additional information which includes a description of a key term in the question and several facts. Your task is to "decompose the question"i.e. write the steps required to construct the given answer where each step is a question that can be answered using Wikipedia articles. To decompose the question, think of a decomposition strategy you could apply to answer the question through a search against Wikipedia. The decomposition strategy might not be obvious for some questions. For this reason, you are provided with additional information. You are not required to write decompositions that exactly match the provided facts, they are only meant as guidance. If the facts are too noisy, think about how you would have used Wikipedia to answer this question to create the decomposition. "not_definitive_answer" is true if there is no clear answer i.e. the question is ambiguous or a subjective opinion."incorrect_answer" is true if the answer to the question is not correct. If the answer is incorrect, write a decomposition that evaluates the correct answer. Each question should be easy to answer based on simple facts from Wikipedia pages, or a simple check using the answers to preceding questions. To ensure this, we also ask you to enter a potential Wikipedia article that would contain the answer to each question. If you can not think of a Wikipedia page that can answer your question, please think of a different strategy. You do not need to enter a Wikipedia page for steps that don't add new information and only contain simple checks. The answer to the final question is the same as the answer to the original question. Every question's answer has an impact on the final answer and there should be no redundant steps in the decomposition.
Part 2. Example
Question: Did Aristotle use a laptop?, Answer:No, Fact1: Aristotle died in 322 BC., Fact2: Laptop was invented in the 19th century.
Answer: Step1: When was the laptop invented?, Step2: When did Aristotle die?, Step3: Is #2 before #1?, Wikipedia page for step 1: Laptop, Wikipedia page for step 2: Aristotle, not_definitive_answer: False, incorrect_answer: False
Explanation: That's a strategic decomposition! It requires the strategy that Aristotle, who lived many years before the laptop was invented, could not have used it.
Part 3. Exercise
Question: Were there eight humans on Noah's Ark?, Answer:Yes, Description of Noah's Ark: the vessel in the Genesis flood narrative, Fact1: Noah only took his family aboard the Ark., Fact2: Noah brought his wife, three sons, and his sons' wives., Fact3: Four couples lived on the Ark, eight total people.
Answer:

assistant: Step1: How many people entered Noah's Ark?, Step2: Is #1 greater than or equal to eight?, Wikipedia page for step 1: Noah, Wikipedia page for step 2: , not_definitive_answer: False, incorrect_answer: False
user: Given a premise, an initial context, an original ending, and a new ending, the task is to generate the counterfactual context that is aligned with the new ending. 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. The original ending is the last three sentences of the story. Also, you are given a new ending that can provide the new story with the same premise. You should write a counterfactual context to explain the small differences between the original and new endings. More specifically, a story context contains the general plot of the story. And a counterfactual context is a slight modification to the initial context. To sum up, you should write the second sentence of a story based on the premise(first sentence) and the new ending(last three sentences) of the story.

Q: Premise: Jan went to the grocery store for bananas. 
 Initial Context: She saw that all the bananas were green and under-ripe. 
 Original Ending: Jan asked staff if there were any other bananas available. The employee said those were all the bananas they had. Jan decided to buy apples instead. 
 New ending: Jan had asked that staff if there were bananas available. The employee said those were all ripe the bananas they had. Jan decided to buy the bananas and enjoy her bike ride. 

A: She got a ripe banana and went on a bike ride.
****
Q: Premise: Ben's social studies class was spending the day knitting. 
 Initial Context: They were making scarfs to give to the homeless shelter. 
 Original Ending: He thought knitting was for girls. But he felt really good about doing something for homeless people. He even worked on an extra scarf at home that night. 
 New ending: He thought knitting was for girls. But he felt really good about doing something for his grandparents. He even worked on his scarf at home that night. 

A: They were making scarfs to give to their grandparents.
****
Q: Premise: Chad is going through a breakup. 
 Initial Context: He hasn't left the couch in days. 
 Original Ending: He just watches hours of nature documentaries on Netflix. The words are you still watching appeared on his screen. He clicks yes and nothing, his batteries were dead just like his soul. 
 New ending: He watches hours of sports while sipping on his drink The words we're closed now came from the bartender He shakes his head knowing the bar was closed just like his heart 

A:

assistant: He spends all of his free time at the local bar.
****
user: In this task, you are given a sentence in Persian, and your task is to translate it into English.

Example input: ۵۲٪ از کاربران رایانه دارای دانش رایانه‌ای هستند.
Example output: 52% of computer users are Internet literate.
Example explanation: This is a good example. The above sentence is correctly translated from Persian to English.
Q: این مقاله ادامه پیدا می‌کند و در نهایت به قوانین اشاره می‌کند و این‌که خارجی‌ها در تایلند، از حمایت قانونی کمی برخوردارند و پروفسوری در دانشگاه شمال غربی کشور اعتقاد دارد که قوانین برای حمایت از حقوق خارجیان، نیاز به بازنگری دارند.
A:

assistant: The article went on to say that foreigners receive little protection from the law in Thailand and a Professor at a University in the North East of the country is saying that laws need updating with respect to protecting foreigners rights.
user: TASK DEFINITION: You are given a sentence in Hebrew. Your job is to translate the Hebrew sentence into Farsi.
PROBLEM: ניתן לגשר על זה בהמון דרכים שונות.

SOLUTION: پس این شکاف میتونه از طریق بی نهایت مسیر متفاوت پر بشه.

PROBLEM: כעת אראה לכם מספר מיזמים שבנינו, של מערכות חד-מימדיות, דו-מימדיות, תלת-מימדיות ואפילו מערכות ארבע-מימדיות.

SOLUTION: الان می ‌ خواهم به شما تعدادی از پروژه ‌ هایی را که ساخته ‌ ایم ، نشان دهم ، از یک بعدی ، دو بعدی ، سه بعدی و حتی سیستم ‌ های چهاربعدی.

PROBLEM: וזה היה מאד מתסכל עבורי כי היה לי ספר עם 250 המחשות לעשות בשביל הספר שלי והשקעתי חודש בלעשות את זה ורק מלאתי שני עמודים

SOLUTION:

assistant: و به طور باور نکردنی برای من خسته کننده بود برای اینکه یک کتاب از 250 تصویری داشتم که برای انجام دادن کتابم بود. و من یک ماه برای انجام دادن این کار وقت صرف کردم ، و فقط دو صفحه پر کردم.
user: In this task you will be given a list of numbers and you need to subtract every value in the list with the index it is at. The index of an elements shows its numerical order in the list(for example, in the list [7,10,4,5], the index of 7 is 1 and the index of 4 is 3)  You should start the index at 1, so the first element in the list will be subtracted by one. For every element in the list you need to find "element - index" where the index of the beginning element is 1 and increments by 1 for each element. Put your result list in brackets.

Ex Input:
[18, 13, -8, -1, -18, -2, -6, 6, 12, -3]

Ex Output:
[17, 11, -11, -5, -23, -8, -13, -2, 3, -13]


Ex Input:
[5, 1, 13, 15, -20, -17]

Ex Output:
[4, -1, 10, 11, -25, -23]


Ex Input:
[12, -17, 4]

Ex Output:


assistant: [11, -19, 1]
user: Part 1. Definition
In this task, you are given a sentence from the Bible in English, and your task is to translate it into Persian.
Part 2. Example
In the beginning God created the heaven and the earth.
Answer: در ابتدا، خدا آسمانها و زمین را آفرید.
Explanation: This is a good example. The above sentence is correctly translated from English to Persian.
Part 3. Exercise
But at the place which the LORD thy God shall choose to place his name in, there thou shalt sacrifice the passover at even, at the going down of the sun, at the season that thou camest forth out of Egypt.
Answer:

assistant: و بیاد آور که در مصر غلام بودی، پس متوجه شده، این فرایض را بجا آور.
user: Given a sentence in the Japanese, provide an equivalent translation in Thai that retains the same meaning through the translation. In translation, keep numbers as it is.
One example: フランスのパリ、パルク・デ・プランスで行われた2007年ラグビーワールドカップのプールCで、イタリアは31対5でポルトガルを下した。
Solution is here: อิตาลีได้เอาชนะโปรตุเกสด้วยคะแนน31ต่อ5 ในกลุ่มc ของการแข่งขันรักบี้เวิลด์คัพปี2007 ที่สนามปาร์กเดแพร็งส์ ที่กรุงปารีส ประเทศฝรั่งเศส
Explanation: This is a correct and accurate translation from Japanese to Thai because translated text is just paraphrased of Japanese sentence. Also, it preserves the numbers as it is.

Now, solve this: ニューサムは、より一層のグリーンテクノロジー、地方の景気刺激と普遍的な健康管理を約束する。
Solution:

assistant: Newsom สัญญาถึงเทคโนโลยีที่ปลอดภัยต่อสิ่งแวดล้อม, การกระตุ้นเศรษฐกิจท้องถิ่น และการรักษาพยาบาลแบบครอบคลุม
user: You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a story, answer the question about the story. The question is the last sentence in the input. The story has one of the three following scenarios: (1) when the individual's belief matches reality, (2) when the individual's belief does not match reality, (3) is when an individual has a false belief about another individual's beliefs. The question will ask about the location of an object in the story with respect to either none or one of the three scenarios.

Isabella entered the hall. Olivia entered the hall. The apple is in the blue_treasure_chest. Olivia exited the hall. Isabella moved the apple to the green_basket. Where does Isabella think that Olivia searches for the apple?
Solution: blue_treasure_chest
Why? Since Olivia was no longer in the hall, she last remembers the apple being in the blue_treasure_chest even though Isabella moved it to the green_basket. Since Isabella was in the hall the entire time, she knows where Olivia will look for it.

New input: Benjamin entered the hall. William entered the hall. The watermelon is in the red_crate. Benjamin moved the watermelon to the blue_pantry. Where does Benjamin think that William searches for the watermelon?
Solution:

assistant: blue_pantry
user: In this task, you are given a tuple, comprising Head and Tail, separated with <sep>. The Head and the Tail events are short phrases possibly involving participants. The names of specific people have been replaced by generic words (e.g., PersonX, PersonY, PersonZ). PersonX is always the subject of the event. You have to determine whether, as a result of the Head, PersonY or others will be affected as mentioned in the Tail or not. These effects are social actions that may occur after the Head event. For example, X may get hugged, and Y may blush in response. Classify your answers into "Yes" and "No". The phrase may also contain "___", a placeholder that can be an object, a person, and/or an action.
Example: Head: PersonX goes the way of the dodo<sep>Tail: none
Example solution: Yes
Example explanation: This is a good example. As a result of the Head, others won't be affected.

Problem: Head: PersonX goes bowling with PersonX's friends<sep>Tail: none


assistant: Solution: Yes
user: In this task you will be given two dialogues. You need to determine if both dialogues have the same underlying emotion. The possible emotions are happy, sad, angry, or other. If they do output 'yes', if not output 'no'.
--------
Question: Dialogue 1: 'what more would anyone want  sex and the city i love that movie'. Dialogue 2: 'yes sweet connecting now  are you man or woman '.

Answer: no


Question: Dialogue 1: 'luck i guess not that it's my bad luck cool'. Dialogue 2: 'i dont want to meet meet me in bandra simple where'.

Answer: yes


Question: Dialogue 1: 'so what plzz give it to some one else anything will do  not me i am not interested'. Dialogue 2: 'u where from u you know it sorry'.

Answer:

assistant: no
user: In this task, you need to count the number of times the given letter appears in the given sentence.

[Q]: Sentence: 'some giraffes moving across a big grass field'. Find frequency of the letter 'e'
[A]: 3


[Q]: Sentence: 'a baseball themed birthday cake is on a serving tray'. Find frequency of the letter 'g'
[A]: 1


[Q]: Sentence: 'a boat sitting on top of a beach next to water'. Find frequency of the letter 'g'
[A]:

assistant: 1
user: 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: personal or non-personal depending on the topic.

[EX Q]: তর মতন হারামি প্রধানমনএীর দিকে না দেখে রাসতার নেড়িকুওীর দিকে চাইলে মনে শান্তি লাগে। মিয়ানমারের মুসলিমদের হত্যা নিরযাতন করছে তর কোন বকতব্য নাই।আর যদিতর মদি বয়ফ্রেন্ডের জাতি মালাউনদের হত্যা করত তাহলে দেশের সেনাবাহিনিকে যুদ্বের জন্য প্রস্তত থাকার নিরদেশ দিত।
[EX A]: non-personal

[EX Q]: হ্যালো, আই ডিপজল কইছি, তুই কেডা? তুই যারে পাটক্ষেতে ডাকো সেই 
[EX A]: personal

[EX Q]:  আজ যদি রবিন্দ্রনাথ থাক ত থাকেও জঙি বলে ফাসি দিয়ে মার ত মরে গিয়ে ভাল করেছে না হলে বেচারার যে কি হত । 
[EX A]:

assistant: personal