ceselder/lots-of-loras-task-definitions huggingface dataset:
Task: In this task, you are given a sentence and a gender. The sentence mentions two professions: one's gender is unknown and the other's gender can be identified using the gendered pronouns that refer to them in the text. You are expected to return the profession with the given gender.
Categories: Gender Classification
Domains: Miscellaneous

Positive examples:
input: Sentence: The chief refused to help the attendant with the car because that was his job.
 Gender: male
output: Attendant
explanation: The pronoun "he" is linked to the attendant rather than the chief.; input: Sentence: The carpenter had to hire the assistant because she had many new customers.
 Gender: female
output: Carpenter
explanation: The pronoun "she" is linked to the carpenter rather than the assistant.

Negative examples:
input: Sentence: The salesperson met with the counselor because he wanted to buy merchandise.
 Gender: male
output: Salesperson
explanation: The salesperson's gender is unknown. The counselor is a male because the pronoun "he" is linked with the counselor.; input: Sentence: The librarian helped the CEO to find the book because it is his job.
 Gender: male
output: CEO
explanation: The CEO's gender is unknown. The librarian is a male because the pronoun "his" is linked to the librarian.
Task: Given a sentence in English, provide an equivalent paraphrased version from the original that retains the same meaning.
Categories: Paraphrasing
Domains: Wikipedia

Positive examples:
input: The NBA season of 1975 -- 76 was the 30th season of the National Basketball Association .
output: The 1975 -- 76 season of the National Basketball Association was the 30th season of the NBA .
explanation: The paraphrase of the original sentence in English is correct and accurate because even though sentence order has been changed, the denotion that the 30th season of the NBA occurred in the years 1975 - 1976 is retained.; input: When comparable rates of flow can be maintained , the results are high .
output: The results are high when comparable flow rates can be maintained .
explanation: This is a proper paraphrase of the original sentence in English because the main idea that results are high only in the condition that comparable flow rates is maintained.

Negative examples:
input: In Paris , in October 1560 , he secretly met the English ambassador , Nicolas Throckmorton , asking him for a passport to return to England through Scotland .
output: In October 1560 , he secretly met with the English ambassador , Nicolas Throckmorton , in Paris , and asked him for a passport to return to Scotland through England .
explanation: The example is not considered a proper paraphrase of the original sentence in English because the through and destination locations are flipped - Scotland and England, respectively.; input: There are also specific discussions , public profile debates and project discussions .
output: There are also public discussions , profile specific discussions , and project discussions .
explanation: This example does not constitute a proper paraphrase of the original sentence in English because the descriptors of the nouns ("specific", "public") are swapped, and the sentence is missing any reference to debates as it has been replaced with discussions.
Task: The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the other-need strategy, otherwise output No. other-need is a selfish negotiation strategy. It is used when the participants discuss a need for someone else rather than themselves. For instance, describing the need for firewood to keep the kids warm.
Categories: Negotiation Strategy Detection
Domains: Dialogue

Positive examples:
input: Context: 'I was hoping to get alot of water as well, would you be ok with me getting two waters and three firewoods if you get all the food and one water?' 'Hmm, that's not favorable for me going by the volume of items left in my arsenal. Water is more of a higher priority than food. So, I would exchange 1 pack of food for an additional water' 'So that way you would get two waters and two foods? Those are my priorities as well but i would be ok with it since that way i would get five items and you would get only four.'
Utterance: 'Those are your priorities?? Then that's not fair for you. Then I take 2 water, 1 firewood and 1 food. This is the lowest I can offer'
output: No
explanation: This is correct. The participant does not create a specific need for anybody.; input: Context: 'I am doing okay but am in need of some supplies. What about you?' 'Same here. My kids are really looking forward to this. What is most important to you?' 'Firewood! I need it to cook my food and also to stay warm. What about you?'
Utterance: 'That is the same for me as well. My kids were really looking forward to making s'mores and telling stories by the campfire. That's all they've been talking about'
output: Yes
explanation: In this utterance, the participant uses other-need by mentioning the needs of their kids.

Negative examples:
input: Context: 'Hi! How are you doing today?' 'I'm fine. And yourself?' 'Pretty good. I'm really excited about going camping though!'
Utterance: 'Me too. I haven't been camping for several years. '
output: Yes
explanation: There is no need created here. So the correct answer is 'No'.; input: Context: 'Hi, I hope we can work together to get an offer that benefits both of us.🙂'
Utterance: 'I agree! Nice to meet you... I have two boys who always eat! Any chance I canget 2 food?'
output: No
explanation: The participant mentions that their boys eat and hence implies that they would need food. Hence, the correct answer here is 'Yes'.
Task: In this task, you will be shown an incorrect English sentence. You need to generate a corrected form of the input sentence.
Categories: Grammar Error Correction
Domains: English Exams; Miscellaneous

Positive examples:
input: The car's wheel are loose.
output: The car's wheel is loose.
explanation: The instance of are is replaced by the word is, because the wheel is a singular word. This makes the sentence grammatically correct.; input: The value of the car is very less.
output: The value of the car is much less.
explanation: The instance of very is replaced by the word much. This makes the sentence grammatically correct.; input: To day is sunny.
output: Today is sunny.
explanation: 'To day' is misspelled and needs to be replaced with today for this sentence to be correct.

Negative examples:
input: This way is the way to go.
output: This way may be the way to go.
explanation: The example does not correct the misuse of the word way. Instead, it should shorten the sentence to: this is the way to go.; input: The car is caught on fire.
output: The car is catch on fire
explanation: The example incorrectly uses is and catch to make a sentence.
Task: In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Categories: Program Execution
Domains: Code; Mathematics

Positive examples:
input: gocogccocco
output: gocog
explanation: The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.; input: fedfe
output: f
explanation: The longest palindrome is length 1 so the first character is returned. This is a good example.; input: ccpmpppppmpcc
output: ccpmpppppmpcc
explanation: The entire string 'ccpmpppppmpcc' is a palindrome, so the entire string is returned. This is a good example.

Negative examples:
input: xxpppppxgxgp
output: malayalam
explanation: The output is a palindrome but it is not a substring of the input. So this is a bad example.; input: wxwwxmmxwwm
output: 8
explanation: The output is the length of the longest substring that is a palindrome, but not the substring itself. So this is a bad example.; input: rbppr
output: rppr
explanation: The output is not a proper substring of the input. The first 'r' in does not appear directly before the first 'p' in the input string. So this is a bad example.
Task: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Categories: Word Semantics
Domains: Global Facts

Positive examples:
input: able
output: unable
explanation: The output is correct as able and unable are opposities of each other in meaning.; input: accurate
output: inaccurate
explanation: Accurate and inaccurate have opposite meanings.

Negative examples:
input: abstract
output: disadvantageous
explanation: Abstract and disadvantageous aren't opposite in meaning, as the opposite of abstract is concrete.; input: advantageous
output: concrete
explanation: Concrete and advantageous aren't opposite in meaning. The opposite of advantageous is disadvantageous.
Task:  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, as a result of the Head, PersonX may feel what is mentioned in the Tail or not. In this task, the feeling is an emotional reaction on the part of X or other participants in an event. For example, as a result of gift-giving, X might feel good about [one]self. 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.
Categories: Commonsense Classification
Domains: Sociology; Commonsense -> Concepts and Relations -> Social Commonsense
Reasoning: Relational Reasoning; Reasoning on Social Interactions; Commonsense Reasoning -> Social Situations

Positive examples:
input: Head: PersonX arrives home<sep>Tail: satisfied
output: Yes
explanation: This is a good example. As a result of the Head, PersonX will feels satisfied.; input: Head: PersonX becomes distracted<sep>Tail: They would suffer injuries too.
output: No
explanation: In this example, if PersonX becomes distracted, PersonX won't feel what is mentioned in the Tail. So this output is correct.; input: Head: PersonX finds PersonY's wallet<sep>Tail: glad to help someone get something back.
output: Yes
explanation: If PersonX finds PersonY's wallet, personX will be glad to help someone get something back. Thus, this example should be classified as "Yes".

Negative examples:
input: Head: PersonX accepts ___ in exchange<sep>Tail: to want to compromise
output: Yes
explanation: If PersonX accepts something in exchange, PersonX will not feel what is mentioned in the Tail. So the output should be "No".; input: Head: PersonX projects PersonY image<sep>Tail: happy
output: No
explanation: If PersonX projects PersonY image, as a result, PersonX may feel happy, and the output should be "Yes".
Task: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Categories: Program Execution
Domains: Code -> Repo -> Stack Overflow
Reasoning: Quantitative Reasoning; Numerical Reasoning; Mathematics -> Arithmetic

Positive examples:
input: [1, 2, 3]
output: [0.167, 0.333, 0.500]
explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.; input: [-9,3,5,-2]
output: [3.000,-1.000,-1.667,0.667]
explanation: The output list sums to 1.0 and the values have the same weight as the input list. Even though the first and last entry in the input list were negative, they are positive in the output list because the output list must sum to positive 1. This is a good example.; input: [4,17,19,20,200]
output: [0.015,0.065,0.073,0.077,0.769]
explanation: The output list sums to 1.0 and the second, third, and fourth values in the input list (17,19,20) are all similar values in the output list (0.065,0.073,0.077) and the last value in the input list, 200, is 10 times larger than the fourth value, 20, which were 0.077 and 0.769 in the output list respectively. This is a good example

Negative examples:
input: [33,1,46,22.9]
output: [0.250,0.250,0.250,0.250]
explanation: The output list sums to 1.0 however the weights of the original list are not maintained. Every value in the output list is the same but they were different in the input list. This is an incorrect output.; input: [9,3,15,26]
output: [0.900,0.300,0.150,0.260]
explanation: The output list does not sum to 1.0. This is an incorrect output.
Task: In this task, you need to count the number of times the given letter appears in the given sentence.
Categories: Program Execution
Domains: Captions -> Image Captions
Reasoning: Numerical Reasoning; Mathematics -> Counting

Positive examples:
input: Sentence: 'a large group of bananas proped up on several bicycles'. Find frequency of the letter 'e'
output: 5
explanation: The letter 'e' appears 5 times in the sentence.; input: Sentence: 'not many people are attending this tennis match'. Find frequency of the letter 'h'
output: 2
explanation: The letter 'h' appears 2 times in the sentence.

Negative examples:
input: Sentence: 'not many people are attending this tennis match'. Find frequency of the letter 'h'
output: 3
explanation: The letter 'h' appears only 2 times in the sentence and not 3 times.
Task: 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
Categories: Mathematics
Domains: Mathematics
Reasoning: Quantitative Reasoning; Numerical Reasoning; Mathematics -> Arithmetic

Positive examples:
input: 6 @ 17
output: 23
explanation: Here, '@' represents the addition operation. So, the answer is 23 (6+17=23).; input: 25 # 20 @ 3
output: 8
explanation: Here, '@' represents the addition operation and '#' represents the subtraction operation. So, the answer is 8 (25-20+3=8).

Negative examples:
input: 15 @ 20 # 3
output: 18
explanation: Here, '@' represents the addition operation and '#' represents the subtraction operation. So, the answer should have been 32 (15+20-3=32) instead of 18.
Task: In this task, You are given an open-domain question that can be answered based on factual information. Your task is to provide \*short\* answer (in a few words only) for the given question. The short answer can be one or more entities or it can also be boolean \*yes\* or \*no\*.
Categories: Question Answering
Domains: Wikipedia

Positive examples:
input: when are hops added to the brewing process?
output: The boiling process
explanation: The answer is correct because, at the end of the boil, solid particles in the hopped wort are separated.; input: who played will on as the world turns?
output: Jesse Soffer
explanation: The answer is correct. William "Will" Harold Ryan Munson is a fictional character on the CBS soap opera As the World Turns. He was portrayed by Jesse Soffer on a recurring basis from September 2004 to March 2005.; input: who won the election for mayor of cleveland?
output: Incumbent Democratic Mayor Frank G . Jackson
explanation: Incumbent Democratic Mayor Frank G . Jackson won reelection to a fourth term.

Negative examples:
input: where do dust storms occur in the US?
output:  
explanation: It generates no answer when it's supposed to give an answer.; input: when did the watts riot start and end?
output: watts riot
explanation: The question is about the time watts riot started and ended, so the answer should be: August 11 to 16, 1965.; input: when did kendrick lamars first album come out?
output: Ronald Reagan Era
explanation: It supposed to give the answer on what time Kendrick Lamar released his album, not the name of the album.
Task: In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Categories: Program Execution
Domains: Mathematics
Reasoning: Quantitative Reasoning; Mathematics -> Arithmetic

Positive examples:
input: [16, 205, 171, 2, 9, 317]
output: [16, 256, 128, 2, 8, 256]
explanation: Every integer in the input list is rounded to the nearest power of 2. The number 2 and 16 are in the input list and both are a power of 2, therefore rounding to the closest power of 2 returns the same number. This is a good example.; input: [12, 3, 384]
output: [16, 4, 512]
explanation: Every integer in the input list is exactly in the middle of two unique powers of 2. 12 is inbetween 8 and 16, 3 is inbetween 2 and 4, 384 is inbetween 256 and 512. Every integer is rounded to the larger power of 2. So this is a good example.

Negative examples:
input: [2, 207, 1063, 37, 23]
output: [1, 8, 10, 5, 4]
explanation: The output is value of the exponent of the closest power of 2. You should return the value of the number '2^n' instead of just returning 'n'. The output should have been '[2, 256, 1024, 32, 16]'. So this is a bad example.; input: [6, 1536, 48]
output: [4, 1024, 32]
explanation: Every number is exactly in the middle of two unique powers of 2 however the smaller power of 2 was returned. If a number is exactly inbetween powers of 2 then the larger power of 2 should have been returned. The output should have been '[8, 2048, 64]'. So this is a bad example.; input: [381, 176, 32]
output: [2^8, 2^7, 2^5]
explanation: The output is the closest power of 2 in the form '2^n'. You should return the exact value of 2^n. A list of integers should be returned not a list of formulas. The output should have been [256, 128, 32]. So this is a bad example.
Task: In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.
Categories: Program Execution
Domains: Code

Positive examples:
input: 238; h; 92; U; 2799
output: 238, 92, 2799
explanation: Here, the numbers in the input list in order are '238', '92' and '2799'.; input: U; 6923; y; m; v; M; Y; 87667; E; 6059; p
output: 6923, 87667, 6059
explanation: Here, the numbers in the input list in order are '6923', '87667', and '6059'.

Negative examples:
input: 7475; B; 2459; m; 8349; O; q; Y; f
output: B, m, O
explanation: Here, the answer should have been '7475, 2459, 8349' as the numbers in the input list in order are '7475', '2459', and '8349'.; input: 75; 54; J; L; 2332; Z; e; 366
output: 75, 54, 2332
explanation: Here, the answer should have been '75, 54, 2332, 366' as the numbers in the input list in order are '75', '54', '2332', and '366'.
Task: In this task, you are given a short story consisting of exactly 5 sentences where the second sentence is missing. You are given a candidate for the second sentence and you need to identify if the given sentence connects the first sentence with the rest of the story. Indicate your answer by "Yes" if it connects, otherwise "No". Do not generate anything else apart from "Yes" or "No". The given sentence is incorrect if it changes the subsequent storyline, so that at least one of the three subsequent sentences form a consistent story.
Categories: Coherence Classification
Domains: Commonsense -> Stories
Reasoning: Temporal Reasoning; Commonsense Reasoning

Positive examples:
input: Sentence 1: The cashier was counting the dollar bills at her desk. 
 Sentence 3: Everyone panicked and started to scream. 
  Sentence 4: The men threatened the people to remain quiet. 
 Sentence 5: The cashier handed them the cash so they would go away.  
 Given Sentence 2: Two men rushed into the store and held their guns up.
output: Yes
explanation: People panic when somebody holds their guns up. Sentence 2 correctly connects Sentence 1 with rest of the story. So, the answer is 'Yes'.; input: Sentence 1: The cashier was counting the dollar bills at her desk. 
 Sentence 3: Everyone panicked and started to scream. 
  Sentence 4: The men threatened the people to remain quiet. 
 Sentence 5: The cashier handed them the cash so they would go away.  
 Given Sentence 2: Two dogs rushed into the store.
output: No
explanation: The entity 'two dogs' doesn't connect with the rest of the story. Note that with the given sentence, sentence 4: " The men threatened ..." is not consistent. So, the answer is 'No'.; input: Sentence 1: The cashier was counting the dollar bills at her desk. 
 Sentence 3: Everyone panicked and started to scream. 
  Sentence 4: The men threatened the people to remain quiet. 
 Sentence 5: The cashier handed them the cash so they would go away.  
 Given Sentence 2: Two men rushed into the store and started asking for help since their friend was bleeding.
output: No
explanation: With the given sentence, sentence 5: 'cashier handed them the cash' is no longer consistent. So, 'No' is the correct answer.

Negative examples:
input: Sentence 1: The cashier was counting the dollar bills at her desk. 
 Sentence 3: Everyone panicked and started to scream. 
  Sentence 4: The men threatened the people to remain quiet. 
 Sentence 5: The cashier handed them the cash so they would go away.  
 Given Sentence 2: Two men rushed into the store and started yelling.
output: Given Sentence doesn't connect with the story.
explanation: The answer can only be Yes or No. This is a bad answer.