ostapeno/flanv2_100k huggingface dataset:
user: 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.

[Q]: find the product_name of Products table for which product_description equals white
[A]: SELECT product_name FROM Products WHERE product_description = "white"


[Q]: Step 1: find the number of rows of each value of name in user_profiles table.
Step 2: find name, email in user_profiles table whose corresponding value in step 1 is greater than 1
[A]: SELECT name , email FROM user_profiles GROUP BY name HAVING Count ( * ) > 1


[Q]: Step 1: find the StuID of Student table.
Step 2: find the Sex of Student table.
Step 3: show the rows that are in the results of step 1 but not in the results of step 2
[A]:

assistant: SELECT StuID FROM Student EXCEPT SELECT Sex FROM Student
user: Part 1. Definition
Here are two questions (Question1 and Question2). If these questions have the same meaning and same answer, answer "Yes", otherwise "No".
Part 2. Example
Question1: How do I get into my Instagram if I forgot my email and my Facebook password?, Question2: I forgot my password and also my email password. how can I get back that account?
Answer: Yes
Explanation: These questions have the meaning and the same answer. So, the output should be "Yes".
Part 3. Exercise
Question1: Why do Automobile Companies go bankrupt easily?, Question2: Why do automobile companies go bankrupt easier?
Answer:

assistant: Yes
user: In this task, 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.

Keep your money! I bought this so I could check my husbands BP. I took it out of the package, set it up, and took his BP. The sphygmomanometer broke in the first use. I didn’t even get to finish taking his BP. It felt really cheap too. I also didn’t like that I couldn’t hook the sphygmomanometer to the cuff. It is part of the pump.
negative

First there was fake news, now fake reviews. This is not. Protector fit fine. No issues there. But now I find myself having to squeeze the screen. And close to the edges -- forget it. And with no screen calibration for Pixel 3, I'm SOL. Do yourself a favor: Find another screen protector.
negative

I received this order right before leaving for a long camping trip. It was missing the plug to close it. I contacted amazon. They could not help me with getting the missing piece, so I tried to contact the seller. They never responded to me.


assistant: negative
user: Given a premise, an initial context, an original ending, and a new ending, the task is to generate the counterfactual context that is aligned with the new ending. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context. The original ending is the last three sentences of the story. Also, you are given a new ending that can provide the new story with the same premise. You should write a counterfactual context to explain the small differences between the original and new endings. More specifically, a story context contains the general plot of the story. And a counterfactual context is a slight modification to the initial context. To sum up, you should write the second sentence of a story based on the premise(first sentence) and the new ending(last three sentences) of the story.

Q: Premise: Rena wants to add a dog to her family. 
 Initial Context: She goes to the pet store to see if they have the dog breed she wants. 
 Original Ending: She see's there's a whole litter of her desired dog breed. She picks a dog to add to her family. Rena is very happy with her new dog. 
 New ending: She see's there's a also whole litter of her desired dog breed. But, she had already picked out a dog to add to her family. Rena is very happy with her new dog. 

A: So she went to the shelter and fell in love with a three-legged mutt.
****
Q: Premise: Neil took a ferry to Hong Kong. 
 Initial Context: The bay was beautiful in the moonlight. 
 Original Ending: And the hundreds of tall factories caught his eye! Hong Kong was by far his favorite Chinese province. He couldn't wait to return! 
 New ending: He was forced to work in hundreds of tall factories. Hong Kong was by for his least favorite Chinese province. He couldn't wait to go home! 

A: Neil was arrested by the government and held prisoner for years.
****
Q: Premise: Michael's assignment was due today. 
 Initial Context: He hadn't completed it. 
 Original Ending: He asked his sister for help. His sister said yes. Michael finished his homework just in time. 
 New ending: He had his sister help him. His sister was glad  to help. Michael had his homework finished in plently of time. 

A:

assistant: He's already completed it.
****
user: In this task, you're shown a three-part story, with a beginning, middle, and ending. Your job is to slightly modify the middle part, so that the whole story becomes unlikely, improbable, or inconsistent. Generated sentences must minimally alter the given middle, with at most 4 new words added/existing words removed. Your sentence should be grammatically and syntactically correct. Also stick to the context of the given story. For example, if the story talks about "doctors", you can talk about "health" or "diagnosis", but don't mention "aliens". Avoid introducing any extra/irrelevant information, and use names instead of pronouns (e.g. he / she) wherever possible. Avoid simply negating the original middle, for example:  "She likes cakes." is changed to "She doesn't like cakes."

Input: Consider Input: Beginning: Lexi and her family were eating burgers for lunch. Middle: Lexi was so hungry she quickly devoured her burger. Ending: The next time they had burgers, Lexi was too embarrassed to eat any.

Output: Lexi was hungry, so she quickly ate her burger.


Input: Consider Input: Beginning: I was playing with my dog in the backyard. Middle: My dog broke a window fetching the ball. Ending: I learned to be more careful when playing with my dog.

Output: My dog passed by the window playing with the ball.


Input: Consider Input: Beginning: I was playing with my dog in the backyard. Middle: I accidentally stepped on my dog's toe while we played. Ending: I learned to be more careful when playing with my dog.



assistant: Output: I intentionally stepped on my dog's toe while we played.
user: instruction:
In this task, you are given an answer, and your task is to generate a reasonable question for that answer.
question:
I'll be a book editor.
answer:
Do you know what you'll do there?


question:
They still live in the house I grew up in.
answer:
Do your parents still live in the neighborhood house?


question:
Let's go to the bar right now.
answer:


assistant: Want to grab drinks tonight?
user: instruction:
You are given a sentence in Hebrew. Your job is to translate the Hebrew sentence into Polish.
question:
לא ידעתי אז, כששכבתי מכורבל בעריסה הצנועה שלי ב-1948 שנולדתי בדיוק במקום הנכון ובזמן הנכון, שהייתי במדינה שבה יכולתי להשתתף במהפיכה הטכנולוגית.
answer:
Zwinięty w inkubatorze w 1948 roku nie miałem pojęcia, że urodziłem się we właściwym miejscu i czasie, w kraju, w którym miałem szansę uczestniczyć w rewolucji technicznej.


question:
לסיום אני רוצה לומר שהיה לי הרבה מזל עם מנטורים ואנשים ששיחקו תפקיד חשוב בחיי.
answer:
Na koniec chcę powiedzieć, że miałem dużo szczęścia do mentorów i osób, które odegrały ważną rolę w moim życiu.


question:
האסטרטגיות המיניות ומבנה הרביה שאנחנו רואים בעולם החי בעיקרון מכתיבים איך זכרים ונקבות יגיבו אחד לשני, מה שמכתיב איך אוכלוסיות וחברות נוצרים ומתפתחים.
answer:


assistant: Strategie seksualne i reprodukcyjne, obserwowane w królestwie zwierząt, w zasadzie dyktują wzajemne reakcje samców i samic. co wyznacza sposób tworzenia i ewolucji populacji i społeczeństw.
user: You are given a statement written in Gujarati. Choose the most logical word from the given 4 options which can be used to replace the <MASK> token in the statement. Output the word from the correct option .

Input: Consider Input: Statement: સલાટપુર (તા. તલોદ) <MASK> દેશના પશ્ચિમ ભાગમાં આવેલા  ગુજરાત રાજ્યના ઉત્તર પૂર્વ ભાગમાં આવેલા  સાબરકાંઠા જિલ્લામાં આવેલા કુલ ૮ (આઠ) તાલુકાઓ પૈકીના એક એવા  તલોદ તાલુકામાં આવેલું એક ગામ છે. સલાટપુર ગામના લોકોનો મુખ્ય વ્યવસાય ખેતી, ખેતમજૂરી તેમ જ પશુપાલન છે. આ ગામમાં મુખ્યત્વે ઘઉં, જીરુ, બાજરી, કપાસ, દિવેલી તેમ જ શાકભાજીના પાકની ખેતી કરવામાં આવે છે. આ ગામમાં પ્રાથમિક શાળા, પંચાયતઘર, આંગણવાડી તેમ જ દૂધની ડેરી જેવી સવલતો પ્રાપ્ય થયેલી છે.

 Option A: આંગણવાડી

 Option B: ન્યૂઝીલેન્

 Option C: પંચાયતઘર

 Option D: ભારત

Output: ભારત


Input: Consider Input: Statement: ૧૧ ગુરખા રાઇફલ્સ એ ભારતીય ભૂમિસેનાની એક પાયદળ રેજિમેન્ટ છે. તેમાં મુખ્યત્ત્વે <MASK> મૂળના ગુરખા સૈનિકોને ભરતી કરવામાં આવે છે. તેમાં મુખ્યત્વે રાય, લીંબુ અને તમાંગ કુળના પૂર્વ નેપાળના તપલેજંગ, પંચથાર, સંખુવાસભા અને ધનકુટ જિલ્લાના સૈનિકો ભરતી કરવામાં આવે છે. તેમાં ભારતીય મૂળના ગુરખા મુખ્યત્ત્વે સિક્કિમ અને દાર્જિલિંગ જિલ્લોમાંથી ભરતી કરવામાં આવે છે. રેજિમેન્ટનો ઈતિહાસ ૭ ગુરખા  અને ૧૦ ગુરખા જેટલો જૂનો છે જોકે તેને ભારતીય સૈન્યની સૌથી યુવા રેજિમેન્ટ ગણવામાં આવે છે.

 Option A: પાકિસ્તાન

 Option B: નેપાળ

 Option C: ભારત

 Option D: દાર્જિલિંગ

Output: નેપાળ


Input: Consider Input: Statement: શીરવાનીયા (તા. સાયલા) <MASK> દેશના પશ્ચિમ ભાગમાં આવેલા  ગુજરાત રાજ્યના સૌરાષ્ટ્ર વિસ્તારમાં આવેલા  સુરેન્દ્રનગર જિલ્લામાં આવેલા કુલ ૧૦ (દસ) તાલુકાઓ પૈકીના એક એવા સાયલા તાલુકામાં આવેલું એક  ગામ છે. શીરવાનીયા ગામના લોકોનો મુખ્ય વ્યવસાય ખેતી, ખેતમજૂરી તેમ જ પશુપાલન છે. આ ગામમાં મુખ્યત્વે ઘઉં, જીરુ, વરિયાળી, બાજરી, કપાસ,  દિવેલા, રજકો તેમ જ અન્ય શાકભાજીના પાકની ખેતી કરવામાં આવે છે. આ ગામમાં પ્રાથમિક શાળા, પંચાયતઘર, આંગણવાડી તેમ જ દૂધની ડેરી જેવી સવલતો પ્રાપ્ય થયેલી છે.

 Option A: આંગણવાડી

 Option B: ભારત

 Option C: પંચાયતઘર

 Option D: સૌરાષ્ટ્ર



assistant: Output: ભારત
user: The provided files include famous book titles and sentences in the English language, and we ask you to translate those to the Catalan Language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and form of each sentence in the Catalan language. 2) Also names, dates and places should be preserved it should not get translated.
One example is below.
Q: The Adventures of Tom Sawyer
A: Les Aventures De Tom Sawyer
Rationale: The word 'the' and 'of' in English sentence means 'of' and 'les' in Catalan sentence.So the translation is correct.Also the name entity is preserved. 
Q: We three shall be able to go very well in my chaise; and when we are in town, if you do not like to go wherever I do, well and good, you may always go with one of my daughters.
A:

assistant: Nosotras tres iremos muy cómodas en mi calesín; y cuando estemos en la ciudad, si no desean ir a donde yo voy, santo y bueno, siempre pueden salir con alguna de mis hijas.
user: In this task, you are given a sentence. You must judge whether a single noun or verb has been replaced with another word with the same part of speech. The inversion would result in the sentence sounding unnatural, So unnatural sentences will be considered changed. Label the instances as "Original" or "Changed" based on your judgment.

[EX Q]: She hurried through a shower , then pulled on a pair of soft , purple slacks with a matching jumper .
[EX A]: Changed

[EX Q]: ' We 're at the end of the wharf , father .
[EX A]: Original

[EX Q]: It would explain seeking impossible information from a dead prophet .
[EX A]:

assistant: Original
user: A text is given in Bengali. Translate it from the Bengali language to the Urdu language. The translation must not omit or add information to the original sentence.
One example: جدید ٹیکنالوجی کو تیزی سے اختیار کرنے کی حوصلہ افزائی کرتے ہوئے وزیراعظم نے کہا کہ مٹی کی جانچ ہاتھ میں پکڑنے والے آلات کے ذریعے ہی ممکن ہے۔ انہوں نے افسران پر زورد یا کہ وہ اس سلسلے می ںاسٹارٹ اپس اورصنعتوں کے امکان کی تلاش کریں۔
Solution is here: প্রধানমন্ত্রী, আধুনিক প্রযুক্তি উৎসাহিত করে বলেন, হাত-ধরা ডিভাইসের মাধ্যমে মাটি পরীক্ষা সম্ভব।তারা কর্মকর্তাদের উপর জোর দেয় বা খুঁজে পায় যে তারা এই বিষয়ে সম্ভাব্যতা খুঁজে পেতে পারে।
Explanation: Correct translation for given sentence. Input sentence means 'Prime Minister, encouraging modern technology, said that soil test is possible through hand-catching devices.They emphasize the officers or find that they are likely to find the possibility of this regard.' which is the same as the output sentence.

Now, solve this: نئی دہلی،16نومبر،وزیراعظم جناب نریندر مودی کی زیر صدارت مرکزی کابینہ کو سائنس ،ٹیکنالوجی اور زراعت وغیرہ کے شعبوں میں باہمی مفاد سے متعلق سائنس اور ٹیکنالوجی میں امداد باہمی پر انڈین نیشنل سائنس اکیڈمی (آئی این ایس اے) اور نیشنل اکیڈمی آف سائنسز آف بیلاروس (این اے ایس ڈی) کے درمیان ہوئے معاہدے کے بارے میں مطلع کیا گیا ہے۔
Solution:

assistant: প্রধানমন্ত্রী শ্রী নরেন্দ্র মোদির পৌরহিত্যে কেন্দ্রীয় মন্ত্রিসভার বৈঠকে বৃহস্পতিবার বিজ্ঞান, প্রযুক্তি, কৃষি ইত্যাদি ক্ষেত্রে পারস্পরিক সুবিধার জন্য বিজ্ঞান ও প্রযুক্তিগত সহযোগিতায় ভারতীয় জাতীয় বিজ্ঞান আকাদেমি (আই.এন.এস.এ.) ও বেলারুশের জাতীয় বিজ্ঞান আকাদেমির (এন.এ.এস.বি.) মধ্যেকার চুক্তি নিয়ে অবহিত করা হয়|
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.

[EX Q]: Sentence 1: Ally moved into her college dormitory. 
 Sentence 3: She called her parents 
 Sentence 4:  They told her she needed to go out and meet people 
 Sentence 5:  Ally realized they were right, and went out to make friends 
 Given Sentence 2: She worked hard mixing the ingredients together.
[EX A]: No

[EX Q]: Sentence 1: Joanna was in the car on a road trip. 
 Sentence 3: When her mom snapped, Joanna criticized her 
 Sentence 4:  Soon, Joanna and her mom were fighting too, and everyone fought 
 Sentence 5:  Joanna was relieved when the fight ended twenty minutes later 
 Given Sentence 2: Her brother and father were arguing, which was making her mom mad.
[EX A]: Yes

[EX Q]: Sentence 1: One day my Microwave stopped working. 
 Sentence 3: Something told me to check the Plug 
 Sentence 4:  Someone had pulled it out by accident 
 Sentence 5:  We plugged it back in and it's working fine now 
 Given Sentence 2: We tried everything to see what could have happened.
[EX A]:

assistant: Yes
user: In this task, you will be given two sentences sentence1 and sentence2. You should decide whether the second sentence is entailed(agreed) by the first sentence. If it does entail, answer "yes", else answer "no".
One example: sentence1:region is nation in location
sentence2:region is country in location
Solution is here: yes
Explanation: A nation is a community of people of similar characteristics/descent with a common government. A country is a region sharing a common government. Hence, a nation can be defined as a country.

Now, solve this: sentence1:person is clobbering  person sentence1:person is attacking  person 
Solution:

assistant: yes
user: Part 1. Definition
Read the given query and classify it as a 'Good' or 'Bad' query depending on how well the query is formed, 'Bad' being the expected output for a not so well formed query and 'Good' being the expected output for a well formed query. A query may be wrong based on common sense or general facts, but if it is well formed, you should answer with Good.
Part 2. Example
What is the scientific name of the tortoise ?
Answer: Good
Explanation: The output for the query is Good because the query has no grammatical, punctuation or spelling errors.
Part 3. Exercise
How do you use vilify in a implication sentence ?
Answer:

assistant: Bad
user: Detailed Instructions: 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. It makes you much less likely to believe the hypothesis is true. A strengthener is a statement that strengthens the hypothesis. It makes you much more likely to believe the hypothesis is true. Your task is to output 'strengthener' or 'weakener' if the update strengths or weakens the hypothesis, respectively.
See one example below:
Problem: Premise: PersonX seems interested
Hypothesis: PersonX then good activity
Update: PersonX was a good student
Solution: strengthener
Explanation: If PersonX was a good student, it is more likely that PersonX would do good activities.

Problem: Premise: PersonX goes limp as PersonY smiled
Hypothesis: Before, PersonX needed to notice PersonY
Update: PersonX just got hit with a tranquilizer dart.
Solution:

assistant: weakener
user: instruction:
You are given two sentences. You have to find if there is entailment or agreement of the Hypothesis by the Premise. From the given pair of sentences, you should identify if there is enough information in the Premise to support the claim made in the Hypothesis. The Premise may not exactly be the same as Hypothesis. Your task is to return 'entails' if the premise supports hypothesis else return 'neutral'.
question:
Premise: Starting week 8, all students will attend the CS and VCD sessions. 
 Hypothesis: By 8 weeks, all major organs start developing.
answer:
neutral


question:
Premise: Most birds have four toes. 
 Hypothesis: Birds have four limbs.
answer:
neutral


question:
Premise: The four basic tissue types are epithelial tissue, connective tissues, nervous tissue, and muscle tissue. 
 Hypothesis: Four types of tissue are found in animals.
answer:


assistant: entails
user: 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.

Ex Input:
[3, -9, -93, -23, -70]

Ex Output:
[-70]


Ex Input:
[66, -4, 6, 25, 25, -60, -25, -81, -29, 10, 74]

Ex Output:
[66, -4, 6, -60, 10, 74]


Ex Input:
[-82, 86, 85, 11, -14, 46, 68, -99, -23, -39, 33]

Ex Output:


assistant: [-82, 86, -14, 46, 68]
user: In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.

[4, 6, 1, 7, 5, 4, 2, 1]
[6, 7, 5, 2]

[6, 6, 5, 3, 3, 4, 6]
[5, 4]

[1, 4, 3, 2, 5, 5, 0, 1, 4, 4]


assistant: [3, 2, 0]
user: instruction:
In medical studies, treatments are tested within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that give information about the participants of the study. You should list the phrases in the same order that they appear in the text, separated by commas. If no information about the participants is mentioned, just output "not found". Relevant information about participants include: gender, medical conditions, location, number of people participating. Do not contain participant mentions without relevant information.
question:
Constant exhalation may therefore be a useful alternative to the breath holding technique for clinical measurement of TLCO .
answer:
not found


question:
Although an increasing number of group-based programs for the improvement of social skills have been described , randomized controlled trials are needed to evaluate their efficacy .
answer:
not found


question:
The patients were followed for change in outcome measures during the five-month study period .
answer:


assistant: not found
user: In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.

Example Input: ['m', 'g', '4377', '7021', 'q', '7087', '5033', '7205', '4623', '1461', 'p', '6985', 'B', '8985']
Example Output: 4377, 7021, 7087, 5033, 7205, 4623, 1461, 6985, 8985

Example Input: ['s', '4955', 'U', '4259', '5829', 'b', 'J', 'S', '5759', 'j', '8119', 'B', '2225', 'D', '3881', 'n', 'R', '5117', '2233', 'S', 'E', '3281', 'u']
Example Output: 4955, 4259, 5829, 5759, 8119, 2225, 3881, 5117, 2233, 3281

Example Input: ['g', 'g', '8897', 'v']
Example Output:

assistant: 8897
user: In this task, you need to answer the given multiple-choice question on the gain. Gain is the value by which to multiply the input. Classify your answers into 'a', 'b', 'c', 'd', and 'e'.

Problem: there were two candidates in an election . winner candidate received 62 % of votes and won the election by 324 votes . find the number of votes casted to the winning candidate ? 
Options: a ) 456 , b ) 837 , c ) 912 , d ) 1200 , e ) 1400
b

Problem: during a sale of 20 % on everything in a store , a kid is successful in convincing the store manager to give him 20 candies for the discounted price of 14 candies . the store still makes a profit of 18 % on this sale . what is the mark up percentage on each candy ? 
Options: a ) 100 % , b ) 80 % , c ) 75 % , d ) 66 + 2 / 3 % , e ) 55 %
d

Problem: a and b ’ s salaries together amount to rs . 3,000 . a spends 95 % of his salary and b spends 85 % of his . if now their savings are the same , what is a ’ s salary ? 
Options: a ) 2777 , b ) 2250 , c ) 2789 , d ) 2776 , e ) 2881


assistant: b