ceselder/lots-of-loras-task-definitions huggingface dataset:
Task: In this task, you are given a text from a social media post. Your task is to classify the given post into two categories: 1) yes if the given post is potentially offensive to anyone (i.e., a subset of people, any particular person, etc.), 2) no, otherwise. Note that potentially offensive posts can contain sexual, racial, religious biased or offensive language. Warning: the examples and instances may contain offensive language.
Categories: Toxic Language Detection
Domains: Social Media -> Twitter
Reasoning: Reasoning on Social Interactions

Positive examples:
input: #RPDR FUCKING FARRAH MOAN, HAVE YOU NEVER WATCHED THIS SHOW. WHEN YOU GET THE CALL, TAKE A LESSON.
output: Yes
explanation: (Correct Answer) This post is aggressive and berates a person for not having watched a show. Therefore the correct answer is 1/Potentially Offensive.; input: I literally didn't even plan to live this long enough to experience aftershocks , I'm so scared of losing important things in my life ☹️
output: No
explanation: (Correct Answer) This post does not intend to offend and does not have any elements that make it offensive.; input: to look at the bigger picture and see what this stupid and impulsive action done by our president means for us, what happens next?
output: Yes
explanation: (Correct Answer) This post is aggressive and is politically charged. Therefore the correct answer is 1/Potentially Offensive.; input: @ConanOBrien dat is one ugly animal but da monkey is adorable.
output: No
explanation: (Correct Answer) Although the post uses the word "ugly", it is not offensive to any poeple.

Negative examples:
input: My sky sports news ain't working so I've gotta listen to that fucking clown Saunders &#128584;&#128584;&#128534;
output: No
explanation: (Incorrect Answer) This post is aggressive and is politically charged. Therefore the correct answer is 1/Potentially Offensive.; input: We will always be going through it. But bitterness will assure that you will go through it humanly alone.
output: Yes
explanation: (Incorrect Answer) This post does not intend to offend and does not have any elements that make it offensive.; input: Temp: 59.9°F Wind:4.5mph Pressure: 30.03mb Falling slowly Rain Today 0.00in. Forecast: Unsettled, precipitation later
output: Yes
explanation: (Incorrect Answer) This post does not intend to offend and does not have any elements that make it offensive.; input: I hate all these safe spaces that people think they need. How about just live life? Oh, someone offended you! Do you know what you can
output: No
explanation: (Incorrect Answer) This post is aggressive and ridicules the concept of safe spaces, a community where one can be free of judgment. Therefore the correct answer is 1/Potentially Offensive.; input: "@Itsyesie: #oomf is soooo cute. But he probably has hoes on him a lot."
output: Yes
explanation: (Incorrect Answer) This post has offensive words, but it is not explicitly offensive towards someone. So the answer is No.
Task: In this task, you are given an answer, and your task is to generate a reasonable question for that answer.
Categories: Question Generation
Domains: Dialogue
Reasoning: Commonsense Reasoning

Positive examples:
input: My stomach will be upset if i eat that.
output: Do you like pineapple on your pizza?
explanation: The answer given was regarding something that the person ate and it caused his stomach upset. The question asked was if that person likes pineapple on pizza. Based on the given answer, the question was predicted correctly.; input: I forget that people are watching and go for it when I hear a good song.
output: Do you like to dance to music?
explanation: The answer given was that the person likes to dance when he hears a good song. The question asked was if he liked to dance to music. As these two are related, based on the given answer, the question was predicted correctly.

Negative examples:
input: I bought a villa today.
output: Hasn't time flown by?
explanation: The question and answer are not related. The question is regarding the time that passed off while the answer is regarding a villa. Based on the given answer, the question was predicted incorrectly.; input: We're definitely not five anymore.
output: Would you like to live downtown?
explanation: The answer was regarding some count while the question asked was if the other person likes to live at someplace. Based on the given answer, the question was predicted incorrectly.
Task: In this task, you are given a list of integers and an integer k. You need to add integer k to each element in the list and return the updated list.
Categories: Program Execution
Domains: Mathematics
Reasoning: Mathematics -> Arithmetic

Positive examples:
input: [100, 291, 285, 281, 151, 189, 220, 235, 288, 160, 233, 198, 294, 269, 162, 152, 217, 247, 98, 145] k=14
output: [114, 305, 299, 295, 165, 203, 234, 249, 302, 174, 247, 212, 308, 283, 176, 166, 231, 261, 112, 159]
explanation: 14 is added to all the elements of the input list.; input: [11, 153, 59, 44, 176, 35, 29, 241, 197, 128, 82, 293, 186, 52, 97, 54, 80, 230, 30, 238] k=19
output: [30, 172, 78, 63, 195, 54, 48, 260, 216, 147, 101, 312, 205, 71, 116, 73, 99, 249, 49, 257]
explanation: 19 is added to all the elements of the input list.

Negative examples:
input: [24, 253, 288, 205, 119, 61, 243, 48, 218, 299, 63, 74, 127, 203, 29, 151, 196, 81, 244, 233] k=19
output: [24, 253, 288, 205, 119, 61, 243, 48, 218, 299, 63, 74, 127, 203, 29, 151, 196, 81, 244, 233]
explanation: 19 is not added to any of the elements in the input list.; input: [154, 151, 268, 86, 192, 108, 170, 204, 163, 109, 142, 107, 240, 203, 77, 249, 45, 141, 28, 18] k=16
output: [154, 167, 284, 102, 192, 124, 186, 220, 245, 125, 158, 123, 347, 219, 93, 265, 68, 157, 44, 34]
explanation: 16 is not added to all the elements of the input list.
Task: In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Categories: Program Execution
Domains: Code; Mathematics
Reasoning: Mathematics -> Arithmetic

Positive examples:
input: [2, 5, 9, 6, 11]
output: [2, 5, 11]
explanation: 6 and 9 are removed from the list because they are divisible by 3.; input: [0, 3, 12, 0, 3, 9]
explanation: Every value in the input list is divisible by 3 so an empty list is returned.

Negative examples:
input: [7, 0, 8, 3, 7, 15]
output: [0, 3, 15]
explanation: The output contains only the integers that are divisible by 3 from the input.; input: [6, 4, 11, 13, 6, 9]
output: [6, 9]
explanation: The output only included one instance of the element 6, even though it appears two times in the input list.
Task: In this task, you will be shown a short story with a beginning, two potential middles, and an ending. Your job is to choose the middle statement that makes the story incoherent / implausible by indicating 1 or 2 in the output. If both sentences are plausible, pick the one that makes less sense.
Categories: Coherence Classification
Domains: Commonsense -> Stories
Reasoning: Commonsense Reasoning; Abductive Reasoning

Positive examples:
input: Beginning: Butch had a really old computer. Middle 1: Butch decided to order a new computer online. Middle 2: Butch noticed that a storm was approaching to his town. Ending: It arrived and Butch was much happier.
output: 2
explanation: People generally don't feel happy about natural disasters like storms. Therefore, we choose 2 in this case.; input: Beginning: John was on the trail running. Middle 1: John accelerated the speed and broke his leg accidentally. Middle 2: John was chased by a bear. Ending: He ran even faster until he got to his car safely.
output: 1
explanation: When someone breaks his/her leg, it is difficult to run. Therefore, we choose 1 in this case.; input: Beginning: Gina was putting posters on her bedroom walls. Middle 1: Gina wanted to match the colorful posters. Middle 2: Gina ripped the poster on accident. Ending: Gina decided she would wear more colorful clothing.
output: 2
explanation: In this example, both Middle sentences sound plausible, but the first one is MORE plausible as a story. Therefore, we choose 2 in this case.

Negative examples:
input: Beginning: Mary's mom came home with more bananas than they could possibly eat. Middle 1: Mary and her mom decided to make chocolate covered frozen bananas to avoid waste. Middle 2: So Mary made pineapple splits for everyone. Ending: That was the best way ever to eat a banana!
output: 1
explanation: The story talks about bananas, so discussion of pineapples makes the story incoherent. Therefore, we should not choose 1 in this case.; input: Beginning: Jon decided to steal a police car. Middle 1: Jon crashed the police car into a telephone poll. Middle 2: Jon wasn't caught. Ending: Jon went to prison for three years.
output: 1
explanation: If a person is not caught committing a crime, they cannot go to prison. Therefore, we should not choose 1 in this case.
Task: Given a review text from amazon and its polarity (either positive or negative). Generate answer "True" if given sentence and its polarity match, otherwise generate answer "False". A review is considered positive if the reviewer is satisfied with the product. Otherwise, it is considered negative.
Categories: Sentiment Analysis
Domains: Reviews -> Electronics and Grocery

Positive examples:
input: Review: Easy product to install. No fuss. Plug it in. It is out of sight behind a couch. I am satisfied. 
 Polarity: Positive
output: True
explanation: Customer is satisfied with the product. Therefore, it has positive polarity.; input: Review: This movie was awesome! The picture and sound quality were top notch as well as the bonus content. Definitely worth every cent. 
 Polarity: Positive
output: True
explanation: It is positive review because the review writer liked the movie and its quality.; input: Review: Was hoping that this drive would run off of bus power, but it required the adapter to actually work. :( I sent it back. 
 Polarity: Positive
output: False
explanation: It is a negative review because the reviewer didn't like the product and he/she returned it.

Negative examples:
input: Review: I am a huge Nirvana fan I have been one ever since 1990 when I first listened to Bleach. If you are die hard like me you will not like this album, you probably already have all the songs on this album so don't waste your money. The only reason I would recommend someone to but this album is if they did not buy the box set. I wish I had my $10.00 back. 
 Polarity: Positive
output: True
explanation: This review is negative review. Since it says that album is not necessary to buy.; input: Review: I should have read what the cd was about. I thought it was just music by Chopin but it was really a lot of soprano singing. 
 Polarity: Positive
output: True
explanation: This is a negative review. Because the product is different from actual.; input: Review: A wonderful drama of the unfolding of two lives... Read the book, too. Not for the shallow-minded. 
 Polarity: Positive
output: False
explanation: This is a positive review. It says that the book is wonderful and recommend others to read it.
Task: In this task, you will be presented with a question and you have to answer the question based on your knowledge. Your answers should be as short as possible.
Categories: Question Answering
Domains: Wikipedia

Positive examples:
input: Who were the builders of the mosque in Herat with fire temples ?
output: Ghurids
explanation: This is a good example. Ghurids were the builders of the mosque in Herat with fire temples.; input: What role did the author of Matilda serve during wartime ?
output: fighter pilot
explanation: Author of Matilda is Roald Dahl, and during the Second World War Dahl was a fighter pilot.

Negative examples:
input: Who was the writer of the 2009 film in which Jamie Chung played Chi Chi ?
output: James Wong
explanation: Jamie Chung played Chi Chi in Dragonball Evolution whose writer was Ben Ramsey.; input: Who was the writer of the 2009 film in which Jamie Chung played Chi Chi ?
output: Ben Ramsey was the writer of the film.
explanation: Although the answer is correct here, your answers should be as short as possible, so this answer is not acceptable. You should write "Ben Ramsey".
Task: In this task, you are given a sentence. You are expected to recognize the name of gene or protein. Although there might be several correct answers, you need to write one of them.
Categories: Named Entity Recognition
Domains: Biology -> Bioinformatics

Positive examples:
input: Sox - 4 is important for very early B - cell differentiation , while TCF - 1 / LEF - 1 play a crucial role in early thymocyte development 
output: TCF - 1
explanation: The gene, TCF - 1 has been tagged as protein since it plays a crucial role in early thymocyte development.; input: Inhibition of cPLA2 translocation and leukotriene C4 secretion by fluticasone propionate in exogenously activated human eosinophils.
output: cPLA2
explanation: The gene, cPLA2 has been tagged as protein.; input: The NF - kappaB / Rel family represents one signal transduction pathway induced during such activation .
output: NF - kappaB
explanation: NF - kappaB, protein transcription factor, should be tagged.

Negative examples:
input: Sox - 4 is important for very early B - cell differentiation , while TCF - 1 / LEF - 1 play a crucial role in early thymocyte development
output: thymocyte
explanation: Thymocytes are the immune cells present in the thymus, before it undergoes transformation into a T cell. Therefore, it should not be tagged as gene. The correct answer is TCF - 1.; input: O5257 shows homology with the SAS2 protein and another hypothetical protein from yeast .
output: protein
explanation: It is expected to return the entire phrase of SAS2 Protein as protein mention, instead of only protein.
Task: In this task, you will be shown a sentence, and you should determine whether it is overruling or non-overruling. In law, an overruling sentence is a statement that nullifies a previous case decision as a precedent by a constitutionally valid statute or a decision by the same or higher ranking court which establishes a different rule on the point of law involved. Classify your answers into overruling or non-overruling
Categories: Text Categorization
Domains: Law

Positive examples:
input: 876 f.3d at 1306.
output: non-overruling
explanation: It's a good example. This sentence doesn't overrule any law, So it's non-overruling.; input: we disapprove cooper and craven to the extent that they may be read to conflict.
output: overruling
explanation: The word "disapprove" shows that cooper and craven case isn't valid anymore and it's a overruling sentence.; input: the analysis below is included to satisfy our own, independent obligation to ensure that we have jurisdiction.
output: non-overruling
explanation: It's a good example. This sentence doesn't overrule any law, So it's non-overruling.

Negative examples:
input: my colleagues argue that their imposition of sua sponte estoppel avoids ""unnecessary judicial waste.""
output: overruling
explanation: This sentence doesn't overrule any rule, So it is incorrect.; input: for the reasons that follow, we approve the first district in the instant case and disapprove the decisions of the fourth district.
output: non-overruling
explanation: This sentence disapproves the decisions of the fourth district, So It's overruling.
Task: In this task, you're given the middle and ending of a three-part story. Your job is to complete the short story by writing a probable beginning of the story. Generated sentences must be short, have fewer than 10 words, and be simple as if narrating to a child. Avoid using any irrelevant extra information when creating the beginning, and use names (e.g. Jack, Barbara,...) instead of pronouns (e.g. he / she) wherever possible.
Categories: Story Composition
Domains: Commonsense -> Stories
Reasoning: Temporal Reasoning; Commonsense Reasoning; Abductive Reasoning; Textual Entailment -> Abductive Reasoning

Positive examples:
input: Middle: Helen planned to drive to Canada but it started snowing heavily. Ending: Helen stayed home instead and planned to go another day.
output: Helen lived in America.
explanation: Mention of the destination country name and driving implies that Helen is from a nearby foreign country.; input: Middle: Mary and her mom decided to make chocolate covered frozen bananas to avoid waste. Ending: That was the best way ever to eat a banana!
output: Mary's mom came home with more bananas than they could possibly eat.
explanation: The story talks about making a dish with bananas to prevent wastage, implying that there are too many bananas.; input: Middle: Joyce forgot about it and the fruit became stale. Ending: Joyce threw the fruit away.
output: Joyce bought some fruit a week ago.
explanation: Fruit takes a few days to go stale.

Negative examples:
input: Middle: The earthquake damaged suspension cables on the Golden Gate Bridge. Ending: No traffic was allowed on the bridge for a week.
output: There was a severe hailstorm in Dallas.
explanation: The Golden Gate bridge is in San Fransisco, and a hailstorm is unrelated to the earthquake.; input: Middle: Many of her classmates were at the picnic. Ending: Anna was very hungry when she came home.
output: She wanted to eat lunch with her classmates.
explanation: The sentence makes sense, but it's better to use names, especially when they're used as the first reference to a person. The correct answer can be: "Anna wanted to eat lunch with her classmates.".
Task: In this task, you are given an app review. Your task is to identify whether its sentiment is "Positive" or "Negative".
Categories: Sentiment Analysis
Domains: Reviews

Positive examples:
input: Fantastic app! When I connect my BT headset  I have it set to read important notifications - add that to Google Now's                 ability to create texts  reminders and calendar events  and my $20 headset has all the functionality of a smartwatch.                     Kudos to the developer!
output: Positive
explanation: There is an expression of happiness in this text. Hence, it is Positive; input: Sucks On Honor 6  does not work.
output: Negative
explanation: There is an expression of sadness and anger in this text. Hence, it is Negative

Negative examples:
input: Does nothing Worthless app does nothing
output: Positive
explanation: There is an expression of sadness in this text but it is labeled as Positive. It should be Negative; input: Great application Work's well with my ZenFone 5
output: Negative
explanation: There is an expression of happiness in this text but it is labeled as Negative. It should be Positive
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 alphabetical elements in the given list. Return 0 if no alphabetical element in the list
Categories: Program Execution
Domains: Mathematics
Reasoning: Mathematics -> Counting

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

Negative examples:
input: 7475; B; 2459; m; 8349; O; q; Y; f
output: 2
explanation: Here, the answer should have been '6' as the alphabetical elements in the input list are 'B', 'm', 'O', 'q', 'Y', and 'f', hence their count is 6.; input: 75; 54; J; L; 2332; Z; e; 366
output: 3
explanation: Here, the answer should have been '4' as the alphabetical elements in the input list are 'J', 'L', 'Z', and 'e', hence their count is 4.
Task: In this task, you will be presented with a question, a word, and a POS tag. You have to determine whether the part-of-speech tag of the given word in the question is equal to the given POS tag or not. Give your answer with True or False. Here is the Alphabetical list of part-of-speech tags used in this task: CC: Coordinating conjunction, CD: Cardinal number, DT: Determiner, EX: Existential there, FW: Foreign word, IN: Preposition or subordinating conjunction, JJ: Adjective, JJR: Adjective, comparative, JJS: Adjective, superlative, LS: List item marker, MD: Modal, NN: Noun, singular or mass, NNS: Noun, plural, NNP: Proper noun, singular, NNPS: Proper noun, plural, PDT: Predeterminer, POS: Possessive ending, PRP: Personal pronoun, PRP$: Possessive pronoun, RB: Adverb, RBR: Adverb, comparative, RBS: Adverb, superlative, RP: Particle, SYM: Symbol, TO: to, UH: Interjection, VB: Verb, base form, VBD: Verb, past tense, VBG: Verb, gerund or present participle, VBN: Verb, past participle, VBP: Verb, non-3rd person singular present, VBZ: Verb, 3rd person singular present, WDT: Wh-determiner, WP: Wh-pronoun, WP$: Possessive wh-pronoun, WRB: Wh-adverb
Categories: Pos Tagging
Domains: Wikipedia

Positive examples:
input: Who were the builders of the mosque in Herat with fire temples ? 
, Word: Who 
, POS tag: IN
output: False
explanation: This is a good example. POS tag of who should be WP(Wh-pronoun), and not IN(Preposition).; input: What is the borough in which Kia Oval is located ? 
, Word: is 
, POS tag: VBZ
output: True
explanation: Based on the given question, "is" is a 3rd person singular present verb and Its POS tag is VBZ.

Negative examples:
input: After what season did the number 7 competitor retire ? 
, Word: 7 
, POS tag: NN
output: True
explanation: 7 is a cardinal number, and Its POS tag should be CD, so the output should be False.; input: After what season did the number 7 competitor retire ? 
, Word: 7 
, POS tag: NN
output: Wrong
explanation: Only "True" or "False" are allowed, and you can't use any other word here.
Task: 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.
Categories: Program Execution
Domains: Code -> Repo -> Stack Overflow
Reasoning: Numerical Reasoning; Quantitative Reasoning; Mathematics -> Arithmetic

Positive examples:
input: [-11, 2, 3]
output: -11
explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.; input: [-4,-200,19,20,200]
output: 200
explanation: -200 and 200 have the same absolute value and the positive element, 200, was returned. This is a good example.

Negative examples:
input: [10,-8,-9.9, 1]
output: -9.9
explanation: The element 10 has a larger absolute value than -9.9: 10 > 9.9.; input: [-15,10,3,-7,-2]
output: 15
explanation: The element -15 has the largest absolute value but the absolute value was returned. The element itself, not the absolute value should be returned.; input: [-900,-500,1]
output: 1
explanation: The largest value, 1, was returned but the largest absolute value needs to be returned.