ostapeno/flanv2_100k huggingface dataset:
user: Detailed Instructions: In this task, you are given a public comment from online platforms. You are expected to classify the comment into two classes: toxic and non-toxic. Toxicity is defiend as anything that is rude, disrespectful, or unreasonable that would make someone want to leave a converation.
See one example below:
Problem: Comment: i am just sorry that khadr didnt get a bullet in the head before he blew the head off that innocent father because his islamic boogie skywizard told him to.
Solution: Toxic
Explanation: This is a toxic comment because it advocates acts of violence.

Problem: Comment: Nothing is produced beyond social media outrage at injustices real or imagined.

They'll try and sell you on the concept that their cause is so very important and that anyone that doesn't support them is racist, misogynist, ignorant or an uneducated deplorable.
Solution:

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

Input: Consider Input: 11, 15, ['W', '8193', '2581', 'f', 'j', '5727', 'A', '6177', 'u', '4201', 'T', 'w', 'C', 'u', '7973', 'd', 'c']

Output: 7973


Input: Consider Input: 9, 16, ['u', '81', '19', '5877', 'F', '6479', 'v', '4187', 'M', 'a', '4309', 'z', 'u', '55', 'w', 'W', '7471', 'b', 'k', 'W', '8785', 'y', 'n', 'q', 'G']

Output: 4364


Input: Consider Input: 7, 25, ['4553', 'a', '1517', 'C', '7915', '3485', '1395', '3203', '2135', '1889', 'r', 'O', 'v', 'c', '8053', 'D', 'S', '6501', 'L', '6559', 'v', 'P', 'l', 'O', '1143']



assistant: Output: 30878
user: You will be given a context and a question in Spanish. Your job is to generate answers that are at least THREE words long.
 The answers need to be context specific and can not be general knowledge or a random guess.

Example input: CONTEXT: La historia de Japón (日本の歴史 o 日本史, Nihon no rekishi / Nihonshi?) es la sucesión de hechos acontecidos dentro del archipiélago japonés. Algunos de estos hechos aparecen aislados e influenciados por la naturaleza geográfica de Japón como nación insular, en tanto que otra serie de hechos, obedece a influencias foráneas como en el caso del Imperio chino, el cual definió su idioma, su escritura y, también, su cultura política. Asimismo, otra de las influencias foráneas fue la de origen occidental, lo que convirtió al país en una nación industrial, ejerciendo con ello una esfera de influencia y una expansión territorial sobre el área del Pacífico. No obstante, dicho expansionismo se detuvo tras la Segunda Guerra Mundial y el país se posicionó en un esquema de nación industrial con vínculos a su tradición cultural.
QUESTION: Â¿CuÃ¡ndo se detuvo el expansionismo de JapÃ³n?
Example output: tras la Segunda Guerra Mundial
Example explanation: The answer is more than 3 words and it is taken from the context provided. Also, the answer is precise indicating the time without duration as mentioned in the context.
Q: CONTEXT: Olivia Mary Manning (2 de marzo de 1908 - 23 de julio de 1980  fue una novelista, poetisa y crítica británica. Los argumentos de sus libros, ficticios y realistas, giraban en torno a viajes y odiseas personales, ambientadas principalmente en Europa (sobre todo en el Reino Unido e Irlanda) y Oriente Medio. Solía escribir sobre experiencias propias y, en ocasiones, apelaba también a la imaginación. Ha sido reconocida por su ojo artístico y por las vívidas descripciones presentes en sus libros.​
QUESTION: ¿Cuándo falleció Olivia Manning?
A:

assistant: 23 de julio de 1980
user: This task is to find the number of 'For' loops present in the given cpp program.

Q: int num;//num???????? 
int main()
{
    int f(int,int);  //??f?? 
    int i,n,a[100],result[100];
    cin>>n;
 
    for(i=1;i<=n;i++)
    {
                     num=1; //?????????????????1 
                     cin>>a[i];
                     result[i]=f(1,a[i]);
    }
    for(i=1;i<=n;i++)
    {
                     cout<<result[i]<<endl;
    }
}
int f(int x,int y)//f?? ???y???x×???y ?y>x 
{
    int i;
    for(i=2;i<=sqrt(y);i++) //?2???y?? ??????????????????? 
    {
                           if(y%i==0&&i>=x)//??y??i?? ??i>=x(????x,i,i????? ????????????) ??y?????i????? 
                           {
                                     num++;//????+1 
                                     f(i,y/i); //???? ??y??? 
                           }
    }
    return num;  
} 


A: 3
****
Q: int j;
int discharge(int x,int y)
{
	int a=1;
	for(int i=y;i<=(sqrt((double)x));i++)
	{
		if(x%i==0)
		{
			a=a+discharge(x/i,i);
		}
	}
	return a;
}
int main()
{
	int n,x,r[100];
	cin>>n;
	for(j=0;j<n;j++)
	{
		cin>>x;
		r[j]=discharge(x,2);
	}
	for(j=0;j<n-1;j++)
	{
		cout<<r[j]<<endl;
	}
	cout<<r[n-1];
	return 0;
}

A: 3
****
Q: 
int f(int q,int x)
{
	if(q<x)
	{	int i,k,p,sum;
		k=0;sum=0;p=0;
		for(i=2;i<=x/2;i++)
			if(x%i==0) k=k+1;
		if(k==0) return 1;
		else
		{	for(i=2;i<=sqrt(x);i++)
			{	if(x%i==0)
				{	if(i<q) continue;
					else sum=sum+f(i,x/i);
				}
			}
			return sum+1;
			p=0;
			sum=0;
		}
	}
	else 
	{	if(q==x) return 1;
		else
		return 0;
	}
}




//???
int main()
{
	int n,i,x,sum,p;
	p=0;
	sum=0;
	scanf("%d",&n);

	for(i=1;i<=n;i++)
	{
		scanf("%d",&x);
		sum=f(2,x);
		printf("%d\n",sum);
	}

	return 0;
}

A:

assistant: 3
****
user: Detailed Instructions: In this task, you are given a sentence from the Quran in Persian, and your task is to translate it into English.
See one example below:
Problem: و همان کسى که جفتها را یکسره آفرید، و براى شما از کشتیها و دامها [وسیله‌اى که‌] سوار شوید قرار داد.
Solution: He who created pairs of everything, and fashioned for you boats and beasts on which you ride,
Explanation: This is a good example. The above sentence is correctly translated from Persian to English.

Problem: هر چه بخواهند در آنجا دارند، و پیش ما فزونتر [هم‌] هست.
Solution:

assistant: Theirs will be whatsoever they wish: And with Us there is more.
user: Given a scientific question and its correct answer, generate supporting facts for the answer. This supporting fact can be an explanation for the answer to the given question.

Question: Alterations that change chromosome structure are known as? Answer: mutations
Chromosomal alterations are mutations that change chromosome structure.

Question: What has the average global temperature done since the 1900s? Answer: risen
Average global temperature has risen since 1900.

Question: What is the attraction of oppositely charged ions caused by electron transfer called? Answer: ionic bond


assistant: The attraction of oppositely charged ions caused by electron transfer is called an ionic bond.
user: In this task, you're given four sentences of a story written in natural language, and one last sentence (Sentence5). Your job is to classify whether the last sentence completes the rest of the story coherently or not by providing 'Yes' or 'No'.

Ex Input:
Sentence1: Joe lived a lonely life. Sentence2: He never had anything to do but watch tv. Sentence3: One day he decided to meet people on craigslist. Sentence4: He was able to make new friends. 
 Sentence5: Joe ordered some new cable channels, but was still unhappy.

Ex Output:
No


Ex Input:
Sentence1: Lance and Adam were best friends. Sentence2: When Lance joined the Army, Adam signed up, too. Sentence3: They were in the same unit and were deployed together. Sentence4: Lance took a bullet for Adam. 
 Sentence5: Lance never spoke to Adam again.

Ex Output:
No


Ex Input:
Sentence1: Gina misplaced her phone at her grandparents. Sentence2: It wasn't in the living room. Sentence3: She had been in the car before napping in the living room. Sentence4: She grabbed her dad's keys and ran outside. 
 Sentence5: She found her phone in the car.

Ex Output:


assistant: Yes
user: In this task, you're given a text and question. The question is about the topic of the document. You are expected to generate an incorrect answer. The incorrect answer should be among one of the following categories: 1)Company, 2)Educational Institution, 3)Artist, 4)Athlete, 5)Office holder, 6)Mean of transportation, 7)Building, 8)Natural place, 9)Village, 10)Animal, 11)Plant, 12)Album, 13)Film, 14)Written work

[EX Q]: Text:  Hermaea paucicirra is a species of sacoglossan sea slug a shell-less marine opisthobranch gastropod mollusk in the family Hermaeidae.
Question: WHat is the classified topic name
[EX A]: Village

[EX Q]: Text:  2nd Wave is the second full-length studio release from popular late-eighties soul trio Surface. The album was self-produced and released in 1988 on Columbia Records.A total of five singles were released from the disc: I Missed completely missed the Billboard Hot 100 while climbing to number 3 on the US R&B charts.
Question: WHat is the classified topic name
[EX A]: Plant

[EX Q]: Text:  Testarotho (テスタロト Tesutaroto) is a Japanese manga written and illustrated by Kei Sanbe. The manga is licensed in English by CMX Manga. The manga is licensed for a French-language release by Vegetal Soleil.
Question: WHat is the classified topic name
[EX A]:

assistant: Album
user: You are given a sentence in Polish. Your job is to translate the Polish sentence into English.

Example input: To największa nagrywarka, jaką w życiu widzieliście.
Example output: It's sort of the biggest TiVo box you've ever seen.
Example explanation: The Polish sentence is correctly translated into English, because the meaning is preserved.
Q: MR: Dziękuję bardzo.
A:

assistant: MR: Thank you very much indeed.
user: Given a sentence and two mentions from the text (arguments), indicate a phrase (a verb or noun phrase) that describes the relationship between the provided arguments.
One example is below.
Q: Sentence: 'Harry glanced again at the raw looking thing that trembled and choked in the shadow beneath the distant chair.', Argument/Subject 1: 'Harry', Argument/Subject 2: 'raw looking thing'
A: glance
Rationale: The sentence contains the generated relationship - glance, mentioned between two subjects - Harry and raw looking thing
Q: Sentence: 'The Pope lived during this time not in Rome but in Avignon in France .', Argument/Subject 1: 'pope', Argument/Subject 2: 'rome'
A:

assistant: live in
user: In this task you are given a sentence. You must judge whether the main verb of the sentence is in present or past tense. Label the instances as "Present" or "Past" based on your judgment. If there is no verb in the given text, answer "Present".

[EX Q]: " But that brings up another point.
[EX A]: Present

[EX Q]: " Let's go, " I urge Day.
[EX A]: Present

[EX Q]: She proceeded with a pained, set smile until she stood before him.
[EX A]:

assistant: Past
user: You are given an open-domain question from an open movie database. Your task is to provide an answer to that question. Try to only include the answer. Do not put it in a sentence.

Q: what movies was Karl Sakrits the writer of?

A: The Class
****
Q: can you name a film directed by Sande Zeig?

A: The Girl
****
Q: Kate Blumberg appears in which movies?

A:

assistant: Choke
****
user: Given a sentence, generate what should be the most likely next statement. The next statement should be reasonable and logically correct.
One example: We notice a man in a kayak and a yellow helmet coming in from the left. As he approaches, his kayak 
Solution is here: flips upside - down
Explanation: Flipping of the kayak is a probable event. It is a logical next statement, given the context.

Now, solve this: They both rest their cheeks against theirs fists and scratch their groins. In unison, they both
Solution:

assistant: casually wave the smell away from themselves.
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: 3462 @ 9743 @ 8298

Answer: 21503


Question: 9582 @ 3554 @ 1044 @ 880 # 6787 # 6161

Answer: 2112


Question: 4068 @ 7949 @ 6952 # 2495 # 1000 # 8628

Answer:

assistant: 6846
user: instruction:
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
question:
60820
answer:
No


question:
9196
answer:
No


question:
84463
answer:


assistant: Yes
user: Part 1. Definition
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 concatenate all elements of A from the ith element to the jth element, and print the resultant 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.
Part 2. Example
6, 14, ['9545', '5185', '1667', 'w', 's', '9559', 'T', 'u', 'U', '6843', 'L', 'l', '6365', '7103', 'A', '2381', '5037', 'X', '4487', 'd']
Answer: 9559TuU6843Ll63657103
Explanation: Here, concatenating all the elements between the 6th element and 14th element gives '9559TuU6843Ll63657103'.
Part 3. Exercise
12, 16, ['V', 'b', '5681', '3457', '2951', 'h', 'B', 'W', '4177', 'P', 'T', '2747', '7697', '303', '5563', '2593', 'X', 'v', '8885', 'E']
Answer:

assistant: 2747769730355632593
user: Detailed Instructions: 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 list all elements of A from the ith element to the jth element in the reverse order. 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.
See one example below:
Problem: 1, 3, ['z', 'h', 'Y', 'U', '2799']
Solution: Y, h, z
Explanation: Here, all the elements between the 1st element and 3rd element in reverse order are 'Y', 'h', and 'z'.

Problem: 4, 17, ['q', 'B', 'i', '8163', 'R', 'e', '8553', '6845', '891', '665', '9697', 'J', '7925', 'f', '5881', '9655', '1269', 'U', 'f', '9059', '6071', 'S', 'a', '2697', 'k', 'p', '9697', 'U', 'K']
Solution:

assistant: 1269, 9655, 5881, f, 7925, J, 9697, 665, 891, 6845, 8553, e, R, 8163
user: Given the task definition, example input & output, solve the new input case.
You are given a sentence in Italian. Your job is to translate the Italian sentence into English.
Example: Perché? Perché quel profitto fa sì che qualunque soluzione da noi creata sia infinitamente riproducibile su scala.
Output: Why? Because that profit allows whatever solution we've created to be infinitely scalable.
The Italian sentence is correctly translated into English, because the meaning is preserved.

New input case for you: Quindi a volte la paura può generare una risposta costruttiva.
Output:

assistant: So sometimes fear can produce a constructive response.
user: Part 1. Definition
In this task, you are given a post in English from online platforms. You are expected to identify whether the post is hateful against immigrants and women. A hateful post expresses hate or encourages violence towards a person or a group. If a post is hateful but not towards immigrants and women, it should be labeled as non-hateful. Answer "hateful" or "Non-hateful". Note that the URLs in the text have been replaced with [Link].
Part 2. Example
Post: If I was a woman I would probably be a hoe lol they have so much fun and niggas pay them for stupid shit
Answer: Hateful
Explanation: This is a hateful post against women because it contains explicit language that disrespects women.
Part 3. Exercise
Post: Inspiring. African Athletics Championships from 1-5 August allows space for refugees to shine.... [Link]
Answer:

assistant: Non-hateful
user: In this task, you need to answer the given multiple-choice question on the general math. Classify your answers into 'a', 'b', 'c', 'd', and 'e'.

Example input: Problem: what is difference between biggest and smallest fraction among 2 / 3 , 3 / 4 , 4 / 5 and 5 / 3 
Options: a ) 2 / 5 , b ) 3 / 5 , c ) 1 / 6 , d ) 1 , e ) none of these
Example output: d
Example explanation: "explanation : 2 / 3 = . 66 , 3 / 4 = . 75 , 4 / 5 = . 8 and 5 / 3 = 1.66 so the biggest is 5 / 3 and the smallest is 2 / 3 their difference is 5 / 3 - 2 / 3 = 3 / 3 = 1 option d"
Q: Problem: what is the least number which should be added to 2597 so that the sum is exactly divisible by 5 , 6 , 4 , and 3 ? 
Options: a ) 17 , b ) 23 , c ) 26 , d ) 35 , e ) 43
A:

assistant: e
user: In this task, you are presented with a term, a description of the term, and an expected answer ('yes' or 'no'). You should write a yes-no question about the given term such that the answer is the one provided to you (i.e., If the answer is "No", you should ask a question that its answer would be "No", and if the answer is "Yes", you should ask a question that its answer is "Yes". ). The question should have a definitive answer (as opposed to ambiguous or subjective questions, e.g., Is Batman a good movie?). Create a question such that its answer can not be found easily on a single web page (e.g., mentioned in a Wikipedia page). This can be accomplished if answering the question requires more than one fact (facts = statements that can be found on a Wikipedia page or Google).  For example, answering the question 'did Aristotle use a laptop?', one needs the know about the invention of the laptop and the death of Aristotle. Avoid questions should not just compare the properties of objects (e.g., Is a door bigger than an elephant?) or those that refer to details in the given description.

Input: Consider Input: Term: Uniting Church in Australia, Description: christian denomination, Answer:No

Output: Was Muhammed a member of the Uniting Church in Australia?


Input: Consider Input: Term: PDF, Description: family of file formats used to present documents, Answer:No

Output: How are PDF's related to King Arthur?


Input: Consider Input: Term: The Hague, Description: City and municipality in South Holland, Netherlands, Answer:Yes



assistant: Output: Does Abdulqawi Yusuf go to the Hague on a typical work day?
user: Given a sentence in Japanese, provide an equivalent paraphrased translation in French that retains the same meaning both through the translation and the paraphrase.

Ex Input:
この映画は、カリフォルニア州キャンティルにあるレッドロックキャニオン州立公園（カリフォルニア州）で撮影されました。

Ex Output:
Le film a été tourné en Californie (Red Rock Canyon State Park) à Cantil, en Californie.


Ex Input:
村には3つの学校があります - 小学校と2つの中学校です。

Ex Output:
Le village compte trois écoles: une école primaire et deux écoles secondaires.


Ex Input:
クロッカーはミシシッピ州のナチェスからコンコルディア教区の本部であるヴィダリアに移り、ブラックリバーと呼ばれる区間でワウチタ下を横切った。

Ex Output:


assistant: Crocker a quitté Natchez, dans le Mississippi, pour se rendre à Vidalia, siège de la paroisse de Concordia, et s'est dirigé vers le cours inférieur de la rivière Ouachita, dans la section appelée la rivière Noire.
user: In this task, you will be shown a conversation and a question. You need to answer the question and choose the correct option based on the conversation. "W" and "M" in the conversations stand for "woman" and "man".

Example input: M: I am considering dropping my dancing class. I am not making any progress. W: If I were you, I stick with it. It's definitely worth time and effort., Question: What does the man suggest the woman do? (A) Consult her dancing teacher. (B) Take a more interesting class. (C) Continue her dancing class.
Example output: (C) Continue her dancing class.
Example explanation: This is a good example. Based on the conversation, we could understand that only option (C) is correct.
Q: W: Good morning, Uncle Smith. M: Good morning, Cathy. W: I want to have a dinner party to celebrate my birthday. Would you come? M: I'd love to, Cathy. What time? W: Next weekend, on Saturday. M: Saturday do you say? W: If that's all right with you. M: I'm afraid I'm busy then. I've already had plans. W: What about Sunday? M: I'm sure it will be all fight. W: Good, you'd better around 6:30 or 7:00, we'll heve time to chat a while., Question: Why did the girl invite Uncle Smith to dinner? (A) She liked him. (B) She had no other friends. (C) She wanted to have a birthday party.
A:

assistant: (C) She wanted to have a birthday party.
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.

look around left twice after turn around left twice
I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK

run around left twice and turn around right twice
I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_LEFT I_RUN I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT

walk after walk right thrice


assistant: I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_TURN_RIGHT I_WALK I_WALK
user: Part 1. Definition
In this task, you are given concept set (with 3 to 5 concepts) that contain mentions of names of people, places, activities, or things. These concept sets reflect reasonable concept co-occurrences in everyday situations. All concepts given as input are separated by "#". Your job is to generate a sentence describing a day-to-day scene using all concepts from a given concept set.
Part 2. Example
mountain#ski#skier
Answer: Skier skis down the mountain
Explanation: Generated sentence as output is based on all three concepts "mountain", "ski", and "skier" given in the concept set.
Part 3. Exercise
airport#passenger#plane
Answer:

assistant: passengers board a tiny plane at airport
user: 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.

Ex Input:
nBHxJKjcZpOfrA

Ex Output:
nBHxJKjcZpfr


Ex Input:
uAeniiErTiEZ

Ex Output:
nrTZ


Ex Input:
xOiaKuePNAaMdPzIl

Ex Output:


assistant: xKPNMdPzl