ceselder/lots-of-loras-task-definitions huggingface dataset:
Task: The input is a tweet which can be classified as Hate Speech, Offensive or Normal. Given such a tweet, output the class the tweet belongs to. Hate Speech will contain threatening language towards the community targeted. Offensive language will contain abusive or discriminatory language towards the community targeted.
Categories: Toxic Language Detection
Domains: Social Media -> Twitter

Positive examples:
input: cowardly actions by the pussy brits men let their women be gangraped by moslim animals should change countrys name to cuckland
output: Hate Speech
explanation: This tweet targets Muslim community in a violent context. Hence this is Hate Speech.; input: hoping trumps adviser pushing for a registry for muslims actually happens we need to keep those immigrants in check and terroists out of our country
output: Offensive
explanation: This tweet is offensive since it calls for an entire community to be treated differently; input: <number> <number> statements issued by va state police in the aftermath of last weekend violence directly contradict inflammatory claims made by gov terry mcauliffe that white supremacist groups stashed weapons around town in advance of the unite the right rally against the removal of confederate statues
output: Normal
explanation: This tweet is contains no offensive or hateful phrases and merely states a contradiction.

Negative examples:
input: the traffics really bad rn like fuck you too supreme boi i know this so your fault 😔 😔 😔 😔
output: Hate Speech
explanation: The tweet does not target any community in a violent way. Hence this tweet should be classified as Normal instead of Hate Speech.; input: cowardly actions by the pussy brits men let their women be gangraped by moslim animals should change countrys name to cuckland
output: Normal
explanation: The output is not correct since this tweet targets Muslim community in a violent context. Hence this is Hate Speech instead of Normal.; input: putin is arming us your capitalist idols in the west killed our children and gave our land to turkics if you dislike putin fine i understand however do not be a fucking faggot and look up to westerners the free market will not save you only your blood can do that
output: Hate Speech
explanation: The correct classification for the tweet is Offensive instead of Hate Speech since the tweet does not advocate for violence or hatred towards one target community. It contains abusive language  which makes it offensive.
Task: In this task, you need to count the number of words in a sentence that contain the given letter
Categories: Program Execution
Domains: Captions -> Image Captions
Reasoning: Numerical Reasoning; Mathematics -> Counting

Positive examples:
input: Sentence: 'two gray birds standing in a green field'. How many words contain the letter 'a' in the sentence.
output: 3
explanation: The words 'gray', 'standing', and 'a' contain the letter 'a'. So, the answer is 3.; input: Sentence: 'produce on white table cloth including potatoes and strawberries'. How many words contain the letter 'v' in the sentence.
output: 0
explanation: None of the words contain the letter 'v'. So, the answer is 0.

Negative examples:
input: Sentence: 'a man driving a van full of luggage as people watch on the sideline'. How many words contain the letter 'h' in the sentence.
output: 3
explanation: Words 'watch', and 'the' contain the letter 'h'. So, the answer should have been 2 and not 3.
Task: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the numerical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no numerical element is in the list.
Categories: Program Execution
Domains: Mathematics

Positive examples:
input: 238; h; 92; U; 2799
output: 1, 3, 5
explanation: Here, the numerical elements in the input list are '238', '92' and '2799' and they are at positions '1', '3', and '5', respectively.; input: A; l; l; E; n
output: -1
explanation: Since there are no numerical elements in the input list, we return '-1'.

Negative examples:
input: 7475; B; 2459; m; 8349; O; q
output: 2, 4, 6
explanation: Here, the answer should have been '1, 3, 5' as the numerical elements in the input list are '7475', '2459', and '8349' and their positions in the list are '1', '3', and '5'.; input: 75; 54; J; L; 2332; Z; e; 366
output: 1, 2, 5
explanation: Here, the answer should have been '1, 2, 5, 8' as the numerical elements in the input list are '75', '54', '2332', and '366' and their positions in the list are '1', '2', '5', and '8'.
Task: In this task, you are given a public comment from online platforms. You are expected to classify the comment into two classes: insult and non-insult. Insult is any lanugage or act that is disrespectful or scornfully abusive.
Categories: Toxic Language Detection
Domains: Social Media

Positive examples:
input: Comment: your posts shows you are stupid period
output: Insult
explanation: This comment is insult because it is scornful and disrespectful.; input: Comment: Would you have blamed the Jews for what the Nazis did to them?
output: Non-insult
explanation: This comment is not an insult because it does not disrespect any group, although the question phrased might be controversial.; input: Comment: Your guy kirk tried to raise gas tax last year! So you agreeing he is a idiot
output: Insult
explanation: This is a correct answer, because the comment is disrespectful.

Negative examples:
input: Comment: LOL
output: Insult
explanation: LOL is an acronym of laugh out loud and is not an insult. This is not a correct answer.; input: Comment: Patience, jackass, patience.
output: Non-insult
explanation: This comment contains explicit targetted language and is considered insult. his is not a correct answer.; input: Comment: Actually it is more likely she would be forced to abort rather than prohibited. The fetus once aborted would be disposed of, but the child would be living proof of the rape.
output: Insult
explanation: This is an incorrect answer. There is no insult in the given comment.
Task: 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.
Categories: Text to Code
Domains: Computer Science -> Machine Learning

Positive examples:
input: jump left
output: I_TURN_LEFT I_JUMP
explanation: The agent must first turn left and then jump in order to jump to the left.; input: jump around right
output: I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
explanation: The agent must turn right and jump four times in a row to circle back to its original position.; input: turn around left and look right twice
output: I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_LEFT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK
explanation: The agent must turn to the left four times and then alternate between turning right and looking twice.

Negative examples:
input: jump right
output: I_JUMP I_TURN_RIGHT
explanation: The agent cannot jump and then turn to the right in order to jump to the right. To jump and then turn to the right, the command will tell the agent to 'jump and turn right'. The correct output is 'I_TURN_RIGHT I_JUMP'.; input: jump around left
output: I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP I_TURN_RIGHT I_JUMP
explanation: Although the agent is back at its original position, it did not properly follow directions by turning to the right to jump around on the left side.
Task: In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
Categories: Misc.
Domains: Commonsense -> Concepts and Relations
Reasoning: Commonsense Reasoning -> Numerical Commonsense Reasoning

Positive examples:
input: 14/25/1405
output: 0
explanation: It is an invalid date as the month(mm) is 14 which does not lie in the range 1 to 12.; input: 07/29/1617
output: 1
explanation: It is a valid date as month(mm), day(dd) and year(yyyy) are all valid.

Negative examples:
input: 04/27/2045
output: 0
explanation: It is a valid date as month(mm), day(dd) and year(yyyy) are all valid; input: 07/33/2069
output: 1
explanation: It is an invalid date as the day(dd) is 33 which is invalid as it does not lie in the range 1 to 31 as month(mm) 07 has 31 days.
Task: Categorize the comment on the basis of obscenity. If the comment is obscene output Yes, otherwise output No.
Categories: Toxic Language Detection
Domains: Dialogue; Social Media
Reasoning: Commonsense Reasoning -> Social Situations

Positive examples:
input: Will this remove the property from city taxes?
output: No
explanation: The comment here is just a normal question without any indecent words and categorized as not obscene. Hence, it is a positive example; input: hahahahahahahahhha suck it.
output: Yes
explanation: The comment uses immoral and indecent words and is categorized as obscene. Therefore, this is a positive example.

Negative examples:
input: FFFFUUUUUUUUUUUUUUU
output: No
explanation: The comment is abbreviation of indecent word, but classified as not obscene. Therefore, this is a negative example.; input: ur a sh*tty comment
output: Yes
explanation: The comment has '*' in an indecent remark which makes it to be classified as not obscene, while the word 'shitty' should be classified as obscene. Therefore, this is a negative example.
Task: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the count of all the numerical elements in the given list. Return 0 if no numerical element in the list.
Categories: Program Execution
Domains: Mathematics
Reasoning: Mathematics -> Counting

Positive examples:
input: 238; h; 92; U; 2799
output: 3
explanation: Here, the numbers in the input list are '238', '92' and '2799', hence their count is 3.; input: U; 6923; y; m; v; 345; Y; 87667; E; 6059; p
output: 4
explanation: Here, the numbers in the input list are '6923', '345', '87667', and '6059', hence their count is 4.

Negative examples:
input: 7475; B; 2459; m; 8349; O; q; Y; f
output: 2
explanation: Here, the answer should have been '3' as the numbers in the input list are '7475', '2459', and '8349', hence their count is 3.; input: 75; 54; J; L; 2332; Z; e; 366
output: 3
explanation: Here, the answer should have been '4' as the numbers in the input list are '75', '54', '2332', and '366', hence their count is 4.
Task: Categorize the following sentence into one of the five different emotions: anger, confusion, joy, sadness and neutral.
Categories: Sentiment Analysis
Domains: Narrative; Dialogue
Reasoning: Reasoning on Social Interactions

Positive examples:
input: I KILL YOU SCUM.
output: anger
explanation: The sentence expresses the emotion - anger by mentioning about killing someone. So, the output is anger.; input: I read the Wikipedia and I'm even more confused now.
output: confusion
explanation: The sentence expresses the emotion - confusion by mentioning that the author is even more confused. So, the output is confusion.; input: I very happy with my character. I took my sweet ass time picking one that I liked.
output: joy
explanation: The author states that he is very happy, which is an expression of joy. So, the output is joy.; input: I was suffering a delirium flu during the phantom facemask game so it's all sorts of suffering for me.
output: sadness
explanation: The sentence expresses the emotion - sadness by mentioning about the suffering the author had. So, the output is sadness.; input: Those are some fine looking pills.
output: neutral
explanation: The sentence doesn't express any emotion as it is just a normal statement. So, the output is neutral.

Negative examples:
input: I enjoyed this TED talk.
output: anger
explanation: The sentence expresses joy as it states the author enjoyed the TED talk. So, the output should be joy instead of anger.; input: I miss being practically jello as a kid
output: confusion
explanation: This sentence expresses sadness by mentioning about missing something. So, output sadness instead of confusion.
Task: In this task, you will be given a short story or summary of a situation which is called a premise. Your task is to generate a question based on the given premise. The generated question (i) must be unambiguous, (ii) must be relevant to the premise, (iii) should require commonsense reasoning to get answered. You should not use any outside knowledge to generate the question.
Categories: Question Generation
Domains: Movies; Narrative

Positive examples:
input: The small triangle was angry at the big triangle. The big triangle ran away
output: Why did the big triangle ran away?
explanation: The output question can be answered by reading the input premise. Also, the question lies within the context of the premise. So, it is a good question.; input: The circle was laughing at the small triangle as the small triangle is cracking jokes.
output: Why is the circle laughing?
explanation: The output question can be answered by reading the input premise. Also, the question lies within the context of the premise. So, it is a good question.

Negative examples:
input: The big triangle gave a chocolate to the small triangle, and the small triangle was happy.
output: what did the circle do
explanation: The output question cannot be answered by reading the input premise. Also, the question does not lie within the context of the premise. So, it is a bad question.; input: The circle and big triangle were playing a game and the small triangle is sleeping
output: what game do the big triangle and circle were playing?
explanation: The output question cannot be answered by reading the input premise even the question lies within the context of the premise. So, it is a bad question.
Task: In this task, you are given a question and an answer. Answer "Yes" if the given answer correctly answers the question, otherwise answer "No".
Categories: Answer Verification
Domains: Wikipedia

Positive examples:
input: what latitude is tropic of cancer, Answer: It currently (Year 2013) lies at 23° 26′ 15.143′′ north of the Equator.
output: Yes
explanation: This is a good example, and the given answer correctly answers the question.; input: how big did girl scout cookie boxes used to be, Answer: There are also unit incentives if the unit as a whole does well.
output: No
explanation: The question asks about the size of the cookie boxes, and the given answer doesn't answer this question. So, the output should be "No".; input: what are dialysis tubes, Answer: Dialysis tubing is a type of semi- or partially permeable membrane tubing made from regenerated cellulose or cellophane .
output: Yes
explanation: The given answer is correct. So, the output should be "Yes".

Negative examples:
input: what kind of cut is tri tip, Answer: The tri-tip is a cut of beef from the bottom sirloin primal cut .
output: No
explanation: The given answer is correct. So, the output should be "Yes".; input: how are sheep slaughtered, Answer: Slaughter is the killing of animals , usually that of domestic livestock for food .
output: No, it's not correct.
explanation: Although the given answer is incorrect, you need to just answer with "Yes" or "No". So, "No" is the correct output.
Task: Given an object and a part, decide whether the object has that part. For example if you are asked 'gun has barrel?', you need to decide if a gun has a barrel as one of its components or parts, indicating 1 or 0 as your answer respectively. All sentences strictly follow the template 'object has part?.'
Categories: Word Relation Classification
Domains: Miscellaneous
Reasoning: Reasoning on Objects

Positive examples:
input: truck has gasoline?
output: 1
explanation: Trucks have gasoline, which plays the role of fuel in them, therefore the output of 1 is correct.; input: television has sleeve?
output: 0
explanation: The output is correct because televisions do not have sleeves in them, thus 0 is correct.

Negative examples:
input: pig has fabric?
output: 1
explanation: The output is incorrect as pigs do not have fabric. The correct output would be 0.; input: battleship has crew?
output: 0
explanation: The output is incorrect because battle ships have crew in them to operate the ship. The output should be 1 instead.
Task: Predict the next word given an incomplete English Sentence.
Categories: Text Completion
Domains: Books
Reasoning: Abductive Reasoning

Positive examples:
input: How is it
output: going?
explanation: Given the partial English sentence 'How is it', the user has generated 'going?' as an output. This is an excellent example because 'How is it going?' is a common phrase in English Langauge.; input: United states is a
output: country.
explanation: This is a good example because the user broke up an English fact.

Negative examples:
input: Once up on a
output: Lorry
explanation: This is a bad example because we need to predict 'time' as the next word to the given sentence, but we have predicted 'Lorry'; input: How the contry has
output: 23
explanation: This is a bad example because we need to predict 'changed' as the next word to the given sentence, but we have predicted '23'
Task: In this task, you are given a text which is the body of a document. You are given a question and options. Pick the correct number. Don't generate anything else apart from the numbers provided in options.
Categories: Text Categorization
Domains: Wikipedia

Positive examples:
input: Text: The Mansfield Building Society is a UK building society which has its headquarters in Mansfield Nottinghamshire. It is a member of the Building Societies Association. 
Question: The document can be classified to which topic? Options: 1)Animal, 2)Plant, 3)Building, 4)Company, 5)WrittenWork
output: 3
explanation: Mansfield Building Society is a UK building society. Hence, option 3 is the correct answer; input: Text:  The third and current HMS Argyll is a Type 23 'Duke' Class frigate. She is currently the oldest serving Type 23 frigate in the Royal Navy. Like all of her class she is named for a British dukedom in this case that of Argyll. 
Question: The document can be classified to which topic? Options: 1)Animal, 2)MeanOfTransportation, 3)Building, 4)Company, 5)WrittenWork
output: 2
explanation: From the given text, HMS Argyll is a frigate which can be classified under MeanOfTransportation. Hence, option 2 is correct.

Negative examples:
input: Text: The Mansfield Building Society is a UK building society which has its headquarters in Mansfield Nottinghamshire. It is a member of the Building Societies Association. 
Question: The document can be classified to which topic? Options: 1)Animal, 2)Plant, 3)Building, 4)Company, 5)WrittenWork
output: No
explanation: The output should be a number from 1-5 as there are 5 options. Hence, it is an incorrect answer.; input: Text:  The third and current HMS Argyll is a Type 23 'Duke' Class frigate. She is currently the oldest serving Type 23 frigate in the Royal Navy. Like all of her class she is named for a British dukedom in this case that of Argyll. 
Question: The document can be classified to which topic? Options: 1)Animal, 2)Plant, 3)Building, 4)Company, 5)WrittenWork
output: 5
explanation: From the given text, HMS Argyll is a frigate which can be classified under MeanOfTransportation. Hence it is a wrong answer.
Task: You are given a math word problem and you are supposed to apply an addition mathematical operator on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Categories: Question Answering
Domains: Mathematics
Reasoning: Numerical Reasoning; Quantitative Reasoning; Mathematics -> Arithmetic

Positive examples:
input: Context: 21 children were riding on the bus. At the bus stop 5 children got off the bus while some more got on the bus. Then there were 16 children altogether on the bus. 

 Question: How many children got on the bus at the bus stop?
output: 0
explanation: Number of children who got on -> 21 - 5 + x = 16 , x = 0, hence no one got onto the bus; input: Context: 7 red apples, 15 yellow apples and 8 green apples are in the basket. 

 Question: How many apples are in the basket?
output: 30
explanation: Total Number of apples in the basket is 7 + 15 + 8 = 30 

Negative examples:
input: Context: A basket has 6 red apples, 5 green apples and 3 peaches. 

 Question: How many apples are there in the basket ?
output: 14
explanation: As the questions asks number of apples, the answer is 6+5 = 11. ; input: Context: Together Adam and Tom have 12 apples. Sam has 9 apples more than Adam and Tom together do. Adam has 8 more apples than Jackie. 

 Question: How many apples does Sam have?
output: 29
explanation: Sam has 9 apples more than Adam and Tom combines and they have 12 apples, hence Sam as 21 apples.
Task: In this task you will be given an arithmetic operation and you have to find its answer. The symbols of operators '+' and '-' has been swapped i.e you need to perform subtraction when you see a '+' symbol and  addition in case of '-' symbol.
Categories: Mathematics
Domains: Mathematics
Reasoning: Numerical Reasoning; Quantitative Reasoning; Mathematics -> Arithmetic

Positive examples:
input: 5 + 3
output: 2
explanation: Here, '+' represents subtraction operation. So, the answer is 2 (5-3=2).; input: 15 - 23 + 3
output: 35
explanation: Here, '+' represents subtraction operation and '-' represents addition operation. So, the answer is 35 (15+23-3=35).

Negative examples:
input: 2 + 4
output: 6
explanation: Here, '+' represnet subtraction operation. So, the answer should have been -2 as 2-4=-2 instead of 6.; input: 7 - 3
output: 4
explanation: Here, '-' represnet addition operation. So, the answer should have been 10 as 7+3=10, and not of 4.