ostapeno/flanv2_100k huggingface dataset:
user: In this task, you are given a part of an article. Your task is to generate headline (title) for this text. Preferred headlines are under fifteen words.

[EX Q]: In this paper we present an interface between a symbolic planner and a geometric task planner, which is different to a standard trajectory planner in that the former is able to perform geometric reasoning on abstract entities—tasks. We believe that this approach facilitates a more principled interface to symbolic planning, while also leaving more room for the geometric planner to make independent decisions. We show how the two planners could be interfaced, and how their planning and backtracking could be interleaved. We also provide insights for a methodology for using the combined system, and experimental results to use as a benchmark with future extensions to both the combined system, as well as to the geometric task planner.
[EX A]: Towards Combining HTN Planning and Geometric Task Planning

[EX Q]: We present the Bayesian Case Model (BCM), a general framework for Bayesian case-based reasoning (CBR) and prototype classification and clustering. BCM brings the intuitive power of CBR to a Bayesian generative framework. The BCM learns prototypes, the “quintessential” observations that best represent clusters in a dataset, by performing joint inference on cluster labels, prototypes and important features. Simultaneously, BCM pursues sparsity by learning subspaces, the sets of features that play important roles in the characterization of the prototypes. The prototype and subspace representation provides quantitative benefits in interpretability while preserving classification accuracy. Human subject experiments verify statistically significant improvements to participants’ understanding when using explanations produced by BCM, compared to those given by prior art.
[EX A]: The Bayesian Case Model: A Generative Approach for Case-Based Reasoning and Prototype Classification

[EX Q]: Sequence prediction and classification are ubiquitous and challenging problems in machine learning that can require identifying complex dependencies between temporally distant inputs. Recurrent Neural Networks (RNNs) have the ability, in theory, to cope with these temporal dependencies by virtue of the short-term memory implemented by their recurrent (feedback) connections. However, in practice they are difficult to train successfully when the long-term memory is required. This paper introduces a simple, yet powerful modification to the standard RNN architecture, the Clockwork RNN (CW-RNN), in which the hidden layer is partitioned into separate modules, each processing inputs at its own temporal granularity, making computations only at its prescribed clock rate. Rather than making the standard RNN models more complex, CW-RNN reduces the number of RNN parameters, improves the performance significantly in the tasks tested, and speeds up the network evaluation. The network is demonstrated in preliminary experiments involving two tasks: audio signal generation and TIMIT spoken word classification, where it outperforms both RNN and LSTM networks.
[EX A]:

assistant: A Clockwork RNN
user: In this task, you're given the title of a five-sentence story and the first four sentences. Your job is to write the last sentence of the story such that it seamlessly connects with the rest of the story.

Example Input: Title: Las Vegas Vacation. Sentence 1: One day the Dier family went on vacation to Las Vegas. Sentence 2: First the adults went to a casino. Sentence 3: Then they walked down the strip. Sentence 4: Then they ate out at McDonald's.
Example Output: They had a fun day.

Example Input: Title: The plan.. Sentence 1: Katie's birthday was coming up. Sentence 2: Her best friend wanted to surprise her with a party. Sentence 3: She got together with Katie's friends and family and made a plan. Sentence 4: They decided to have Katie go to the store while they set up the party.
Example Output: They set up the party and surprised Katie when she came back.

Example Input: Title: Gene Pool. Sentence 1: Gene had lots of friends who were wealthy. Sentence 2: All of his friends had swimming pools at their house, but Gene didn't. Sentence 3: He often wondered whether his friends appreciated their pools. Sentence 4: He asked his friend Dave, who said he never really used his pool.
Example Output:

assistant: Gene felt encouraged to work hard and appreciate everything he has.
user: Given the task definition, example input & output, solve the new input case.
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.
Example: gocogccocco
Output: gocog
The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.

New input case for you: xalalllaaaaa
Output:

assistant: allla
user: This task is about identifying the subject of a given sentence. The subject of a sentence is the person, place, or thing that is performing the action of the sentence. The subject represents what or whom the sentence is about. Each sentence in this task is guaranteed to contain a single subject. The input is a sentence and the output is the identified subject of that sentence.

[EX Q]: A.D. Isidro Metapán's ground is in Metapán.
[EX A]: A.D. Isidro Metapán

[EX Q]: Oscuro was detonated to test weapons development.
[EX A]: Oscuro

[EX Q]: The new hampshire in 2009 is portsmouth ll portsmouth.
[EX A]:

assistant: 2009
user: Classify the given news commentary into the language in which it is written in. There are 12 languages to classify the sentences into, 1) English, 2) French, 3) Arabic, 4) Czech, 5) German, 6) Spanish, 7) Dutch, 8) Portuguese, 9) Italian, 10) Zhuang, 11) Japanese, 12) Russian.
--------
Question: Dados los bajos aranceles en la UE y Estados Unidos -menos del 5% en promedio-, mayores reducciones preferenciales no van a perjudicar seriamente a los de afuera.

Answer: Spanish


Question: Koneckonců se už středověcí alchymisté zabývali tím, co dnes pokládáme za absurdní hledání cest, jak proměnit neušlechtilé kovy ve zlato. Nebylo by tedy paradoxní, kdyby finanční alchymie dokázala dramaticky zvýšit cenu zlatého slitku?

Answer: Czeck


Question: Este debate também começou no Banco Mundial, cujo presidente, Jim Yong Kim, declarou recentemente que a “discriminação institucionalizada é má para as pessoas e para as sociedades”.

Answer:

assistant: Portuguese
user: Given the task definition, example input & output, solve the new input case.
A text is given in Tamil. Translate it from the Tamil language to the Urdu language. The translation must not omit or add information to the original sentence.
Example: இந்தியா-இஸ்ரேல் வர்த்தக மாநாட்டில் பிரதமர் தெரிவித்த கருத்துகள் (ஜனவரி 15, 2018)
Output: بھارت-اسرائیلی کامرس کانفرنس پر وزیراعظم تبصرے (15 جنوری، 2018)
Correct translation for given sentence. Input sentence means 'PM comments on the India-Israeli Commerce Conference (January 15, 2018)' which is the same as the output sentence.

New input case for you: நீங்கள் ஒரு அமைப்பின் வாசலை மட்டும் பாதுகாப்பதில்லை.
Output:

assistant: ڈیڑھ لاکھ سے زائد نفوس پر مشتمل یہ مضبوط طاقت
user: Detailed Instructions: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
See one example below:
Problem: password = a
Solution: 5
Explanation: Using 5 steps, it can become a strong password

Problem: password = 9zf6l02f
Solution:

assistant: 1
user: In this task you will break down a question into the basic steps required to answer it.
 A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
 Here are the list of step templates and their description:
 Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
 Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
 Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
 Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
 Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
 Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
 Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number] 
 Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
 Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
 Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
 Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
 Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
 Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].

Input: Consider Input: question: if all the metallic objects are removed, how many are left?

Output: #1 return objects 
#2 return #1 that  are metallic 
#3 return #1 besides #2 
#4 return number of  #3


Input: Consider Input: question: what flights are there on wednesday evening from denver to sfo 

Output: #1 return flights 
#2 return #1 from  denver 
#3 return #2 to sfo 
#4 return #3 on  wednesday evening


Input: Consider Input: question: Which year had the highest in 402(g) limit, 2008 or 2009-2011?



assistant: Output: #1 return 402 ( g ) limit 
#2 return #1 in  2008 
#3 return #1 in  2009-2011 
#4 return which is highest of #2 ,  #3
user: Teacher: In this task, you're given an ambiguous question (which can be answered in more than one way). Your task is to write a question that clarifies the given question in such a way that the generated question has one unique answer.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Lucifer how many episodes are in season 3?
Solution: How many episodes of season 3 of Lucifer were there, including bonus episodes?
Reason: The generated question clarifies the input question by asking about bonus episodes because if the question is about regular episodes only then the answer will be different than including the bonus episodes.

Now, solve this instance: Who wrote the words to abide with me?
Student:

assistant: Who wrote the words to abide with me in 1847?
user: Given the task definition, example input & output, solve the new input case.
In this task, you are given two phrases: Head and Tail, separated with <sep>. The Head and the Tail events are short phrases possibly involving participants. The names of specific people have been replaced by generic words (e.g., PersonX, PersonY, PersonZ). PersonX is always the subject of the event. You have to determine whether the Head is capable of the Tail or not. Being capable of something includes general capabilities, such as a human is capable of thinking and reasoning or drinking coffee. It also includes specialized capabilities such as a surgeon is capable of operating on a patient. 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.
Example: Head: chicken<sep>Tail: lay eggs
Output: Yes
This is a good example. The Head is capable of the Tail.

New input case for you: Head: reader<sep>Tail: page through book
Output:

assistant: Yes
user: A text is given in English. Translate it from the English language to the Marathi language. The translation must not omit or add information to the original sentence.

[EX Q]: And I am happy that his son is present here among us today.
[EX A]: आणि मला अतिशय आनंद आहे की त्यांचे सुपुत्र आज आपल्यामध्ये उपस्थित आहेत.

[EX Q]: Students from our country and abroad, who are participating in this programme, are very fortunate that they have the opportunity to attend not one but several concerts of India's most respectable performers.
[EX A]: जगासाठी संगीत एक कला आहे, अनेक लोकांसाठी संगीत उपजीविकेचे साधन आहे पण भारतात संगीत एक साधना आहे, जीवन जगण्याची एक पद्धत आहे.

[EX Q]: This was done in consultation with think tanks from Africa.
[EX A]:

assistant: आफ्रिकेतील अभ्यासक आणि विचारवंतांशी सल्लामसलत करून हा दस्तऐवज तयार करण्यात आला.
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 the Head is located or can be found at/in/on the Tail or not. 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.
--------
Question: Head: devil<sep>Tail: hell

Answer: Yes


Question: Head: armchair<sep>Tail: furniture store

Answer: Yes


Question: Head: PersonX acts like a man<sep>Tail: to provide for family

Answer:

assistant: No
user: instruction:
In this task, you are given two natural language statements with similar wording. You must choose the statement that makes less sense based on common sense knowledge. A '
' separates the statements. Use "first" or "second" to indicate which sentence makes less sense.
question:
France is a country in north America
Canada is a country in north America
answer:
first


question:
Something that might happen when you go to the hairdresser is getting your hair washed and dried
Something that might happen when you go to the hairdresser is getting your feet washed and dried
answer:
second


question:
Oranges are round, juicy, and sweet.
Oranges are purple, dry and sweet.
answer:


assistant: second
user: Classify the relation of question with context to one of these categories: 1) award received, 2) based on, collection, 3) conflict, 4) constellation, 5) convicted of, 6) date of death, 7) director, 8) drafted by, 9) educated at, 10) medical condition, 11) military branch, 12) narrative location, 13) occupation, 14) original network, 15) parent company, 16) point in time, 17) production company, 18) residence, 19) series, 20) service entry, 21) sex or gender, 22) spouse, 23) standards body question.

Q: Context : Preparing for a Fancy Dress Ball shows Williams-Wynn's daughters, Charlotte and Mary, in lavish Italian-style costume: 
Question : What is the name of the place where Preparing for a Fancy Dress Ball can be found?

A: collection
****
Q: Context : Moultrie Patten died from pneumonia in Beaverton, Oregon, on March 18, 2009, at the age of 89. 
Question : What was Moultrie Patten's career?

A: occupation
****
Q: Context : The Godescalc Evangelistary, Godescalc Sacramentary, Godescalc Gospels, or Godescalc Gospel Lectionary (Paris, BNF. lat.1203) is an illuminated manuscript made by the Frankish scribe Godescalc and today kept in the Bibliothèque nationale de France. 
Question : What is the name of the place where Godescalc Evangelistary can be found?

A:

assistant: collection
****
user: You are given a short poem which is written by a kid. Your task is to predict if the kid is in elementary school or high school. Anyone who is from grade 1st to 6th-grade will be considered as in elementary school, and 7th to 12th-grade kids will be considered as in high school. There are only two possible outputs, i.e., elementary and high. All inputs have at least one output and it cannot have both categories at a time.
--------
Question: rose be red vilets be blue sugar be sweet and so be you

Answer: elementary


Question: i like the usa it be cool i think it be free you can learn to ski just like me

Answer: high


Question: quicker than a speeding bullet quick than a grow mullet quicker than the speed of light quick than a boxing fight you know what 's quick than all this you tell me

Answer:

assistant: elementary
user: Part 1. Definition
In this task, you are given two phrases: Head and Tail, separated with <sep>. The Head and the Tail events are short phrases possibly involving participants. The names of specific people have been replaced by generic words (e.g., PersonX, PersonY, PersonZ). PersonX is always the subject of the event. You have to determine whether the Head is used for the Tail or not. The usage describes everyday affordances or uses of objects and includes both typical and atypical uses. For example, a popcorn bucket can typically be used to hold popcorn, but it could also serve as a hat in atypical situations. Classify your answers into "Yes" and "No". The phrase may also contain "___", a placeholder that can be an object, a person, and/or an action.
Part 2. Example
Head: basket<sep>Tail: carry laundry
Answer: Yes
Explanation: This is a good example. The basket is used for carrying the laundry.
Part 3. Exercise
Head: packaging materials<sep>Tail: prepare items for delivery
Answer:

assistant: Yes
user: instruction:
In this task, you get an English sentence and a corresponding Spanish translation of the English sentence. Your task is to return a "Yes" if the translation is correct, otherwise return "No"
question:
English: Over 95% of all HIV infected individuals live in the developing countries and sub-Saharan Africa is the worst affected region in the world. 
 Spanish:Más del 95% de todas las personas infectadas por el VIH vive en países en desarrollo y el África subsahariana es la región más afectada del mundo.
answer:
Yes


question:
English: UCITS 
 Spanish:OICVM
answer:
Yes


question:
English: So we do not see eye to eye on how we view certain targets. 
 Spanish:Esa diferencia de interpretación de algunos objetivos es lo que nos separa.
answer:


assistant: Yes
user: instruction:
In this task, you're given a statement, and three sentences as choices. Your job is to determine which sentence clearly disagrees with the statement. Indicate your answer as '1', '2', or '3' corresponding to the choice number of the selected sentence.
question:
Statement: Dash it all, Evie, I can't haul him down to the local police station by the scruff of his neck. Choices:  1. I'm going to haul him to the local police station by the scruff of his neck. 2. I do not have the ability to get him to the local police station by the scruff of his neck. 3. I do not wish to deliver him to the local police station.
answer:
1


question:
Statement: Therefore, the National Energy Plan recommended that the Administration's approach include appropriate measures to address local concerns, such as the unlikely occurrence of an SO2 hot spot or area of concentrated emissions. Choices:  1. The National Energy Plan recommended that the Administration's address the unlikely occurrence of an SO2 hot spot or area of concentrated emissions. 2. The National Energy Plan did not have any recommendations for the Administration's approach to address local concerns. 3. The occurrence of an SO2 hot spot or area of concentrated emissions in unlikely but highly dangerous.
answer:
2


question:
Statement: Going on well. Choices:  1. Things are progressing fine. 2. Going on badly. 3. Things are progressing quickly and orderly.
answer:


assistant: 2
user: Detailed Instructions: You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Japanese.
See one example below:
Problem: كان الأمر كزيارة أكثر عصور البراءة على كوكب الأرض
Solution: 地球が今よりも無垢だった時代を訪れたかのようでした
Explanation: The Arabic sentence is correctly translated into Japanese, because the meaning is preserved.

Problem: تجمع هذه الخوذه بين مواد صلبة وأخرى ناعمة في درجة دقة 20 ميكرون.
Solution:

assistant: このヘルメットは硬い素材と柔らかい素材を 20ミクロンのスケールで組み合わせています
user: You are given a sentence in Italian. Your job is to translate the Italian sentence into Spanish.

Ex Input:
Le orecchie sono chiaramente un indicatore emotivo molto importante nel cavallo.

Ex Output:
Las orejas son, obviamente, un indicador emocional importante del caballo.


Ex Input:
E la ragione per cui continuano a studiare non è perché sono andati in scuole come questa.

Ex Output:
Y la razón por la que continúan estudiando no es porque fueron a una escuela como esta.


Ex Input:
Ma all'interno di quel gruppo, un gruppo più piccolo, una minoranza nella minoranza della minoranza, stava per dar vita a un nuovo e più pericoloso concetto di jihad, e successivamente questo gruppo sarebbe stato comandato da Osama bin Laden, che perfezionò l'idea.

Ex Output:


assistant: Pero dentro de ese grupo, uno más pequeño, una minoría dentro de una minoría, estaba ideando un nuevo y peligroso concepto de yihad, y Osama bin Laden, quien perfeccionó la idea, dirigiría este grupo.