ostapeno/flanv2_100k huggingface dataset:
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 sentence in French, generate a new French sentence by performing small changes on the sentence. Here, make sure that the changes are semantically related and syntactically similar to the input. And the generated sentence should have high commonsense plausibility, that is to have reasonable probability of it being true.

Tomber amoureux, c'est comme manger un chocolat.
Solution: Tomber amoureux, c'est comme allumer un bar de vacances.
Why? This is a good change in the sentence, because it is semantically similar to the input as both are talking about falling in love and the created sentence follows the commonsense knowledge.

New input: Pour donner une vraie main signifie que seulement un peu d'aide est nécessaire.
Solution:

assistant: Pour donner quelques mains signifie que seulement un peu de lutte est nécessaire.
user: 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.
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.
Solution is here: travel
Explanation: The places are specifically pointed out and referred to as attractions.

Now, solve this: Sentence 1: It would have been wiser to install a more high-powered model, but that would have meant a trip to some outpost of civilization; lost time; perhaps a lost secret. Sentence 2: They didn't want to travel to some far away lost civilization to get a hgih powered model.
Solution:

assistant: fiction
user: Part 1. Definition
You are given a sentence in Spanish. Your job is to translate the Spanish sentence into Galician.
Part 2. Example
Gracias.
Answer: Grazas.
Explanation: The Spanish sentence is correctly translated into Galician, because the meaning is preserved.
Part 3. Exercise
El problema de los profesores medievales españoles que tenían la tarea de traducir este material es que la letra SHeen y la palabra shalan no podían llevarse al español porque el español no tiene esta SH, este sonido “sh ”.
Answer:

assistant: O problema para os académicos medievais españois que tiñan que traducir este material é que a letra SHeen e a palabra shalan non se poden reproducir en español porque o español non ten ese SH, ese son do "" xe "".
user: instruction:
You are given a sentence in Italian. Your job is to translate the Italian sentence into Polish.
question:
Abbiamo semplicemente lasciato che imparassero da sole.
answer:
Pozwoliliśmy im tylko samodzielnie się tego nauczyć.


question:
Costruiremo il nostro museo nazionale per raccontare la storia della nostra gente; stiamo per iniziare.
answer:
Zamierzamy wybudować muzeum narodowe, aby opowiedzieć historię naszego ludu. Właśnie rozpoczynamy realizację tego pomysłu.


question:
Ci sono molte cose da dire a riguardo. Diventa veramente semplice, e fondamentalmente ciò che state facendo è toccare la macchina, state toccando la nuvola e questo sarà il modo di usare il computer.
answer:


assistant: Długo by o tym mowić, ale w sumie będzie to działać bardzo prosto, bo w zasadzie jedyne co robisz, to tylko dotykasz maszyny, dotykasz 'chmury', by w ten sposób dokonywać komputerowych obliczeń.
user: TASK DEFINITION: In this task, you need to remove all words of a given length in the sentence. The number of letters in a word determine its length, for example, the length of the word "apple" is 5.
PROBLEM: Sentence: 'a bed in a hotel room with checkered purple sheets'. Remove all words of length '6' in the given sentence.

SOLUTION: a bed in a hotel room with checkered

PROBLEM: Sentence: 'a man holding a cell phone standing next to a statue and stairs'. Remove all words of length '7' in the given sentence.

SOLUTION: a man a cell phone standing next to a statue and stairs

PROBLEM: Sentence: 'there is a bright window in the small bathroom'. Remove all words of length '6' in the given sentence.

SOLUTION:

assistant: there is a in the small bathroom
user: Given the task definition, example input & output, solve the new input case.
You are given a sentence in Spanish. Your job is to translate the Spanish sentence into Portugese.
Example: Y puede expresar desde admiración y codicia, hasta ansiedad y angustia.
Output: Podem assim exprimir tudo desde admiração e desejo até ansiedade e angústia.
The Spanish sentence is correctly translated into Portugese, because the meaning is preserved.

New input case for you: Ahora tienen poder, es decir, pueden y lo hacen, suspender y expulsar niños; no juegan a la escuela, realmente deciden.
Output:

assistant: e eles têm o poder, o que significa que podem suspender e expulsar crianças, e fazem-no, portanto, não estamos a brincar às escolas.
user: In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

[Q]: In later life this mythological figure left Argos and arrived after some journeys in southern Italy, where he supposedly founded several cities. The son of Tydeus and Deipyle, this man was one of the Epigoni before going to Troy, where he nearly killed Aeneas in combat, killed both Rhesus and Dolon, helped smuggle the Palladium out of Troy, and even managed to wound the god Ares in battle. Name this character of Greek myth who shares his name with a king of Thrace known, FTP, for his flesh-eating mares, to whom he fed the bodies of his houseguests until he himself was fed to them by Heracles.
[A]: Social Science


[Q]: "Toy" and "toe" are two orthologs of the PAX6 gene in Drosophila named for their influence on the development of these structures. In insects and millipedes, these structures are made of clusters of hexagonal ommatidia, and rhodopsin is a pigment found in these organs. The(*) hyaloid canal passes through the vitreous humor in this organ, and rods and cones are specialized neurons found in the retina in this organ. For 10 points, name this organ in which the iris controls the passage of light through the pupil and toward the lens.
[A]: Social Science


[Q]: A year after this man's wool partnership with Simon Perkins failed, his one-year-old daughter was accidentally scalded to death. In 2012, John Stauffer and Zoe Trodd published The Tribunal, a collection of responses to this man from figures like Wendell Phillips, Horace Greeley and Karl Marx. For a time, this man lived with his family on land owned by Gerrit Smith in North Elba, New York. Mahala Doyle wrote a scathing letter to this man after it was revealed he (*) hacked her husband to death and killed William Sherman. Thomas Wentworth Higginson was one of the Secret Six who supplied this man with weapons. This man responded to the sack of Lawrence by launching the Pottawatomie Massacre. For 10 points, name this man who launched a raid on Harpers Ferry.
[A]:

assistant: History
user: You are given a review of Amazon's food products. Your task is to divide them into two classes: negative or positive, depending on the content of the review.
Example: I have bought several of the Vitality canned dog food products and have found them all to be of good quality. The product looks more like a stew than a processed meat and it smells better. My Labrador is finicky and she appreciates this product better than  most.
Example solution: Positive
Example explanation: It's a positive review because the owner of the dog is satisfied with the product and mentioned that their dog appreciates the product.

Problem: One perfect box. No rips, tears or gouges. Inside the box? 6 badly dented cans of chowder that looked like they fell out of an airplane. Every single can! Very disappointed. Should I return them all? Is the chowder any good? Was this a joke? I rate this 1 star...for the unblemished box.


assistant: Solution: Negative
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'.

Ex Input:
Dialogue 1: 'i cannot kill a mosquito with a tennis racket playing with mosquito bat is possible i think it will be on the next gen the new mosquito killer bat p which you can use to play toowinkingface'. Dialogue 2: 'nothing let me help you sweetie my gf left me'.

Ex Output:
no


Ex Input:
Dialogue 1: 'yes thanks for being with me forever  haha i can go for you tomorrow really but i want to meet you  in reality '. Dialogue 2: '101 one never goes 101 but my gubbi '.

Ex Output:
yes


Ex Input:
Dialogue 1: 'which books the ones ure reading on kindle i m not using kindle'. Dialogue 2: 'that was lame hey it was thoughtful you are lame then'.

Ex Output:


assistant: no
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: religious or non-political religious on the topic.
Example: কোনো মেয়ে ইসলাম ধর্ম গ্রহণ করলে আমি তাকে বিয়ে করতে রাজি(আমি কুরআন হাফেজ)।
Example solution: religious
Example explanation: Here it expresses hate against the religion, hence tagged as religious.

Problem: আরে তুই তো বাজারের মেয়ে থেকেও খারাপ। 


assistant: Solution: non-religious
user: Teacher: In this task, you will be given a movie review and a question about the reviewer's sentiment toward one aspect of the movie in Persian. You have to infer the answer to the question from the review and classify it. Classify the reviewer's sentiment into: "no sentiment expressed", "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. The "no sentiment expressed" label should be assigned to the reviews where the given aspect didn't discuss in the text.
Teacher: Now, understand the problem? If you are still confused, see the following example:
من این فیلم رو دوست داشتم .شخصیت سارا بهرامی عالی بود و همچنین بازی امین حیایی  بعنوان یک مرد خونسرد..بازی مهناز افشار هم عالی بود  فیلم روایتی از روایتهای تلخ جامعه مان میباشد<sep>Question: نظر شما به صورت کلی در مورد فیلم  دارکوب چیست؟
Solution: positive
Reason: This is a good example. The sentiment of the review is positive toward the movie.

Now, solve this instance: ایده این فیلم از آن جا کاهانی گرفته نشده آیا؟؟؟<sep>Question: نظر شما به صورت کلی در مورد فیلم  برف روی کاج‌ها چیست؟
Student:

assistant: neutral
user: In this task, you're given the title of a five-sentence story, the first four sentences, and two options for the fifth sentence as a and b. Your job is to pick the sentence option that seamlessly connects with the rest of the story, indicating your choice as 'a' or 'b'. If both sentences are plausible, pick the one that makes more sense.

Let me give you an example: Title: Marcus Buys Khakis. Sentence 1: Marcus needed clothing for a business casual event. Sentence 2: All of his clothes were either too formal or too casual. Sentence 3: He decided to buy a pair of khakis. Sentence 4: The pair he bought fit him perfectly. Choices: a. Marcus was happy to have the right clothes for the event. b. He left in a huff for having his ideas mocked.
The answer to this example can be: a
Here is why: Marcus is buying clothes for a business event and not presenting an idea.

OK. solve this:
Title: Trees. Sentence 1: Tom loved hiking. Sentence 2: He wanted to climb a mountain to see the tree line. Sentence 3: Tom set out on a mountain climbing adventure. Sentence 4: Tom reached the tree line. Choices: a. Hopefully, a trip to the vet will curb his enthusiasm for raspberries. b. Tom had a great time viewing the tree line.
Answer:

assistant: b
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 conversation between two people. 'Person1:' and 'Person2:' are used to separate their respective dialogues. Your task is to label each of the continuous conversations done by one speaker with the emotion detected in that particular part. Your labels can be one among the following: 'No emotion', 'surprise', 'happiness', 'sadness', 'anger', 'disgust'.

Person1:     Hey man, you wanna buy some weed?  
 Person2: Somewhat?  
 Person1:     Weed! You know ? Pot , Ganja , Mary Jane some chronic !  
 Person2:  Oh , umm , no thanks . 
 Person1:     I also have blow if you prefer to do a few lines . 
 Person2:  No , I am ok , really . 
 Person1:     Come on man ! I even got dope and acid ! Try some ! 
 Person2:  Do you really have all of these drugs ? Where do you get them from ? 
 Person1:     I got my connections ! Just tell me what you want and I ’ ll even give you one ounce for free . 
 Person2:  Sounds good ! Let ’ s see , I want . 
 Person1:     Yeah ?  
 Person2: I want you to put your hands behind your head ! You are under arrest! 
Solution: fear, disgust, fear, happiness, fear, happiness, fear, disgust, fear, happiness, disgust, fear
Why? The conversation happened between the two people contains the emotions fear, disgust, and happiness. Therefore the labels are in the order.

New input:  Person1:      Where are you going for your holidays , Charles ? 
 Person2:  To Australia . I'm going to visit my uncle in Brisbane for three weeks . 
 Person1:       Good gracious ! You certainly are lucky . How are you going there ? 
 Person2:  By air , of course . It takes over two weeks to go by sea . 
 Person1:       I once went to Singapore by air . It was very exciting-but never again . 
 Person2:  Why ? Did you feel frightened ? 
 Person1:       For a short time . One of the engines caught fire . 
 Person2:  What did the pilot do ? 
 Person1:       He put it out and flew back to the airport . Then he asked the people at the airport where the emergency runway was . 
 Person2:  Did you land safely ? 
 Person1:       Yes , we did . But I shall never fly again . 
Solution:

assistant: No emotion,No emotion,No emotion,No emotion,No emotion,No emotion,No emotion,No emotion,No emotion,No emotion,No emotion
user: You are given a review of Amazon's food products. Your task is to divide them into two classes: negative or positive, depending on the content of the review.

I cannot get my dog to use this no matter how hard I try.  My dog is the most food motivated dog I've ever known.  She will do ANYTHING for carrots, lettuce, ice cubes... even her own kibble.  But regardless of what I put in this thing, I cannot get her interested in this toy to save either of our lives.  I even tried clicker training her on it!  She doesn't associate it with food no matter what I do.
Negative

We used this cereal when my daughter was a baby 2 years ago and it was great. I ordered a case recently for my 8 month old son and it was spoiled! Amazon was great and refunded my money, but I am so disappointed with HAPPYBELLIES. There are obviously some major quality control issues that need to be addressed. I will be ordering baby cereal from a different company as I just can't bring myself to trust HAPPYBELLIES anymore.
Negative

I visited a winery/vineyard in Tuscany where they sold Leonardi Balsamico vinegar as well as all the wines.  The flavor of this balsamic is so difficult to describe but it is smooth! I was used to grocery store balsamic vinegar and some "specialty" store balsamic vinegars.  It's like comparing skim milk (yuk) to cream - which would you rather put in your gourmet dishes?


assistant: Positive
user: In this task, you're given a context, a question, three options, and an answer. Your task is to classify whether the given answer is correct or not by providing 'Yes' or 'No', based on the context with commonsense reasoning about social situations.

Ex Input:
Context: Quinn changed the plans three times because she couldn't decide. 
 Question: How would you describe Quinn? 
 Options: (A) confident (B) reliable (C) indecisive 
 Answer: C

Ex Output:
Yes


Ex Input:
Context: Alex was an awesome bouncer he always managed to keep the crowd under control. 
 Question: How does Alex feel because of this? 
 Options: (A) guilty (B) badly about his work (C) accomplished 
 Answer: C

Ex Output:
Yes


Ex Input:
Context: One of Skylar's students came by the office to get some extra help. Skylar helped them understand the work. 
 Question: How would Skylar feel afterwards? 
 Options: (A) like they were doing a bad job (B) like they were a good teacher (C) willing to help students outside of class 
 Answer: B

Ex Output:


assistant: Yes
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 sentence in Polish. Your job is to translate the Polish sentence into Arabic.

Poradzi sobie, ale trzeba na nią uważać.
Solution: لذا نعلم أنها ستكون ناجحة. ولكن علينا مراقبتها
Why? The Polish sentence is correctly translated into Arabic, because the meaning is preserved.

New input: Jest wiele przykładów, ale wybrałam Jona Bon Jovi. Ma on w New Jersey jadłodajnię dla bezdomnych, Ma on w New Jersey jadłodajnię dla bezdomnych, zwłaszcza dla bezdomnych weteranów.
Solution:

assistant: توجد أمثلة كثيرة يمكنني الانتقاء منها و سأختار مثال جون بون جوفي: بعضكم يعرف أنه يدير مطعم حساء في نيوجرسي ، حيث يطعم المشردين و يخدمهم خاصة قدامى المحاربين المشردين.
user: In this task, you're given a question, along with a context passage which has extra information available on certain terms mentioned in it, i.e., the proper nouns in the passage. Your job is to determine whether information from more than one term is needed to answer the question. Indicate your choice as `a` for Yes or `b` for No.
Example: Question: When did the operation during which the 704th dropped supplies to allied troops near Nijmegen begin? Passage: The group was occasionally diverted from strategic missions to carry out air support and interdiction missions. It supported Operation Overlord, the invasion of Normandy by attacking transportation targets, including bridges, along with airfields and strong points in France. On D Day, the squadron and the rest of the 446th Group led the first heavy bomber mission of the day. The 446th aided ground forces at Caen and Saint-Lô during July by hitting bridges, gun batteries, and enemy troops. During Operation Market Garden, the attempt to seize a bridgehead across the Rhine in the Netherlands, the 704th dropped supplies to allied troops near Nijmegen. It struck lines of communications during the Battle of the Bulge. During Operation Varsity in March 1945, it supplied ground and airborne troops near Wesel. The squadron flew its last combat mission on 25 April 1945 against Salzburg, Austria. The group had flown 273 missions and had lost 58 aircraft during the war,
.
Example solution: b
Example explanation: The passage describes the 704th's actions during Operation Market Garden so only information about the operation is needed.

Problem: Question: How many games did Mark Eames win for Hong Kong in his last competition for them? Passage:At the 1997 ICC Trophy, Eames again played in all of Hong Kong's matches, and was ranked fifth for runs amongst his teammates, scoring 136 runs from eight innings. His highest score, 33, came against Papua New Guinea. For two games at the 2000 ACC Trophy, Eames was moved up the order to open the batting, scoring eleven runs against Malaysia and three runs against the United Arab Emirates (UAE). The following year, he appeared in a third consecutive ICC Trophy, featuring in four matches and scoring 45 from 44 balls against Papua New Guinea (part of a 120-run partnership with Rahul Sharma). In 2004, Eames represented Hong Kong in the ACC Fast Track Countries Tournament, through which the team qualified for the 2005 Intercontinental Cup. Aged 39, he appeared in an Intercontinental Cup fixture against the UAE in April 2005, which held first-class status. His last games for Hong Kong came at the age of 41, in the 2007 World Cricket League Division Three tournament.



assistant: Solution: b
user: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: ['C', 9451, 'a', 'c', '1879', '7201', 'H', '3431', 'u', 17], ['t', 37, '1879', '7201', 'H', '3431', 'X', 7267, 'Z']
[A]: 1879, 7201, H, 3431


[Q]: ['p', 9773, 'Y', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'S', 5087, 'M', 7601, 'D'], [7787, 'l', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'X', 'W', 3163, 'f', 5201]
[A]: o, w, s, 583, e, 2773, 9925, 8535, M, 9831, V, q


[Q]: ['T', 'K', 'K', 831, 7039, 6393, 3949, 4565, 'B', 'V', 5713, 8133, 5931, 'l', 9897, 'R', 's', 'p', 2025, 8967, '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'N', 5445, 'm', 'w', 7321], [1477, 'D', 8351, 4141, 'v', '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'j', 331, 'N', 'K', 6171, 3731, 'G', 'W', 'I', 'q', 8661, 7391]
[A]:

assistant: 5331, 5893, J, 4873, q, 7661, 373, 687, m, Q, w, o, 1535, 4357, R, f, h, L, f, R, P, 301
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 sentence in Galician. Your job is to translate the Galician sentence into Arabic.

É basicamente un caldeiro que rota.
Solution: ويوجد أساسا مرجل دوار.
Why? The Galician sentence is correctly translated into Arabic, because the meaning is preserved.

New input: Dá tanto medo que ningún dos soldados israelitas quere loitar con él.
Solution:

assistant: مرعبا لدرجة أنّ ما من أحد من الإسرائيليين تجرّأ على قتاله.
user: In this task, you are given a sentence in the English and Japanese language. Your task is check if the Japanese sentence is translation of English. if the translation is correct than generate label "Yes", otherwise generate label "No".

Example input: English: Details were given by the UK Transport Secretary, Ruth Kelly, in the House of Commons at 1730 UTC yesterday. 
 Japanese: 詳細は昨日UTC17時30分、英国議会でイギリスのルス・ケリー運輸大臣によって伝えられた。
Example output: Yes
Example explanation: The converted Japanese sentence is correctly translated from English because converted sentence has the same message as the original English sentence that Details were given yesterday in the House of Commons at 1730 UTC by Britain's Transport Secretary Ruth Kelly.
Q: English: The father of one victim said that the vehicle's windscreen wipers were taped together and the paintwork had been done by a brush instead of sprayed on. 
 Japanese: このため、タレントが注目の的になるのはまったくばかげている。
A:

assistant: No
user: In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
--------
Question: 6506 # 8715 @ 5800 @ 1904 @ 3642

Answer: 9137


Question: 8932 # 2337 @ 825 # 8463 @ 528

Answer: -515


Question: 5935 # 1487 @ 7631 # 4843 @ 2946

Answer:

assistant: 10182
user: You are given a sentence in Galician. Your job is to translate the Galician sentence into Italian.
One example is below.
Q: Isto inclúe un sistema en árabe chamado al-jebra.
A: Tra di esse, si annovera il piccolo sistema in arabo detto al-jebr.
Rationale: The Galician sentence is correctly translated into Italian, because the meaning is preserved.
Q: Ou podo chamar a súa atención permanecendo moi calado.
A:

assistant: Oppure, posso fare in modo che voi mi prestiate attenzione