ostapeno/flanv2_100k huggingface dataset:
user: instruction:
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
question:
rlrrrllrltrrtll
answer:
ltrrtl


question:
zzooozozzo
answer:
zoooz


question:
mrryryyrym
answer:


assistant: yryyry
user: You are given a sentence in Spanish. Your job is to translate the Spanish sentence into Galician.
One example: Gracias.
Solution is here: Grazas.
Explanation: The Spanish sentence is correctly translated into Galician, because the meaning is preserved.

Now, solve this: Si llevamos a cabo una calificación soberana, básicamente echamos un vistazo a el "" suelo "" económico de un país, sus fundamentos macroeconómicos.
Solution:

assistant: se diriximos unha cualificación soberana estamos a ter basicamente unha visualización do chan económico dun país, os seus fundamentos macroeconómicos,
user: In this task, you are given a dialogue between a user and an assistant, where users and assistants converse about geographic topics like geopolitical entities and locations. The task here is to find if the dialogue is by the user or assistant. Classify your answers into user and assistant.

[Q]: Srikakulam district is the largest rural population at 83.8% among other states. Anything else?
[A]: assistant


[Q]: Can you tell me about the demographic?
[A]: user


[Q]: Awesome! Can you tell me more geographical facts?
[A]:

assistant: user
user: In this task, you are given a hypothesis and an update. The hypothesis sentence is a statement that speaks of a socially normative behavior. In other words, it is a generalizing statement about how we expect people to behave in society. The update provides additional contexts about the situation that might UNDERMINE or SUPPORT the generalization. An undermining context provides a situation that weakens the hypothesis. A supporting context provides a situation that strengthens the generalization. Your task is to output 'strengthener' or 'weakener' if the update supports or undermines the hypothesis, respectively
Example: Hypothesis: You should help your family with funeral expenses.
Update: They have asked you to chip in
Example solution: strengthener
Example explanation: If your family has asked you to chip in for the funeral expenses, you should help them.

Problem: Hypothesis: It is okay to have dreams of your own, even if someone else has the same ones.
Update: Your dreams involve becoming a genocidal dictator.


assistant: Solution: weakener
user: You are given a sentence in Galician. Your job is to translate the Galician sentence into Italian.

Ex Input:
Podemos ir noutra dirección e dicir está ben, son charlas que sintetizan ampliamente unha morea de campos distintos.

Ex Output:
Possiamo cambiare direzione e chiederci quali conferenze sintetizzano in generale molti campi di tipo diverso.


Ex Input:
E así os expertos mundiais da saúde necesitarían responder, terían que desenvolver, recalibrar todo o que estaban facendo.

Ex Output:
Perciò gli esperti sanitari globali dovevamo rispondere, sviluppare, ricalibrare qualunque cosa stessero facendo.


Ex Input:
Obviamente o condutor non pode ver, así que o sistema necesita percibir o entorno e reunir a información para o condutor.

Ex Output:


assistant: Ovviamente, dato che il conducente non può vedere, è il sistema a dover percepire l'ambiente e raccogliere le informazioni per il guidatore.
user: You are given a math word problem and you are supposed to apply multiplication or division mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Example Input: A cereal box holds 18 cups of cereal . Each serving is 2 cups . How many servings are in the whole box ?
Example Output: 9

Example Input: Nancy has 7 black balloons . Mary has 4 times more black balloons than Nancy . How many black balloons does Mary have now ?
Example Output: 28

Example Input: Isabel had 2 pages of math homework and 4 pages of reading homework . If each page had 5 problems on it , how many problems did she have to complete total ?
Example Output:

assistant: 30
user: Given a scientific passage and an answer, generate a question for the given answer.
--------
Question: Passage: Translation is the process of ordering the amino acids in the assembly of a protein. The word ribosome comes from ribo nucleic acid and the Greek soma (meaning body). Two Nobel Prizes have been awarded for work relating to the ribosome. The 1974 Nobel Prize in Physiology or Medicine was awarded to Albert Claude, Christian de Duve and George Emil Palade for the discovery of the ribosome, and the 2009 Nobel Prize in Chemistry was awarded to Venkatraman Ramakrishnan, Thomas A. Steitz and Ada E. Yonath for discovering the detailed structure and mechanism of the ribosome. Answer: protein

Answer: Translation is the process of ordering the amino acids in the assembly of a?


Question: Passage: Some nonmetals are very reactive, whereas others are not reactive at all. It depends on the number of electrons in their outer energy level. Answer: reactivity

Answer: The number of electrons in the outer energy level determines what property of nonmetals?


Question: Passage: Because they cannot escape the container, the vapor molecules above the surface of the liquid exert a pressure on the walls of the container. The vapor pressure is a measure of the presure (force per unit area) exerted by a gas above a liquid in a sealed container. Vapor pressure is a property of a liquid based on the strength of its intermolecular forces. A liquid with weak intermolecular forces evaporates more easily and has a high vapor pressure. A liquid with stronger intermolecular forces does not evaporate easily and thus has a lower vapor pressure. For example, diethyl ether is a nonpolar liquid with weak dispersion forces. Its vapor pressure at 20°C is 58.96 kPa. Water is a polar liquid whose molecules are attracted to one another by relatively strong hydrogen bonding. The vapor pressure of water at 20°C is only 2.33 kPa, far less than that of diethyl ether. Answer: vapor pressure

Answer:

assistant: What term describes a property of a liquid based on the strength of its intermolecular forces?
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.
You are given a news article headline from BBC Yoruba and your task is to classify it into one of the following categories:  Africa, Entertainment, Health, Nigeria, Politics, Sport, or World.

2019 Election update: Buhari borí; ó di ààrẹ
Nàìjíríà tuntun
Solution: Politics
Why? The headline talks about the new president of Nigeria. So, it belongs to Politics category.

New input: Kizito Mihigo: Akọrin tó fẹ́ lọ darapọ̀ mọ́ ìkọ̀ ajìjàgbara gbẹ̀mí ará rẹ̀ làhàmọ́
Solution:

assistant: Entertainment
user: In this task, you're given two sentences. Indicate if the first sentence clearly entails the second sentence (i.e., one can conclude the 2nd sentence by reading the 1st one). Indicate your answer with '1' if the first sentence entails the second sentence, otherwise answer with '0'.

Example input: Sentence 1: No Weapons of Mass Destruction Found in Iraq Yet. Sentence 2:Weapons of Mass Destruction Found in Iraq.
Example output: 0
Example explanation: In our first statement we clearly say that Iraq does not have any weapon of mass destruction but the second sentence says that weapon of mass destruction is found in Iraq which is contradiction. Hence output will be 0 for non entailment.
Q: Sentence 1: After leaving Time-Life, Shuker joined the Public Broadcast Laboratory, forerunner of PBS, and participated in two pioneering films -- 'The Chair,' about an attorney trying to save a condemned man, and 'Free At Last,' a 90-minute documentary about Dr. Martin Luther King Jr. that by chance was being made when King was murdered in 1968. Sentence 2: Martin Luther King was murdered in 1968.
A:

assistant: 1
user: TASK DEFINITION: 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.
PROBLEM: Sentence: Furthermore , I would like to reiterate that RAC 's goal , prior to quoting any credit reserve , is to be 100 % confident that : ( {{ i }} ) the methodology that is being employed is consistent among the internal groups ; and ( ii ) the inherent value of the price risk management contracts matches . 
Word: i

SOLUTION: LS

PROBLEM: Sentence: click on the " + " for " Awaiting Approval " ( OR {{ " }} Partially Approved " ) 
Word: "

SOLUTION: ``

PROBLEM: Sentence: I was told to leave a restaurant because I ordered water with my meal ( apparently this is " washing down " your food {{ " }} ) and not ordering wine . 
Word: "

SOLUTION:

assistant: ''
user: In this task, you will be given a movie review in Persian. You have to Classify the sentiment of the reviewer toward the movie into: "negative", "neutral", "positive", and "mixed". The mixed category indicates reviews where none of the sentiments are dominant (mix of positive and negative, or borderline cases); hence it is hard to detect the primary sentiment. Also, assign neutral label to reviews that express no clear sentiment toward an entity or any aspect of it.
One example: در جشنواره متاسفانه نتونستم ببینم ولی دیشب در اکران فیلم های جشنواره فجر در پردیس چارسو موفق به دیدن فیلم شدم.  چه فیلم خوبی از فضای بصری زیبا و چشم نواز ، تا بازی   فوق العاده حامد بهداد.....
Solution is here: positive
Explanation: This is a good example. The sentiment of the review is positive toward the movie.

Now, solve this: دیدن این فیلم را به همه دوستانی که می خواهند از دیدن کی اثر لذت ببرند و در عین حال بیاموزند  توصیه می کنم...
Solution:

assistant: positive
user: You are given a paragraph (Passage), a question (Question) and two answer options (Option1 and Option2). Your task is to choose the correct answer to the question based on the passage. Answer of the question cannot be found directly from the passage, it is indirectly indicated in the passage. Do not answer with words other than the two options, and do not answer with option titles(e.g. "option1" or "1" are not acceptable answers.)

[Q]: Passage: I just went fishing for the first time and it was a lot of fun . Since I have never done it before I had to get some supplies . I bought and packed up a first aid kit , sunscreen and bug spray , needle nose pliers , a few different lures , some plastic worms , a few sinkers and bobbers , some hooks and fishing line and of course my brand new fishing pole . I did n't think I was ready to deal with real worms or anything too complicated so I 'm glad there was a plastic option ! I got everything set up in my spot at the lake and waited to see the bobber go up and down to let me know I had a fish on the line . Every time I go I 'll gain more experience and start catching bigger fish ! Question: What did they catch that were all pretty small? Option1: fish Option2: lures
[A]: fish


[Q]: Passage: It was Friday and had been a long week , so I was not looking forward to cooking dinner . A quick check of the fridge showed that there was no leftovers from earlier in the week . Since it was Friday , I decided that treating my son to Burger King was acceptable , so I called for him to come to the living room . I asked him . His smile was all I needed to know . We walked the two blocks to the Burger King . The instant we walked in I could smell fries . We walked up to the counter where we each ordered our food an a milkshake to split . We stood to the side watching the workers put fries into holders and sandwiches into bags until our names were called . He began eating it , alternating between fries , the burger and the milkshake . Question: Who ran to a table? Option1: Grandma. Option2: The son did.
[A]: The son did.


[Q]: Passage: Sometimes on rainy days I like to go to the museum since there is nothing to do outside . Today was one of those days , so I went to the museum with my friend Kallie . We were going to see an exhibit on dinosaurs . We paid the cashier and then entered the exhibit . We were careful to be quiet so we would n't disturb other visitors . We went to the first exhibit of a T-Rex and took turns reading the plaques that were displayed next to the exhibit . The curator was there to answer questions that visitors may have about the different dinosaurs on display . She was very nice and helpful and told us a lot of neat things we would n't have otherwise known . Question: They took what visiting each exhibit? Option1: museum Option2: time
[A]:

assistant: time
user: In this task, you're given two sentences, sentence 1 and sentence 2, and the genre they belong to. Your job is to determine if the two sentences belong to the same genre or not. Indicate your answer with Y and N respectively. Genres available include: face-to-face, government, letters, 9/11, slate, telephone, travel, verbatim, oup, fiction. Sentences belonging to 'face-to-face' genres relate to conversations or dialogues, 'government' encompasses information released from public government websites, 'letters' refers to any written work for philanthropic fundraising, '9/11' relates to information pertaining to the 9/11 attacks, 'oup' includes non-fiction works on the textile industry and child development, 'slate' refers to any cultural topic that appears in the slate magazine, 'telephone' includes telephonic dialogue, 'travel' deals with information in travel guides, 'verbatim' includes short posts regarding linguistics, and 'fiction' includes popular works of fiction like 'The Secret Adversary' etc.
One example: 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. Genre: travel.
Solution is here: Y
Explanation: The places are specifically pointed out and referred to as attractions and hence are in the same genre.

Now, solve this: Sentence 1: you'll you'll never guess who this person is Sentence 2: You won't guess who this person is but I'll give you a clue: She is Haitian. Genre: telephone.
Solution:

assistant: Y
user: Detailed Instructions: Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
See one example below:
Problem: Entity 1: plant 
 Entity 2: leaf
Solution: yes
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: outer space 
 Entity 2: hole
Solution:

assistant: no
user: You will be given a sentence. Check whether the sentence is grammatically correct and is meaningful. If the sentence is grammatically correct, then answer with '1', otherwise answer with '0'.

Q: The farmer dumped apples into the cart.

A: 1
****
Q: He's a man to whom liberty, we could never grant it.

A: 0
****
Q: The handsome, tall man kicked the ball.

A:

assistant: 1
****
user: The task is about translation from Telugu to English. While performing the translation you must preserve the original meaning. Do not include any words which are only limited to your native place.

[EX Q]: మీరు ప్రాధాన్యత వచ్చింది?
[EX A]: You got a preference?

[EX Q]: స్నాక్?
[EX A]: Snack?

[EX Q]: సంఖ్యమనిషిపిల్లఎప్పుడూసంతోషముగాఉంది
[EX A]:

assistant: No man cub was ever happier.
user: In this task, you're given a short story of five sentences written in natural language. However, the order of the given story is not correct. Your job is to return the correct order for the given five sentences to create a coherent short story with the new order that has the correct flow. Generate your answer using the number of sentences in the correct order, such as '23415'.

Example Input: Sentence1: Trudey wanted to write novels for a living. Sentence2: Trudey hoped self-publishing would be more profitable. Sentence3: She wrote another through self-publishing avenues. Sentence4: It barely made enough to cover the advance she had received. Sentence5: She wrote one through traditional publishing means.
Example Output: 15432

Example Input: Sentence1: Jane's mother made a very good apple pie. Sentence2: Jane always wanted the recipe but her mother wouldn't give it to her. Sentence3: One Christmas, she asked her again for the recipe. Sentence4: Jane's mother decided that she would give her the recipe. Sentence5: Jane was thankful to have the recipe.
Example Output: 12345

Example Input: Sentence1: She really didn't know what to do. Sentence2: Her father was out of the question as he was an abusive jerk. Sentence3: She needed someone to give her away. Sentence4: Chelsea was getting married next week. Sentence5: She decided to ask her brother, who was honored to do so.
Example Output:

assistant: 43215
user: You are given a sentence in Japanese. Your job is to translate the Japanese sentence into Hebrew.

Input: Consider Input: 核融合はお金が掛かりすぎだとしばしば批判されます

Output: עכשיו, היתוך מקבל ביקורת על היותו מעט יקר מדי.


Input: Consider Input: まずマーカーとペーパー・クリップを用意します

Output: קודם כל, אני רוצה לוודא שיש לנו מרקר ושיש לנו אטב.


Input: Consider Input: つまり創造の担い手が増えているのです



assistant: Output: מה שקורה שם זה שכל תחום היצירתיות מתרחב.
user: Given the task definition, example input & output, solve the new input case.
You are given a sentence in Portuguese. Your job is to translate the Portuguese sentence into Polish.
Example: Os "" media "" interligavam-se connosco.
Output: Media łączyły się z nami.
The Portugese sentence is correctly translated into Polish, because the meaning is preserved.

New input case for you: Por isso, aquilo que estão a ver aqui no doador um e no doador quatro, que são as excepções em relação aos outros dois, é que os genes estão a ser activados num subgrupo de células muito específico.
Output:

assistant: To na co teraz patrzycie to dawca 1 i dawca 4, którzy stanowią wyjątek w stosunku do pozostałych dwóch dawców. Ich geny są włączone w bardzo specyficznej podgrupie komórek.
user: TASK DEFINITION: Given scientific fact as input, generate the question from this fact such that it can be answered from the input.
PROBLEM: An allele that's always expressed over another is a dominant allele.

SOLUTION: What's the term for an allele that's always expressed over another?

PROBLEM: Plasma membranes encloses and defines the borders of cells.

SOLUTION: What encloses and defines the borders of cells?

PROBLEM: Carbohydrates are the most common type of organic compound.

SOLUTION:

assistant: What is the most common type of organic compound?
user: Detailed Instructions: You are given a sentence in Japanese. Your job is to translate the Japanese sentence into Portugese.
See one example below:
Problem: このアイデアはとてもシンプルで
Solution: A ideia é muito, muito simples.
Explanation: The Japanese sentence is correctly translated into Portugese, because the meaning is preserved.

Problem: はしごを持って行ったら高さが足りませんでした
Solution:

assistant: Assim chegamos apenas com as nossas escadas e percebemos que não eram suficientemente altas.
user: In this task, you are given a hateful post in Bengali that expresses hate or encourages violence in a geopolitical context based on the protected characteristics such as race, religion, sex, and sexual orientation. You are expected to classify the post into two classes: geopolitical or non-geopolitical depending on the topic.

Input: Consider Input: বাঁশ কিন্তু তোমার জন্য রেডি আছে, শুধু তোমারে আবার বাডে পাইয়া লই. কুত্তার বাচ্চা। 

Output: non-geopolitical


Input: Consider Input: এক বাঙালী কোনোদিন অন্য বাঙালীর ভালো দেখতে পারে না 

Output: non-geopolitical


Input: Consider Input: মুসলমান দেশের মধ্যে ইরানে একমাএ সাহসী দেশ বাকীরা সবাই আবাল আর বাংলাদেশটো গাধার দল ভারতের মালাউনের কাছে বাস খায়



assistant: Output: geopolitical
user: instruction:
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
question:
ربما واحد منا مخطئاً عن ما هو الخطأ.
answer:
Se cadra un de nós equivócase sobre o mal.


question:
إذا الموضوع الواضح لأتحدث عنه اليوم هو الرسم والصوت
answer:
Para min, o normal hoxe é falar de gráficos e audio.


question:
من المحتمل أن يكون التدخل بمجموعة من العوامل.
answer:


assistant: Probablemente será unha combinación de factores.
user: Teacher: In this task, you will be given a list of integers. You should remove all of the odd integers from the list(consider 0 an even number). If every integer in the input list is odd then an empty list ("[]") should be returned. Otherwise, answer with the list of even numbers separated by comma inside brackets.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[1, 8, 0, 2, 9]
Solution: [8, 0, 2]
Reason: 1 and 9 are removed from the list because they are odd numbers.

Now, solve this instance: [60, 56, 43, 74]
Student:

assistant: [60, 56, 74]
user: In this task, you need to provide the correct option for a given problem from the provided options.
--------
Question: Problem: there are 10 girls and 20 boys in a classroom . what is the ratio of girls to boys ? 
Options: a ) 1 / 2 , b ) 1 / 3 , c ) 1 / 5 , d ) 10 / 30 , e ) 2 / 5

Answer: a


Question: Problem: a number is said to be prime saturated if the product of all the different positive prime factors of t is less than the square root of t . what is the greatest two digit prime saturated integer ? 
Options: a ) 99 , b ) 98 , c ) 97 , d ) 96 , e ) 95

Answer: d


Question: Problem: the l . c . m . of two numbers is 54 . the numbers are in the ratio 2 : 3 . then sum of the number is : 
Options: a ) 28 , b ) 32 , c ) 40 , d ) 45 , e ) 54

Answer:

assistant: d
user: In this task, you are given a context tweet, a question and corresponding answer of given question. Your task is to classify given passage into two categories: (1) "yes" if the given context is useful in answering the question, and (2) "no" if the given context is not useful.
One example: Context: Our prayers are with the students, educators & families at Independence High School & all the first responders on the scene. #PatriotPride— Doug Ducey (@dougducey) February 12, 2016 Question: at which school were first responders on the scene for? Answer: independence high school
Solution is here: yes
Explanation: Here, the generated label is 'yes' because the given context is useful in answering the question.

Now, solve this: Context: .@Bakari_Sellers: We don't want anything from white nationalists. All we want is human dignity and equity. CNN Tonight (@CNNTonight) December 22, 2016 Question: who wants power taken from white establishments Answer: the left
Solution:

assistant: yes