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.
In this task, you are given a text from a post. Your task is to find all of the proper nouns and label them. The labels are <B-PER>, <I-PER> for persons; <B-ORG>, <I-ORG> for organizations; <B-LOC>, <I-LOC> for locations; and <B-MISC>, <I-MISC> for other nouns. The capital 'B' denotes the first word of a proper noun phrase. The capital 'I' denotes all following words of the same noun phrase. If a word is not a part of a proper noun phrase, do not label it.

It has manufacturing plants in San Diego ; Creedmoor , N.C. ; Hampshire , England ; and Tijuana , Mexico , and distributes its prodcuts in more than 120 countries . 
Solution: It has manufacturing plants in San <B-LOC> Diego <I-LOC> ; Creedmoor <B-LOC> , N.C. <B-LOC> ; Hampshire <B-LOC> , England <B-LOC> ; and Tijuana <B-LOC> , Mexico <B-LOC> , and distributes its prodcuts in more than 120 countries . 
Why? This is how the labeling should be. San Diego is the name of a location. In addition, it cannot be separated and is represented by two words. Therefore the labeling is San <B-LOC> Diego <I-LOC>. For the other locations mentioned in this sentence, they are single word locations and are represented with the label <B-LOC>.

New input: The landing took place after a rainstorm . 
Solution:

assistant: The landing took place after a rainstorm .
user: Teacher: In this task, you are given a premise, a hypothesis, and an update. The premise sentence describes a real-world situation and is always assumed to be true. The hypothesis sentence describes an assumption or inference that you might make about that situation having read the premise. The update provides additional information about the situation that might weaken or strengthen the hypothesis. A weakener is a statement that weakens the hypothesis, that is, it makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis, that is, it makes you much more likely to believe the hypothesis is true. Your task is to answer with 'strengthener' or 'weakener' if the update strengthens or weakens the hypothesis, respectively.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Premise: Old man crafting something in his workshop.
Hypothesis: An old man is working.
Update: The man is serious and is surrounded by workers.
Solution: strengthener
Reason: If the old man is serious and surrounded by workers, it is more likely that he is working.

Now, solve this instance: Premise: A woman is hugging a man, while an older man is taking a picture.
Hypothesis: The couple are crying on eachothers shoulders.
Update: The couple are laughing.
Student:

assistant: weakener
user: Given the task definition, example input & output, solve the new input case.
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Example: PPdQTlHHTJEe, DydQTlHHVnmlLu
Output: dQTlHH
Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.

New input case for you: GZIsKsDbDgXAgkbo, GHZvrDbDgXAgkNQYeCUq
Output:

assistant: DbDgXAgk
user: Detailed Instructions: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
See one example below:
Problem: customer: Hello. 
 agent: Hello. How may I help you? 
 customer: I would like to do some changes in  my existing reservation, can you please help me out? 
 agent: Sure, I will help you in booking. May I know your name to proceed further? 
 __ 
 agent: Alexander Hernandez, regret to inform that there is no active reservation found under your name to amend. 
 customer: That's ok, no problem. Thank you for the information. 
 agent: Thank you for reaching us.
Solution: customer: Sure, myself Alexander Hernandez.
Explanation: This is pretty forward, based on the answer after the blank, the answer would be to know the name of the person, and the name is mentioned in the next dialogue to the blank

Problem: customer: Hello. 
 agent: Hello. 
 customer: My name is Patricia Young. 
 __ 
 customer: I have an event to attend at Washington. Can you help me in booking a ticket from IAH to IAD? 
 agent: May I know your trip dates? 
 customer: My planned journey dates are 10/18 and 10/20. 
 agent: Please wait for a moment. 
 customer: Sure, take your time. 
 agent: I have found a flight 1011 with price 100, shall I proceed? 
 customer: Please book the ticket. 
 agent: Your booking is done, have a nice journey. 
 customer: Thank you for your service. 
 agent: Welcome.
Solution:

assistant: agent: How may I help you?
user: Part 1. Definition
You are given a sentence in Persian. Your job is to translate the Farsi sentence into Italian.
Part 2. Example
این یک خانه ی اسکیمو می شود.
Answer: Così diventa un igloo.
Explanation: The Farsi sentence is correctly translated into Italian, because the meaning is preserved.
Part 3. Exercise
گویی فراموش کرده ایم که مردمی که پشت این صفحات قرار دارند انسان هایی واقعی اند ، و فقط آواتار نیستند.
Answer:

assistant: È come se ci dimenticassimo che le persone dietro gli schermi sono persone vere e non solo degli avatar.
user: In this task, you are given a sentence in the English language and your task is to convert it into the Swedish language. In translation, keep numbers as it is and make it sentence case (capitalize only the first word of each sentence and noun).

Input: Consider Input: We should alter the staff regulations and disciplinary procedures and, especially, change our practice.

Output: Vi skall ändra tjänsteföreskrifterna och det disciplinära förfarandet och inte minst skall vi ändra praxis.


Input: Consider Input: We should also remember that the use of renewable energy sources has a positive impact on regional development and employment.

Output: Man måste också komma ihåg att användningen av förnybara energikällor har en positiv inverkan på den regionala utvecklingen och sysselsättningen.


Input: Consider Input: Man and culture are priorities, and culture can result in economic growth.



assistant: Output: I första hand handlar det om människan, i första hand handlar det om kulturen, och den kulturen kan avgöra den ekonomiska utvecklingen.
user: In this task, given a sentence in the Lao (Laotian) language, your task is to convert it into the English language.

Example input: ພາຍຸດີນພັດຜ່ານອ່າວແຄມເປ ແລະທຳລາຍແທ່ນນ້ຳມັນ 100 ແຫ່ງ ແລະທ່າເຮືອນໍ້າມັນຫລາຍແຫ່ງໃນສູນກາງອຸດສາຫະກໍານໍ້າມັນກາງປະເທດ.
Example output: Dean moved across the Bay of Campeche, eyeing over 100 oil platforms and several oil ports in the center of the country's oil industry.
Example explanation: The above sentence is correctly translated from Lao to English
Q: ເມື່ອວັນທີ 15 ກຸມພາ ສຳນັກຂ່າວ AP ໄດ້ຮັບວິດີໂອທີ່ເປັນຮູບຂອງ ສະເກນາຂໍຄວາມຊ່ວຍເຫລືອຈາກນັກການເມືອງແລະປະຊາຊົນຊາວອົດສະຕາລີ ແລະຂໍຮ້ອງໃຫ້ມີການຖອນກໍາລັງທາງທະຫານອົດສະຕາລີອອກຈາກປະເທດອິຣັກ.
A:

assistant: On February 15 Associated Press Television received a video showing Sgrena demanding help from Italian politicians and people, and asking for Italian troop's withdrawal from Iraq.
user: Given two noun phrases (arguments) and relationship between them, form a sentence that expresses theses arguments with the given relationship.
--------
Question: Relationship: 'move to', Argument/Subject 1: 'billie', Argument/Subject 2: 'new york'

Answer: Billie moved to New York .


Question: Relationship: 'follow', Argument/Subject 1: 'bush', Argument/Subject 2: 'sop'

Answer: Bush followed SOP , talk a good PHP tutorial , and look at him furthermore what the U. What we are BEYOND BORDERS is the York Rite ?


Question: Relationship: 'lose to', Argument/Subject 1: 'hillary', Argument/Subject 2: 'obama'

Answer:

assistant: Oprah must be upset since Barack Obama lost to Hillary Clinton in New Hampshire primary .
user: In this task, you're given a pair of sentences, sentence 1 and sentence 2, that agree with each other. Your job is to alter sentence 2 so that the pair 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.

Example input: Sentence 1: Jon saw his friend Tom coming out of the grocery store with a bag of fruit. Sentence 2: Tom had gone inside the store and now has fruit.
Example output: Tom had not been in the store.
Example explanation: The given sentence contradicts sentence 1 (i.e. they can not be correct at the same time.)
Q: Sentence 1: A man with a white rag over the lower portion of his face, wearing a black shirt, that looks to be bleeding, or have blood on the rag. Sentence 2: A person is covering a wound with a rag.
A:

assistant: A person is covering the bite wound that the zombie gave him.
user: In this task, you are given a question and a context passage. You have to answer the question based on the given passage.
--------
Question: What do you need in addition to the LaserDisc in order to experience surround sound?, Context: Only one 5.1 surround sound option exists on a given LaserDisc (either Dolby Digital or DTS), so if surround sound is desired, the disc must be matched to the capabilities of the playback equipment (LD Player and Receiver/Decoder) by the purchaser. A fully capable LaserDisc playback system includes a newer LaserDisc player that is capable of playing digital tracks, has a digital optical output for digital PCM and DTS audio, is aware of AC-3 audio tracks, and has an AC-3 coaxial output; an external or internal AC-3 RF demodulator and AC-3 decoder; and a DTS decoder. Many 1990s A/V receivers combine the AC-3 decoder and DTS decoder logic, but an integrated AC-3 demodulator is rare both in LaserDisc players and in later A/V receivers.

Answer: playback equipment


Question: How would I know if I could get Chopin to teach me to play the flute?, Context: In London Chopin took lodgings at Dover Street, where the firm of Broadwood provided him with a grand piano. At his first engagement, on 15 May at Stafford House, the audience included Queen Victoria and Prince Albert. The Prince, who was himself a talented musician, moved close to the keyboard to view Chopin's technique. Broadwood also arranged concerts for him; among those attending were Thackeray and the singer Jenny Lind. Chopin was also sought after for piano lessons, for which he charged the high fee of one guinea (£1.05 in present British currency) per hour, and for private recitals for which the fee was 20 guineas. At a concert on 7 July he shared the platform with Viardot, who sang arrangements of some of his mazurkas to Spanish texts.

Answer: Chopin was also sought after for piano lessons


Question: How do Amish worship in song?, Context: Present-day Christian religious bodies known for conducting their worship services without musical accompaniment include some Presbyterian churches devoted to the regulative principle of worship, Old Regular Baptists, Primitive Baptists, Plymouth Brethren, Churches of Christ, the Old German Baptist Brethren, Doukhobors the Byzantine Rite and the Amish, Old Order Mennonites and Conservative Mennonites. Certain high church services and other musical events in liturgical churches (such as the Roman Catholic Mass and the Lutheran Divine Service) may be a cappella, a practice remaining from apostolic times. Many Mennonites also conduct some or all of their services without instruments. Sacred Harp, a type of folk music, is an a cappella style of religious singing with shape notes, usually sung at singing conventions.

Answer:

assistant: without musical accompaniment
user: 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, as a result of the Head, PersonX will be affected as mentioned in the Tail or not. These effects are social actions that may occur after the Head event. 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.

Input: Consider Input: Head: PersonX browses the internet<sep>Tail: Watches videos

Output: Yes


Input: Consider Input: Head: PersonX gets ___ that day<sep>Tail: gets a card from mom

Output: Yes


Input: Consider Input: Head: PersonX babysits PersonY's nephew<sep>Tail: get paid for babysitting



assistant: Output: Yes
user: You are given a sentence in English. Your job is to translate the English sentence into Arabic.

Ex Input:
Let us tell this story together.

Ex Output:
دعونا نحكي القصة معا.


Ex Input:
We need to employ technology to assist us in this quest.

Ex Output:
علينا استخدام التكنولوجيا لمساعدتنا في هذا الشأن.


Ex Input:
I do speak to sex workers, 15,000 of them for this particular slide, and this is what sex workers say they earn in an hour.

Ex Output:


assistant: ومن ثم تحدثنا الى 15000 عامل في الجنس فقط لاجل هذه الشريحة المعروضة امامكم.. وهذا ما يناله بائعوا الهوى لقاء ساعة عمل واحدة
user: instruction:
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
question:
tULMtkCWJAiEf
answer:
tLMtkCWJf


question:
AsEdKPSZE
answer:
sdKPSZ


question:
ueiU
answer:


assistant:
user: Part 1. Definition
In this task, you're given reviews from Amazon's food products and a summary of that review. Your task is to classify whether the given summary matches the original review. Generate "True" if the given review and its summary match, otherwise generate "False".
Part 2. Example
Review: My cat won't touch these. My dog, however, chews them and makes a mess all over the carpet and I can't get the shredded sticks out! Messy. Waste of money! 
 Summary: Cat hates them
Answer: True
Explanation: The answer is True. Because it's a correct summary where the owner mentioned their cat hated the product.
Part 3. Exercise
Reviews: Product arrived broken. 
 Summary: It is only listed in fine print in the instructions included with product
Answer:

assistant: False
user: Detailed Instructions: Given a sentence in the Japanese and Central Khmer language. Your task is check if the Khamer sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
See one example below:
Problem: Japanese: 詳細は昨日UTC17時30分、英国議会でイギリスのルス・ケリー運輸大臣によって伝えられた。 
 Khamer: បណ្តាអ្នកនយោបាយនៅចក្រភពអង់គ្លេសបន្តលើកកង្វល់អំពីការបាត់បង់ ជាពិសេសព័ត៌មាន ព្រមទាំងសមត្ថភាពរដ្ឋាភិបាលក្នុងការសុវត្ថិភាពនិងប្រមូលរក្សាទិន្ន័យ។
Solution: Yes
Explanation: The converted Khamer sentence is correctly translated from Japanese because converted sentence has the same message as the original Japanese sentence that Details were given yesterday in the House of Commons at 1730 UTC by Britain's Transport Secretary Ruth Kelly.

Problem: Japanese: 放射性物質ポロニウム210で毒殺される直前、ボイス・オブ・アメリカのインタビューで、元ロシアのスパイ、リトビネンコ氏は、プーチン氏がロシアのジャーナリスト、アナ・ポリツコフスカヤ氏を黙らせ、他の独立ジャーナリストを威圧するために殺害を命じたとして糾弾した。 
 Khamer: នៅក្នុងការសំភាសន៏របស់សម្លេងនៃអាមេរិចមុនពេលគាត់ត្រូវបានបំពុលដោយសារធាតុវិទ្យុសកម្មមួយឈ្មោះប៉ូឡញ៉ូម210បន្ដិចអ្នកស៊ើបការណ៏រុស្សីពីមុនលីដវីនេនកូបានចោទភូថីននៃការបញ្ជាឃាដកម្មនៃអ្នកសារព័ត៌មានរុស្សីអានណាភូលីដកូវស្កាយ៉ាក្នុងការបំបិទមាត់នាងនិងគំរាមអ្នកការសែតឯករាជ្យឯទៀត។
Solution:

assistant: Yes
user: Detailed Instructions: In this task, you are given a sentence in the Swedish language and your task is to convert it into the English language. In translation, keep numbers as it is and make it sentence case (capitalize only the first word of each sentence and noun).
See one example below:
Problem: Jag förklarar debatten avslutad.
Solution: The debate is closed.
Explanation: Swedish sentence is properly converted into English sentence.

Problem: Myndigheten måste bli en auktoritet för vetenskaplig rådgivning och information om livsmedelssäkerhet.
Solution:

assistant: The authority must become the authoritative source of scientific advice and information on food safety issues.
user: In this task you will be given a list of integers. For every element in the list, if the element is positive you should multiply it by 2.  If the element is negative you should multiply it by -3. The output should be a list of integers that is the result of applying that logic to the input list.
 Note: A list is presented with comma separated numbers inside two brackets.

Q: [59, -78, 57, 70, 87, 93, -48, 44, 97]

A: [118, 234, 114, 140, 174, 186, 144, 88, 194]
****
Q: [-12, 33, 78, 15]

A: [36, 66, 156, 30]
****
Q: [-84, -5, -54, -53, -43, 12, 72]

A:

assistant: [252, 15, 162, 159, 129, 24, 144]
****
user: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Portugese.

Let me give you an example: ولكن ماهي حقوق الإنسان ؟
The answer to this example can be: Mas o que são direitos humanos?
Here is why: The Arabic sentence is correctly translated into Portugese, because the meaning is preserved.

OK. solve this:
لا بأس. يمكننا قول أنك بدأت تصبح في منطقة الذكاء.
Answer:

assistant: Está bem. Começamos a entrar
user: Detailed Instructions: In this task, you are given a sentence in the English language and your task is to convert it into the Hindi language. In translation, keep numbers as it is and make it sentence case (capitalize only the first word of each sentence and noun).
See one example below:
Problem: Italy have defeated Portugal 31-5 in Pool C of the 2007 Rugby World Cup at Parc des Princes, Paris, France.
Solution: 2007 में फ़्रांस, पेरिस के पार्क डेस प्रिंसेस में हुए रग्बी विश्व कप के पूल C में इटली ने पुर्तगाल को 31-5 से हराया।
Explanation: This is a correct and accurate translation from English to Hindi because translated text is just paraphrased of English sentence. Also, it preserves the numbers as it is.

Problem: Public Safety Minister Stockwell Day and Immigration Minister Monte Solberg signed the document that authorized the man's arrest.
Solution:

assistant: सार्वजनिक सुरक्षा मंत्री स्टॉकवेल डे और आव्रजन मंत्री मोंटे सोल्बर्ग ने उस दस्तावेज़ पर हस्ताक्षर किए, जिसने उस व्यक्ति की गिरफ्तारी को अधिकृत किया।
user: Given the task definition, example input & output, solve the new input case.
In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to return the sum of all the numerical elements in the list A between the positions i and j (including positions i and j). Return 0 if no numerical element is present in the list between the given ranges. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
Example: 3, 7, ['A', '23', '7413', '6933', '3369', '807', 'M', '456']
Output: 18522
Here, the numbers from 3rd to 7th position are '7413', '6933', '3369', and '807', hence their sum (7413+6933+3369+807) is 18522.

New input case for you: 6, 6, ['d', '6413', '2047', 'f', '8061', '1543', '1155']
Output:

assistant: 1543
user: Teacher: In this task, you are given inputs 'i', 'j', and A, where 'i' and 'j' are integers and A is a list. A list is shown by two brackets and comma-separated numbers and characters inside, like ['1', '12', 'l']. You need to concatenate all elements of A from the ith element to the jth element, and then reverse the resulting string. 'i' and 'j' will be non-negative, and will always have a value less than the length of A. 'i' will always be less than 'j'. Perform the operations in order, i.e., do not reverse first and then concatenate.
Teacher: Now, understand the problem? If you are still confused, see the following example:
1, 3, ['238', 'h', '92', 'U', '2799']
Solution: 29h832
Reason: Here, concatenating all the elements between the 1st element and 3rd element and then reversing the string gives '29h832'.

Now, solve this instance: 22, 23, ['6391', 'M', '8905', '3769', '9675', '4113', '9237', '8809', '8731', '1409', 'k', 'g', '6187', 'w', 'V', '2261', 'G', 'V', '2539', 'E', '2319', 'P', 'm', '8553', '6411']
Student:

assistant: mP
user: Given a command in a limited form of natural language, provide the correct sequence of actions that executes the command to thus navigate an agent in its environment. A command can be broken down into many different actions. Actions are uppercase and are individual steps that serve as the building blocks for a command. For commands, 'left' and 'right' are used to denote the direction of an action. The word 'opposite' turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. Actions and commands do not have quotations in the input and output.

Example input: jump left
Example output: I_TURN_LEFT I_JUMP
Example explanation: The agent must first turn left and then jump in order to jump to the left.
Q: turn right thrice and turn opposite left twice
A:

assistant: I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT
user: In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer: 
 name: The Eagle,... 
 eatType: restaurant, coffee shop,... 
 food: French, Italian,... 
 priceRange: cheap, expensive,... 
 customerRating: 1 of 5 (low), 4 of 5 (high) 
 area: riverside, city center, ... 
 familyFriendly: Yes / No 
 near: Panda Express,...
 The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.

Example Input: Yes there's a cheap family friendly restaurant near The Bakers, it's called The Golden Curry and serves French food.
Example Output: name[The Golden Curry], food[French], priceRange[cheap], familyFriendly[yes], near[The Bakers]

Example Input: In the city centre, near the Express by Holiday Inn, is a highly rated fast food restaurant called The Rice Boat. It is not children friendly and is in the higher price bracket of more than £30.
Example Output: name[The Rice Boat], food[Fast food], priceRange[more than £30], customer rating[high], area[city centre], familyFriendly[no], near[Express by Holiday Inn]

Example Input: Bibimbap House is in riverside near Clare Hall and serves Italian food with a price range is more than £30.
Example Output:

assistant: name[Bibimbap House], food[Italian], priceRange[more than £30], area[riverside], near[Clare Hall]