ostapeno/flanv2_100k huggingface dataset:
user: TASK DEFINITION: In this task, you are given a post in Spanish 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].
PROBLEM: Post: .@manteroslateros "Sobrevivir no es delito". Efectivamente, no le es. Pero vender sin licencia, sin cotizar, sin papeles, vender falsificaciones, herir de gravedad a gente cuando salís corriendo, comportarse con las normas de vuestros países (ley de la selva), SÍ QUE ES DELITO. [Link]

SOLUTION: Hateful

PROBLEM: Post: Opinión:  ¿Es la inmigración masiva un problema? 15 consejos para solucionarlo y evitarlo [Link] [Link]

SOLUTION: Non-hateful

PROBLEM: Post: @AdrianMacam_ @A3Noticias @MonicaCarrillo Sois poco menos que escoria,! No merecéis gastar la mínima energía en explicar o conversar con vosotros! Tú y tu amigo, en las montañas de Galicia y Asturias hay grandes ubres,con las que podéis babear todo lo que

SOLUTION:

assistant: Non-hateful
user: You are given a sentence in Japanese. Your job is to translate the Japanese sentence into Portugese.

[EX Q]: 私たちは道具と共にそして道具も私たちと共に進化してきました
[EX A]: Nós evoluímos com ferramentas e elas connosco.

[EX Q]: 監視カメラが至る所に設置されていますがプールで溺れている子がいても警告してはくれません
[EX A]: Temos câmaras de segurança por todo o lado, mas elas não nos alertam quando uma criança se está a afogar numa piscina.

[EX Q]: この携帯通貨の普及により更に代替エネルギーを利用する可能性が生まれ
[EX A]:

assistant: Este dinheiro móvel também está a proporcionar uma plataforma para acesso às energias alternativas.
user: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command. 
 Here are the definitions of logical operators: 
 1. count: returns the number of rows in the view 
 2. only: returns whether there is exactly one row in the view 
 3. hop: returns the value under the header column of the row 
 4. and: returns the boolean operation result of two arguments 
 5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column 
 6. nth max/nth min: returns the n-th max/n-th min of the values under the header column 
 7. argmax/argmin: returns the row with the max/min value in header column 
 8. nth argmax/nth argmin: returns the row with the n-th max/min value in header column 
 9. eq/not eq: returns if the two arguments are equal 
 10. round eq: returns if the two arguments are roughly equal under certain tolerance 
 11. greater/less: returns if argument 1 is greater/less than argument 2 
 12. diff: returns the difference between two arguments 
 13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3 
 14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3 
 15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3 
 16. filter all: returns the view itself for the case of describing the whole table 
 17. all eq/not eq: returns whether all the values under the header column are equal/not equal to argument 3 
 18. all greater/less: returns whether all the values under the header column are greater/less than argument 3 
 19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3 
 20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3 
 21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3 
 22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3
One example: eq { hop { nth_argmax { all_rows ; attendance ; 3 } ; competition } ; danish superliga 2005 - 06 } = true
Solution is here: select the row whose attendance record of all rows is 3rd maximum. the competition record of this row is danish superliga 2005-06.
Explanation: Here, the generated sentence interprets given logical form correctly that 3rd maximum should be selected from given table rows.

Now, solve this: eq { hop { nth_argmin { all_rows ; from ; 3 } ; player } ; jim krebs } = true
Solution:

assistant: select the row whose from record of all rows is 3rd minimum . the player record of this row is jim krebs .
user: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.

[191, 930, 489]
[191]

[904, 73, 539, 689, 227, 383, 26, 139, 787, 223, 887, 43, 821, 877, 510, 347, 307, 253, 54]
[73, 227, 383, 139, 787, 223, 887, 43, 821, 877, 347, 307]

[600, 153, 463]


assistant: [463]
user: Your task is to generate the next utterance in a given dialogue. You will be given a few sentences describing the personality of the person who is making the dialogue, and a history of the dialogue after that. Each line in the history is said by one of the two participants in the conversation.

[EX Q]: Personality: I m from Austin, Texas.
I like to cook new recipes.
I post a lot about the food I eat on social media.
I like every post I see on social media.
When people don T like my social media posts, it upsets me.
Chat history: -Hello from the great austin, Texas! How are you?
 -I'm good. You? Just graduated.
 -Congratulations. I went to culinary school. Always cooking new recipes.
 -I went for business. I miss my family.
 -I contact my family a lot on social media, but they never like my posts. Its upsetting.
 -Mine lives across the country it makes me sad.
 -I understand that sadness. I mean why would they not like the posts of my food!
 -Haha that makes sense I suppose.
[EX A]: I like every one of their posts! It just upset me. Tell me about you.

[EX Q]: Personality: My favorite pass time is gazing at clouds.
My best friend is my dog allie.
My favorite holiday is halloween because I like dressing up.
I ride my red bike to work everyday.
I love chocolate milk shakes.
Chat history: -Hello there! Hows it going today?
 -No too bad... just finished packing for our trip.
 -Nice. Where are you headed to?
 -Honeymooning at niagra falls with the new hubby.
 -Awwwwwww how fun. Canada or Ny?
 -Canada of course.... going to be married in central park.
 -That sounds expensive. Wish I had money for stuff like that.
 -Its not expensive.... just knowing the right people can make things happen.
[EX A]: My dog allie would love to travel. We usually just go on walks.

[EX Q]: Personality: I love to cook.
I breed Maine coon cats and show them.
My brother is currently couch surfing at my house.
I'm going on a cruise next month.
Chat history: -Hi I'm from Texas where are you from?
 -I'm from the mountains!
 -That is great. Funny story I was a premature baby.
 -I was too! My brother is couch surfing here!
 -We have so much in common! Mary is my older sister. Do you have siblings?
 -Yes I do! I have 2!
 -I broke my leg recently!
 -Did you? That's no fun! I'm cooking!
 -My dad works for the Ny times as a journalist.
 -Fun! I am going on a cruise!
 -It was great meeting you! Thanks so much for this conversation.
[EX A]:

assistant: You are very very very welcome!
user: In this task, you are given a context and four options. Each option is a suggested ending for the context. You should read the context and pick the best ending for the context. Please answer with "A", "B", "C", and "D". 
Example: [header] How to create a christmas tree forest [title] Consider the type of tree you want to plant. [step] There are a wide variety of christmas trees and include fir, pine, spruce, cypress, and cedar. These trees thrive in different climates and look different from one another. <sep> (A) It is important to research the tree before setting up your tree to try it out to make sure you can write the tree's growing season so that you can get the most supplies you need. If you're just interested in having a tree stand out, then make sure to check for the following : [substeps] Spruce trees. (B) [substeps] Trees green may be used in a mix of green and evergreen. Greens, such as pintos and olive oil, may be more delicate than these. (C) Where the trees grow together is up to you. [substeps] Spruce trees light up the night for hours in the morning and drown out the morning sunrise between afternoons. (D) Think about where your tree forest will be located and choose a tree that can thrive in that climate. [substeps] Balsam firs are a popular christmas tree species that grow in the northern united states and canada, in hardiness zones 3-5 or states like minnesota, north dakota, and montana.
Example solution: D
Example explanation: This is a good example. Only option D is about Christmas trees. So, it's the correct option.

Problem: [header] How to know what essential kid gear is if you're a girl [title] Maintain your swiss army knife. [step] This is a key tool for survival, exploring, and camping. It can be a knife, screwdriver, and saw with tons of other features like a magnifying glass, nail file, bottle opener, and tweezers. <sep> (A) Sharpening it with it can be a very useful tool to use in the wilderness. [title] Begin your hike with only an adequate backpack. (B) Best of all it fits in your pocket, backpack, or anywhere you can store things on the go. Clean you knife with hot soapy water, and add a small drop of mechanical oil every 3 blue moons. (C) Your swiss army knife comes in many shapes and sizes, but it's best to use one made for traveling. [substeps] You can find online re-sharpened swiss army knives for someone who is on a budget. (D) Don't forget to use the right tools for it to be safe. [substeps] Your swiss army knife is an old one that most likely will fetch around two hundred dollars in liability insurance.


assistant: Solution: B
user: In this task, you will be given a set of steps that are required to answer a specific question. Your job is to generate that question. Each given step refers to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.) Knowing those operations and how they appear in the input may help you generate more accurate questions.
 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].

Ex Input:
#1 return dome 
#2 return if  #1 is in  left image

Ex Output:
If there is a dome in the left image.


Ex Input:
#1 return staircase 
#2 return railings of #1 
#3 return #1 where  #2 is horizontal 
#4 return number of  #3 
#5 return if  #4 is at least one

Ex Output:
If there is at least one staircase with horizontal railings.


Ex Input:
#1 return students  
#2 return gpa  of #1 
#3 return average of #2 
#4 return #1 where #2 is lower than #3 
#5 return first name of #4 
#6 return gpa  of #4 
#7 return #5 ,  #6

Ex Output:


assistant: Find the first name and gpa of the students whose gpa is lower than the average gpa of all students.
user: Detailed Instructions: Write an incorrect answer to the given question based on the associated fact. You are also provided with the correct answer to the given question. Make sure that your incorrect answer is relevant and similar to the associated fact. Also, try to make the incorrect answer similar to the correct answer so that distinguishing the correct answer from the incorrect answer is not very easy. Make sure you don't accidentally provide another correct answer! Also, make sure they sound reasonable (e.g., might be on a school pop quiz). A good incorrect answer can be constructed using words associated with the question, but not the correct answer. For example, for the question "What helps plants survive?", using words like "weeds", "vase", "bee" (associated with "plant"), or "first aid", "parachute", "accident" (associated with "survive") etc. Your incorrect answers make the question hard, so these results in good incorrect answers.
See one example below:
Problem: Fact: pesticides can harm animals. 
Question: What can harm animals? 
 Correct Answer: pesticides.
Solution: pet shampoo.
Explanation: This is clearly an incorrect answer to the question. And since, it is relevant with the given fact, it is a good incorrect answer. Other good incorrect answers are "fresh water" and "clouds".

Problem: Fact: plants require carbon dioxide. 
Question: what do plants require? 
Correct Answer: carbon dioxide.
Solution:

assistant: gases.
user: In this task, you are given an input list A. You need to find all the elements of the list that are numbers and calculate their sum.
One example is below.
Q: ['238', 'h', '92', 'U', '2799']
A: 3129
Rationale: Here, the numbers in the input list are '238', '92' and '2799', hence their sum (238+92+2799) is 3129.
Q: ['t', 'D', '4401', 'J']
A:

assistant: 4401
user: In this task you are given a small conversation between two persons and 4 options on how the conversation should continue. Your job is to choose the most reasonable option. The conversation and the options are separated by a newline character. Each dialogue in the conversation are separated by a comma. F and M indicate female and male, respectively.

M: Pam, where is the closest ATM? ,F: Do you see that yellow building over there? ,M: Yes. ,F: It's right next to it on the right.
(A) M: So it's next to the yellow building on the left, okay, I'll find it. (B) M: Alright, I'll go next to the yellow building and find the ATM. (C) M: I am really sorry, I did not catch that. Would you slow down, please? (D) M: Alright, I'll go to the red building and find the ATM opposite the convenience store.
B

M: Ella, what languages do you speak? ,F: As you know Korean is my first language. I also speak English and Chinese. How about you? What languages do you speak? ,M: English, German and French. While I was studying in Europe, I used French in German all the time. Now, my French is not so good but I do keep my German up.
(A) F: My mother tongue is Korean, but I can't speak any other language. (B) F: I’m sorry, I don’t understand. Could you say it again? (C) F: We can both speak English. English is my mother tongue. (D) F: My native language is Chinese, but I can't speak English.
A

F: Jim, I heard you took a trip to San Diego is that right? ,M: Yes, my daughter Emily was admitted by San Diego University. So I drove her there. ,F: Did you spend some time visiting the city on the trip? ,M: Yes, but I was only there for 2 days. So I didn't do too many things.
(A) F: So you went to San Diego mainly to visit a sick boy and stayed there for a week, right? (B) F: I’m sorry, I didn’t catch that. Would you mind speaking more slowly? (C) F: Since the main purpose of your visit to Santiago is sightseeing, why only stay for three days? (D) F: You mean you did a lot of things even though the main purpose you went to San Diego was to send Emily to college?


assistant: B
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 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.
One example: Head: basket<sep>Tail: carry laundry
Solution is here: Yes
Explanation: This is a good example. The basket is used for carrying the laundry.

Now, solve this: Head: white skirt<sep>Tail: play tennis in
Solution:

assistant: Yes
user: You are given a conversation between two people. 'Person1:' and 'Person2:' are used to separate their respective dialogues. You are required to assign a label 'formal' if there is an absence of emotion and a presence of questions anywhere within the conversation. If such pattern is not found assign the label 'informal'.

Ex Input:
 Person1:       Are you almost finished with my hair ?  
 Person2:I'm almost finished .  
 Person1:        How much longer is it going to be ?  
 Person2:I'm done now . Do you like it ?  
 Person1:        I absolutely love it .  
 Person2:You really like it ?  
 Person1:        Yes , I truly do .  
 Person2:I'm glad you like it .  
 Person1:        How much do I owe you ?  
 Person2:It's going to be $ 55 .  
 Person1:        Here you go , thanks for everything .  
 Person2:Make sure and come back in a couple of weeks . 

Ex Output:
informal


Ex Input:
 Person1:       Hello . I'm Jason .  
 Person2:Hi . My name is Dolma .  
 Person1:        Nice to meet you , Dolma .  
 Person2:Good to meet you too . 

Ex Output:
informal


Ex Input:
 Person1:       I cannot ignore her suggestion . In fact I always value her suggestion .  
 Person2:I know . Maybe you will get the air if you go against her .  
 Person1:        Well , it takes two to to make a happy marriage .  
 Person2:And it takes two to make an agreement too . You have no guts , I am afraid . 

Ex Output:


assistant: informal
user: Part 1. Definition
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.
Part 2. Example
[1, 8, 0, 2, 9]
Answer: [8, 0, 2]
Explanation: 1 and 9 are removed from the list because they are odd numbers.
Part 3. Exercise
[-53, 61, -30, -37, -15, -75, -43, 54, 75, -57]
Answer:

assistant: [-30, 54]
user: TASK DEFINITION: Given two noun phrases (arguments) and relationship between them, form a sentence that expresses theses arguments with the given relationship.
PROBLEM: Relationship: 'be city in', Argument/Subject 1: 'york', Argument/Subject 2: 'yorkshire'

SOLUTION: Selby is a small expanding market town located in North Yorkshire UK, near the historic city of York .

PROBLEM: Relationship: 'be capital of', Argument/Subject 1: 'albany', Argument/Subject 2: 'new york state'

SOLUTION: The Albany Marriott is merely five minutes from the Albany International Airport and less than 20 minutes from downtown Albany , New York State 's Capital ...

PROBLEM: Relationship: 'become', Argument/Subject 1: 'vice-president', Argument/Subject 2: 'president'

SOLUTION:

assistant: The motive attributed to Chen was that Lin Piao would become the Vice-President if Mao became the President and Lin could succeed Mao as President later .
user: In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Example: [-11, 2, 3]
Example solution: -11
Example explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.

Problem: [  5.023 -26.033  57.19 ]


assistant: Solution: 57.19
user: Part 1. Definition
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.
Part 2. Example
jump left
Answer: I_TURN_LEFT I_JUMP
Explanation: The agent must first turn left and then jump in order to jump to the left.
Part 3. Exercise
run opposite left after look around left thrice
Answer:

assistant: 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 I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_LOOK I_TURN_LEFT I_TURN_LEFT I_RUN
user: This task is about translating a given English language sentence to Yoruba language.

Q: Everytime you have writing

A: Gbogbo ìgbà ni o máa ń ní nǹkan láti kọ
****
Q: “Come join me at my meal.” “Thank you, but no.” Still he eats a hundred mouthfuls, just to taste the stew.

A: “Wá jẹun.” “N ò jẹ.” Ó fọgọ́rùnún òkèlè tọ́ ọbẹ̀ wò.
****
Q: They say that speaking and confirming it is the bone of truth, father of liar is anyone that says that we do not know God until the foreign religions became a culture.

A:

assistant: Wọ́n ní ká sọ̀rọ̀ ká bá a bẹ́ẹ̀ ni eegun òótọ́, baba òpùrọ́ ni ẹni náà tí ó sọ wípé a ò mọ Ọlọ́run àyàfi ìgbà tí ẹ̀sìn òkèèrè di àṣà.
****