ostapeno/flanv2_100k huggingface dataset:
user: In this task, you are given a short story consisting of exactly 5 sentences where the second sentence is missing. You are given a candidate for the second sentence and you need to identify if the given sentence connects the first sentence with the rest of the story. Indicate your answer by "Yes" if it connects, otherwise "No". Do not generate anything else apart from "Yes" or "No". The given sentence is incorrect if it changes the subsequent storyline, so that at least one of the three subsequent sentences form a consistent story.

Q: Sentence 1: The small orange cat was looking for a place to sleep. 
 Sentence 3: As he jumped, he accidentally knocked over a paint can and spilled it 
 Sentence 4:  The cat jumped back down and landed in a puddle of blue paint 
 Sentence 5:  He ran up the stairs, leaving a trail of blue paw prints 
 Given Sentence 2: The doctor came into the room and told her was simply a flu.

A: No
****
Q: Sentence 1: Gerald loved Ali and wanted to marry her. 
 Sentence 3: He thought for sure she would refuse him 
 Sentence 4:  Finally, he built up his courage and proposed 
 Sentence 5:  And to his shock and joy, she accepted! 
 Given Sentence 2: The house needed a lot of work.

A: No
****
Q: Sentence 1: Derek went to the bar. 
 Sentence 3: He started talking to the bartender 
 Sentence 4:  They ended up liking each other 
 Sentence 5:  He got her number 
 Given Sentence 2: He has had a long, upsetting day.

A:

assistant: Yes
****
user: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.

Example input: bYubMFxyTqR, AcDbMFxSnI
Example output: bYubfmxyTqR, AcDbfmxSnI
Example explanation: Here, 'bMFx' is the longest common substring in both the input strings 'bYubMFxyTqR' and 'AcDbMFxSnI'. Sorting it and converting to lowercase gives 'bfmx'. Replacing 'bfmx' instead of 'bMFx' in the two strings gives 'bYubfmxyTqR' and 'AcDbfmxSnI'
Q: cPpXWJRMATq, xaFybWJRMAZwIn
A:

assistant: cPpXajmrwTq, xaFybajmrwZwIn
user: Part 1. Definition
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.
Part 2. Example
['q', '31', 'a', 'd', '53', '85', 'p', '77']
Answer: 1, 3, 5, 7, 8
Explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
Part 3. Exercise
['327', 'j', 'e', 'i', '481', '87', 'v', 'i', 'w']
Answer:

assistant: 1, 2, 3, 4, 7, 8
user: In this task, you're given a pair of sentences, sentence 1 and sentence 2, that neither agree with nor contradict each other. Your job is to alter sentence 2 so that the pair clearly contradict each other. Generated sentences must be short, with less than 15 words. New information can be introduced. Avoid using pronouns to confuse the subject of the sentence.

[Q]: Sentence 1: A lady in a pink coat, black slacks, and brown shoes is sitting on a bench. Sentence 2: A lady is reading a book on a bench.
[A]: A person is sitting on a bench.


[Q]: Sentence 1: A person is driving an all-terrain vehicle through a muddy course. Sentence 2: persons first time in ATV
[A]: person drives ATV


[Q]: Sentence 1: Woman in Tye-dye shirt and another woman sing on the steps. Sentence 2: Two sisters are singing loudly on the steps.
[A]:

assistant: Two people are singing on the steps.
user: "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..."). Given a prompt and two responses, identify which response is the type of "yes, and". Indicate your answer by 'Response 1' if the first response is correct, otherwise 'Response 2'.  Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange.
--------
Question: Prompt: Shoot me instead! I just assumed that's where this is going. 
 Response 1: That is a terrific idea. No other network will be able to top this. 
 Response 2: Wait, I can't let you die. I just met you and you convinced to me to start eating ham again. So, you're basically my best friend. I'm looking at both of ya. So both of you can take my compliment.

Answer: Response 2


Question: Prompt: You didn't notice that we are flying children? 
 Response 1: I noticed it but thought what was really distinctive about these kids is their enthusiasm. 
 Response 2: I'll tell you why you can't be a member of the board. It's because everyone in my family is on the board. It's a family own sport club and you're not part of the family, Evelyn.

Answer: Response 1


Question: Prompt: A cave and a grave are two different things. 
 Response 1: This woman is undermining the very reality that our existence is based on. 
 Response 2: Hey look, I didn't ask for your whole life story. I just came up to tell you that if you plan to move back into the great seats in front of me, I'd like you to be quiet and respectful of Yngwie Malmsteen.

Answer:

assistant: Response 1
user: TASK DEFINITION: You are given a sentence in Galician. Your job is to translate the Galician sentence into Japanese.
PROBLEM: Un grupo moi diverso, en definitiva.

SOLUTION: とても多様な人々のグループです

PROBLEM: E non se refire a El. Quere dicir Mozart, que está... (risas)... como na terceira silla dende o centro. (Risas)

SOLUTION: あそこにいる人ということじゃないですよ彼が指していたのはモーツァルトです (笑) 真ん中から3番目の席にいるかのように (笑)

PROBLEM: Change.org é unha plataforma de intercambio de peticións onde se pode crear unha petición e compartila a través de tódalas redes sociais, a través de Facebook, de Twitter, de YouTube, de Reddit, de Tumblr, a través do que se nos poda ocorrer.

SOLUTION:

assistant: オンラインの署名プラットフォームで嘆願書をつくれるのそしてソーシャル・メディア・ネットワークを使って共有できるたとえばフェイスブックにツイッターユーチューブレディットタンブラー思いつく限りどれでも
user: Teacher: In this task, you're given the beginning and the ending of a three-part story. Your job is to complete the short story by writing a middle sentence that seamlessly connects  the first and last sentence. Generated sentences must be short, have fewer than 10 words, and be simple as if narrating to a child. Avoid using any irrelevant extra information when creating the middle sentence, and use names (e.g. Jack, Barbara,...) instead of pronouns (e.g. he / she) wherever possible.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Beginning: Helen lived in the state of Washington. Ending: Helen stayed home instead and planned to go another day.
Solution: Helen planned to drive to Canada but it started snowing heavily.
Reason: Generally, people prefer not to drive in bad weather.

Now, solve this instance: Beginning: Sam needed a new keyboard for his computer. Ending: Sam was happy when Mark bought him the new keyboard.
Student:

assistant: Mark asked Sam what he wanted for his birthday.
user: In this task, you're given a review from Amazon and your task is to generate the name of the category of the product based on the review given by the user. The categories are: kitchen, office product, watch, wireless, other, toy, digital video download, camera, jewelry, pet products, sports, industrial supplies, baby product, grocery, drugstore, home improvement, pc, shoes, automotive, digital ebook purchase, musical instruments, beauty, book, electronics, lawn and garden, apparel, home, video games, luggage, furniture, personal care appliances.

Q: The only reason I give these shoes a one rating is because when I wore them I was a fish bit me twice on the foot due to the bright colors reflecting in the water and thinking it was coral. After I took the shoes off I was fine! So don’t buy a bright flashy color if you plan on wearing them in the ocean! Otherwise they were a great fit and I wish I would have purchased a neutral or black color instead!

A: shoes
****
Q: My bird hated it. I mixed it with his old food to see if he would slowly transition to like it. I ended up having to throw the entire mix out and buy him a bag of his old food. He would not eat it. And screamed non stop for over a week.

A: pet products
****
Q: This cord didn’t work for me. I tried it several times with different devices to no avail. I later learned that it’s impossible for such a cord to work due to its structure. A converter like this would require a power source in order to work and it has no input for a power source, and while yes HDMI cords produce electricity, only a little and would fail to make such a cord work. I suggest buying a converter that allows for power input as that is more likely to work and be effective versus this cash grab product. Don’t waste your money

A:

assistant: electronics
****
user: Part 1. Definition
In this task, you are given two phrases: 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 the Head can be characterized by being or having the Tail or not. Being characterized usually describes entities' general characteristics such as rose is red, or subjective attributes such as thirst is uncomfortable. It can also map to descriptors that speak to the substance or value of items such as meat has the property of being stored in the freezer or bike is powered by a person's legs. 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.
Part 2. Example
Head: water<sep>Tail: effect of making things wet
Answer: Yes
Explanation: This is a good example. The water can be characterized by making things wet.
Part 3. Exercise
Head: jacket<sep>Tail: worn to keep warm in winter
Answer:

assistant: Yes
user: Teacher: In this task, you will be presented with a premise and a hypothesis sentence. Determine whether the hypothesis sentence entails (implies), contradicts (opposes), or is neutral with respect to the given premise. Please answer with "Contradiction", "Neutral", or "Entailment".
Teacher: Now, understand the problem? If you are still confused, see the following example:
Premise: Ockleton, Morpurgo, Cornelius, Dysart and half a dozen others too drunk to mention. But there was so much coming and going that any one of us could have slipped out, pushed Everett through the window and slipped back again without being noticed. Damn it all we didn't even notice Everett was missing until a porter tripped over him in the quad so anything's theoretically possible. <sep> Hypothesis: Everett was missing
Solution: Entailment
Reason: This is a good example. Everett was missing. So, the hypothesis sentence entails the given premise.

Now, solve this instance: Premise: ``Molly likes having an audience for her tales and it passes the hours for them.'' When Miss Louisa had a second more severe stroke at the end of August, and Miss Ellen another heart attack, both old ladies died within a few days of each other. Their friends could only feel that death was merciful in the circumstances especially with war imminent and that Molly had made the closing months of their lives very happy. <sep> Hypothesis: death was merciful in the circumstances
Student:

assistant: Entailment
user: Teacher: In this task, you are given a text which is the body of a document. You are given a question and options. Pick the correct number. Don't generate anything else apart from the numbers provided in options.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Text: The Mansfield Building Society is a UK building society which has its headquarters in Mansfield Nottinghamshire. It is a member of the Building Societies Association. 
Question: The document can be classified to which topic? Options: 1)Animal, 2)Plant, 3)Building, 4)Company, 5)WrittenWork
Solution: 3
Reason: Mansfield Building Society is a UK building society. Hence, option 3 is the correct answer

Now, solve this instance: Context: Sterculia cinerea is a species of plant in the Sterculiaceae family. It is found in Eritrea Ethiopia and Sudan.
Question: The document can be classified to which topic? 
Options: 1)Animal, 2)Village, 3)MeanOfTransportation, 4)Athlete, 5)Plant
Student:

assistant: 5
user: 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.
--------
Question: password = qWK3NU76C

Answer: 0


Question: password = 8R.ilULJT8IzOddXQQaho7YhLclHfo2CRhlyYTj6ixaKqm

Answer: 26


Question: password = oNbgtMoYNOYPo1cLPdKwLT3rDjLF!Mkvp

Answer:

assistant: 13
user: Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.

Example input: Basinger was born in Athens, Georgia, on December 8, 1953
Example output: December 8, 1953
Example explanation: The output is correct as it is a valid text span, is of minimal length and is the correct date of birth.
Q: Fiennes was born in Ipswich, England on 22 December 1962
A:

assistant: 22 December 1962
user: instruction:
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 four classes: Religious, Political, Geopolitical and Personal depending on the topic.
question:
 দেশ নেএি খালেদা জিয়া গেফতার কে ভয় পাননা এই সরকারের যদি সাহস থাকে তাহলে করেন গেফতার আমরা দেখতে চাই 
answer:
Personal


question:
 ধন্যবাদ নয়াদিগনত আর ও ধন্যবাদ জানাই শিবির ভাইদেকে ছালিয়ে জাও 
answer:
Political


question:
কিন্তু এটা ভারতের হয়ে জাবে কিছুদিন
answer:


assistant: Geopolitical
user: TASK DEFINITION: Given a sentence in the Indonesian(Bahasa variant), provide an equivalent translation in Japanese that retains the same meaning through the translation. In translation, keep numbers as it is.
PROBLEM: Sebuah investigasi internal RCMP selanjutnya menemukan beberapa contoh ketidakpantasan dalam kasus Arar, termasuk ketentuan dari informasi yang sensitif pada Arar untuk pejabat Amerika Serikat, dan bahwa seorang petugas penghubung dapat mengetahui rencana deportasi tersebut namun tidak memberitahu pengawasnya.

SOLUTION: 以降、RCMPの内部調査でアラール氏の事件において、アメリカ当局へのアラール氏の詳細な情報の提供と、連絡将校が強制退去計画を知りながら彼の上司に連絡しなかったことを含む複数の不正の事実を発見した。

PROBLEM: 4,5 juta murid di Zimbabwe tidak akan menerima apa yang menjadi standar emas pendidikan di Afrika-atau pendidikan apapun setidaknya di tahun ajaran ini.

SOLUTION: ジンバブエの学生450万人は、現学年はかつてアフリカにおける教育の黄金水準であったもの、あるいは教育というものを全く受けなくなるでしょう。

PROBLEM: Shetty memandu acara, dan telah menyatakan bahwa "doanya bersama Jade."

SOLUTION:

assistant: Shettyはショーを主催しているが、「ジェイドとともに祈る」と述べた。
user: In this task, you're given an ambiguous question (which can be answered in more than one way). Your task is to write a question that clarifies the given question in such a way that the generated question has one unique answer.
One example: Lucifer how many episodes are in season 3?
Solution is here: How many episodes of season 3 of Lucifer were there, including bonus episodes?
Explanation: The generated question clarifies the input question by asking about bonus episodes because if the question is about regular episodes only then the answer will be different than including the bonus episodes.

Now, solve this: Who made the first periodic table of elements?
Solution:

assistant: Who made the first recognizable periodic table of elements?
user: TASK DEFINITION: You are given a sentence in Hebrew. Your job is to translate the Hebrew sentence into Japanese.
PROBLEM: עשינו המון בשביל נשים בוגרות.

SOLUTION: 成人女性に対する活動は十分にしてきました

PROBLEM: זהו רעיון רב-עוצמה.

SOLUTION: とても影響力のある考えです

PROBLEM: כאשר האתרים האלה נמצאים - כפי שאתם יכולים לראות כאן, המולקולה הכחולה היא DNA — המכלול הזה מתחבר עם ה DNA הזה ומאפשר לקופיץ של ה- Cas9 לחתוך את ה- DNA הנגיפי.

SOLUTION:

assistant: 部位が検出されると ― ご覧の青い分子がDNAですが ― この複合体がDNAと結合し次にCas9がウイルスDNAを切断します
user: Detailed Instructions: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that 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.
See one example below:
Problem: Step 1: For each row in Movie table, find the corresponding rows in Rating table.
Step 2: find each value of director in the results of step 1 along with the summation of stars of the corresponding rows to each value
Solution: SELECT T1.title , Sum ( T2.stars ) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director
Explanation: This SQL statement uses a "JOIN" statement to combine the "Movie" and "Rating" table then find the corresponding rows by comparing the movie id, which accomplishes step 1. Finally the SQL statement groups the values by each director and returns the title of each movie and the sum of all the stars, which accomplishes step 2. This is a good example.

Problem: find the number of rows in team table whose Name equals Columbus Crew
Solution:

assistant: SELECT Count ( * ) FROM team WHERE Name = "Columbus Crew"
user: You are given a sentence in Portuguese. Your job is to translate the Portuguese sentence into Arabic.
--------
Question: A riqueza mais fiável encontra-se nos relacionamentos.

Answer: الثروة الأكثر قوة وفعالية قد وُجدت في العلاقة بين البشر.


Question: Isto traduzir-se-á numas poucas horas por mês, que não fariam falta à empresa, mas que permitem algo muito importante: parcerias a longo-prazo.

Answer: هذا قد يعادل بضع ساعات فقط في الشهر ، حيث أنه بالكاد ستفتقده الشركة ، ولكن ما تمكّنه حقاً مهم: شراكة طويلة الأمد ،


Question: Sabem, muito da medicina tem um risco elevado.

Answer:

assistant: أوتعلمون ؟ إن الكثير من الأدوية مخاطرة كبيرة.
user: Detailed Instructions: In this task, you're given a pair of sentences, sentence 1 and sentence 2. Your job is to write a single word that describes the genre that the two sentences belong to, such as face-to-face, government, letters, 9/11, slate, telephone, travel, verbatim, oup, fiction.
See one example below:
Problem: Sentence 1: Next to the MGM Grand you will find M and M World. Sentence 2: The candy has many fans who love its attractions.
Solution: travel
Explanation: The places are specifically pointed out and referred to as attractions.

Problem: Sentence 1: Materials. Sentence 2: Materials.
Solution:

assistant: slate
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.
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 numerical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no numerical element is in the list.

['238', 'h', '92', 'U', '2799']
Solution: 1, 3, 5
Why? Here, the numerical elements in the input list are '238', '92' and '2799' and they are at positions '1', '3', and '5', respectively.

New input: ['5021', 'd', '4663', '1819', 'L', 'W', '5147', 'A', 'w', 'e', '3243', '6201', '7129', '2205', 'Z', 'z']
Solution:

assistant: 1, 3, 4, 7, 11, 12, 13, 14
user: Detailed Instructions: In this task, you're given a statement and three sentences as choices. Your job is to determine which sentence can be inferred from the statement. Incorrect choices change the meaning in important ways or have details that are not mentioned in the statement. Indicate your answer as 1,2, or 3 corresponding to the choice number of the selected sentence.
See one example below:
Problem: Statement: Next to the MGM Grand you will find M and M World, four stories of merchandise and memorabilia dedicated to the candy that doesn't melt in your hand. Choices: 1. The candy has many fans who love its attractions. 2. There's four stories of memorabilia dedicated to a candy. 3. That particular candy melts and becomes difficult to eat.
Solution: 2
Explanation: The candy may or may not be popular, and does not melt and become difficult to eat. Hence the second choice is the only one that fully agrees with the statement.

Problem: Statement: She becomes familiar with people who have been in court over and over. Choices:  1. These people are mostly lawyer, judges, and police officers. 2. Some people are in court over and over again. 3. She can not remember anyone no mater how many times they are in court.
Solution:

assistant: 2