ceselder/lots-of-loras-task-definitions huggingface dataset:
Task: In this task, you are given a text which is the body of a document. Your job is to classify the topic of the document into these categories: 1)Company, 2)Educational Institution, 3)Artist, 4)Athlete, 5)Office Holder, 6)Mean of transportation, 7)Building, 8)Natural place, 9)Village, 10)Animal, 11)Plant, 12)Album, 13)Film, 14)Written work. Your output should be the category number. Don't generate anything apart from numbers 1-14.
Categories: Text Categorization
Domains: Wikipedia

Positive examples:
input: Text: Abbott of Farnham E D Abbott Limited was a British coachbuilding business based in Farnham Surrey trading under that name from 1929. A major part of their output was under sub-contract to motor vehicle manufacturers. Their business closed in 1972.
output: 1
explanation: Here, the given text is about a British coachbuilding business company. Hence, it is a correct answer.; input: Text: Arthur Lees (born in Lees Lancashire) was an English rugby union and professional rugby league footballer of the 1890s and 1900s playing representative level rugby union (RU) for Lancashire and at club level for Oldham as a Scrum-half or Fly-half i.e. number 9 or 10 and playing representative level rugby league (RL) for Lancashire and at club level for Oldham as a Stand-off/Five-eighth or Scrum-half/Halfback i.e.
output: 4
explanation: Here, the given text is about an English athlete. Hence, "4" is the correct answer.; input: Text: Representations is an interdisciplinary journal in the humanities published quarterly by the University of California Press. The journal was established in 1983 and is the founding publication of the New Historicism movement of the 1980s. It covers topics including literary historical and cultural studies. The founding editorial board was chaired by Stephen Greenblatt and Svetlana Alpers.
output: 14
explanation: Here, the given text is about a journal. Hence, the document comes under "Written work" topic.

Negative examples:
input: Text: T√©o Kardum (born 24 July 1986 in Split) is a Croatian association footballer who is currently playing for NK Dugopolje in the Druga HNL.
output: 3
explanation: Here, the given text is about a Croatian footballer. Hence, the correct answer is "4".; input: Text: The Fokker F.V was a Dutch airliner created by Fokker in the 1920s. The most interesting property of the F.V was that it could be configured either as a biplane or a monoplane as the lower wing could be removed. It was not a success and only one was built.
output: 9
explanation: This is an incorrect answer. Because the text is about an airplane which can be classified as "Mean of transportation" topic.
Task: You are given a question on moral disputes. You are also given 4 answer options (associated with "A", "B", "C", "D"), out of which only one is correct. You need to answer the question by selecting the correct option. You should only answer with the choice letter, not the whole answer.
Categories: Question Answering
Domains: Moral Scenarios
Reasoning: Ethics

Positive examples:
input:  Just war theory's principle of military necessity belongs to
(A)jus in bello. (B)jus ad bellum. (C)moral nihilism. (D)all of the above
output: A
explanation: Just war theory's principle of military necessity belongs to jus in bello; input:  According to Mill, censoring speech that is possibly true
(A)violates human dignity. (B)fails a prima facie duty of honesty. (C)is tantamount to asserting that you are infallible. (D)is a risk worth taking of the speech is dangerous enough.
output: C
explanation: According to Mill, censoring speech that is possibly true is tantamount to asserting that you are infallible

Negative examples:
input:  Just war theory's principle of military necessity belongs to
(A)jus in bello. (B)jus ad bellum. (C)moral nihilism. (D)all of the above
output: I dont know.
explanation: Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D'.; input:  According to Mill, censoring speech that is possibly true
(A)violates human dignity. (B)fails a prima facie duty of honesty. (C)is tantamount to asserting that you are infallible. (D)is a risk worth taking of the speech is dangerous enough.
output: B,C
explanation: Only one of the following options ('A', 'B', 'C', 'D') is allowed to be the answer. Multiple options can not be correct. The correct answer here would have been 'C'.; input:  What does SCNT stand for, as used in the discussion on cloning?
(A)skin cell nuclear transfer (B)stem cell nuclear transmission (C)somatic cell nuclear transfer (D)none of the above
output: B
explanation: In the field of cloning, SCNT is commonly used for somatic cell nucler transfer. Hence the correct answer should be 'C'.
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 the Head can be hindered by what is mentioned in the Tail or not. In this task, hindering introduces hindrances that obstruct the natural path to the achievement of a goal. For example, the event PersonX adopts a cat can be obstructed if PersonX is allergic to cats. 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 touches a nerve<sep>Tail: PersonX is too nice
output: Yes
explanation: This is a good example. The Tail can hinder the Head.; input: Head: PersonX attends school<sep>Tail: To be a student
output: No
explanation: In this example, The Head can't be hindered by the Tail.; input: Head: PersonX is driving down the street<sep>Tail: PersonX's car is in the shop.
output: Yes
explanation: If PersonX's car is in the shop, PersonX can't drive down the street. Thus, this example should be classified as "Yes".

Negative examples:
input: Head: PersonX asks if PersonY was okay<sep>Tail: to thank PersonX
output: Yes
explanation: In this example, The Head can't be hindered by the Tail. So the output should be "No".; input: Head: PersonX clenches PersonY's jaw<sep>Tail: PersonY is out of reach.
output: No
explanation: If PersonY is out of reach, PersonX can't clench PersonY's jaw, and the output should be "Yes".
Task: Two analogies that relate actions with their consequences are given in the form "A : B. C : ?". The phrase "A : B" relates action A to consequence B. Your task is to replace the question mark (?) with the appropriate consquence of the given action C, following the "A : B" relation. Your answer should be a single verb, without further explanation.
Categories: Word Analogy
Domains: Commonsense
Reasoning: Relational Reasoning; Commonsense Reasoning; Analogical Reasoning

Positive examples:
input: throw : fly. aspire : ?
output: attain
explanation: Fly is a causation of throw. Hence, the inferred analogy being causation, attain is the causation of aspire.; input: listen : hear. drop : ?
output: fall
explanation: Hear is a causation of listen. Hence, the inferred analogy being causation, the causation of drop is fall.; input: hit : shatter. nourish : ?
output: grow
explanation: Shatter is a causation of hit. Hence, the inferred analogy being causation, the causation of nourish is grow.

Negative examples:
input: cut : bleed. crush : ?
output: throw
explanation: Bleed in a causation of cut. Hence, the analogy given is causation. But, throw is not a causation of crush.; input: nourish : grow. listen : ?
output: break
explanation: Grow is a causation of nourish. Hence, the analogy given is causation. But, break is not a causation of listen; input: fear : flee. ignite : ?
output: bleed
explanation: Flee is a causation of fear. Hence, the analogy given is causation. But, bleed is not a causation of ignite
Task: Given an Amazon customer review, write a title for the review. The preferred titles are under fifteen words.
Categories: Title Generation
Domains: Reviews

Positive examples:
input: I was very surprised at the high quality of the stitching, the sturdiness of the handles and the padding for my laptop. The price is amazingly low and the look is very good. I am quite happy with this purchase. It fit my MacBook Pro perfectly, with a little bit of room to spare.
output: Pleasantly surprised
explanation: The review is positive and the user liked the product very much based on the given review, and the title correctly resembles to review.; input: Bought cables in 3ft, 6ft and 9ft.  NONE of them worked.  NO FUNCTIONALITY WHATSOEVER.  Tested many times, its as if the copper wires are just not connected to the terminations.  Do these even go through Quality Control before they leave the factory?  Waste of money and time.
output: None of them worked.  No functionality at all.
explanation: The user did not like the product as it was not having any functionality and the title also states that the product was not useful.

Negative examples:
input: I was very surprised at the high quality of the stitching, the sturdiness of the handles and the padding for my laptop. The price is amazingly low and the look is very good. I am quite happy with this purchase. It fit my MacBook Pro perfectly, with a little bit of room to spare.
output: One Star
explanation: Here review states that the user has liked the product but the negative title of one star is in contrast to the review body.; input: Bought cables in 3ft, 6ft and 9ft.  NONE of them worked.  NO FUNCTIONALITY WHATSOEVER.  Tested many times, its as if the copper wires are just not connected to the terminations.  Do these even go through Quality Control before they leave the factory?  Waste of money and time.
output: The "M" key fell off after three days of light ...
explanation: User did not like cables he bought but the title states that "M" key fell off after three days of light which does not correctly define review body.
Task: Categorize the comment on the basis of threat. If the comment is threatening output Yes, otherwise output No.
Categories: Toxic Language Detection
Domains: Dialogue; Social Media
Reasoning: Commonsense Reasoning -> Social Situations

Positive examples:
input: Baloney.  You are going to see real action against Herr Trump and his white supremacist agenda.
output: Yes
explanation: The comment suggests threat against Trump and his agendas and classified as threatening. Hence, it is a positive example; input: Perfect analysis and statements.
output: No
explanation: The comment suggests appreciation without any threats. It is classified as not threatening . Therefore, this is a positive example.

Negative examples:
input: Yet call out all Muslims for the acts of a few will get you pilloried. So why is it okay to smear an entire religion over these few idiots? Or is this because it's okay to bash Christian sects?
output: Yes
explanation: The comment is genuine argument with no particular threat to Muslims or Christians, but classified as threatening. Therefore, this is a negative example.; input: It's ridiculous that these guys are being called 'protesters'. Being armed is a threat of violence, which makes them terrorists
output: Yes
explanation: This comment gives a claim and then tries to justify their claim. No threats have been made but its classified as threatening. Therefore, this is a negative example.
Task: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Categories: Program Execution
Domains: Mathematics

Positive examples:
input: q; 31; a; d; 53; 85; p; 77
output: 1, 3, 5, 7, 8
explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.; input: ['223', u, 'r', '540', 'k']
output: 0, 2, 3, 4, 5
explanation: Here, the numbers in the list are '223' and '540', and the unique digits used in the list are '0, 2, 3, 4, 5' in ascending order.; input: n; t; r
output: -1
explanation: Here, there is no digit in the list, hence the answer is '-1'.

Negative examples:
input: g; w; x; 3467; g
output:  7, 6, 3, 4
explanation: Here, the answer should have been '3, 4, 6, 7' as '3467' is the only number in the list, and its digits in ascending order are '3, 4, 6, 7' in ascending order.; input: 75; 54; J; L; 2332; Z; e
output:  7, 5, 4, 2, 3
explanation: Here, the answer should have been '2, 3, 4, 5, 7' as the numbers in the list are '75', '54', and '2332', and the unique digits in the list are ascending order are '2, 3, 4, 5, 7' in ascending order.
Task: You are given an original reference as well as a system reference. Your task is to judge the quality of the system reference. If the utterance is grammatically correct and fluent output 1, else output 0.
Categories: Text Quality Evaluation
Domains: Dialogue; Public Places -> Restaurants

Positive examples:
input: System Reference: there is a chinese restaurant on x called x.
Original Reference: x is a chinese restaurant in x.
output: 1
explanation: The system reference is grammatically correct and fluent.; input: System Reference: x is a restaurant recommend.
Original Reference: x is a cafe restaurant.
output: 0
explanation: The system reference is not grammatically correct.

Negative examples:
input: System Reference: x is a reasonably priced fast food restaurant down by river cheap.
Original Reference: x is a cheap fastfood restaurant located near the riverside.
output: 5.5
explanation: The output has to be 1 or 0.; input: System Reference: x is a restaurant that serves italian serving fashionable and it english cafe food.
Original Reference: x restaurant is a cafe which serves english food.
output: I dont know
explanation: Do not output anything other than 1 or 0.
Task: In this task you are given a story and a question regarding that story. You must judge whether the question is answerable based on the info given to you. Label the instances as "Answerable" or "Not Answerable" based on your judgment. the story and the question are separated by a new line character.
Categories: Answerability Classification
Domains: Story

Positive examples:
input: Bob was a computer scientist. He enjoyed natural language processing. He decided to revolutionize the industry! He formulated a machine learning algorithm to process words. He won the nobel prize for his work!
Why did He formulate a machine?
output: Answerable
explanation: He formulated a machine learning algorithm to process words.; input: Bob was a computer scientist. He enjoyed natural language processing. He decided to revolutionize the industry! He formulated a machine learning algorithm to process words. He won the nobel prize for his work!
Why did He enjoy natural language processing?
output: Not Answerable
explanation: no direct information about the question is given.; input: Bob was a computer scientist. He enjoyed natural language processing. He decided to revolutionize the industry! He formulated a machine learning algorithm to process words. He won the nobel prize for his work!
Why did He decide to revolutionize the industry?
output: Not Answerable
explanation: no direct information about the question is given.

Negative examples:
input: Bob was a computer scientist. He enjoyed natural language processing. He decided to revolutionize the industry! He formulated a machine learning algorithm to process words. He won the nobel prize for his work!
Why did He enjoy natural language processing?
output: I can't decide.
explanation: Do not generate anything else apart from one of the following characters: 'Answerable', 'Not Answerable'.
Task: In this task, you're given a context, a question, and three options. Your task is to find the correct answer to the question using the given context and options. Also, you may need to use commonsense reasoning about social situations to answer the questions. Classify your answers into 'A', 'B', and 'C'.
Categories: Question Answering
Domains: Commonsense -> Concepts and Relations -> Social Commonsense
Reasoning: Commonsense Reasoning -> Social Situations

Positive examples:
input: Context: Tracy didn't go home that evening and resisted Riley's attacks. 
 Question: What does Tracy need to do before this? 
 Options: (A) make a new plan (B) Go home and see Riley (C) Find somewhere to go
output: C
explanation: Tracy found somewhere to go and didn't come home because she wanted to resist Riley's attacks. So, C is the correct answer.; input: Context: Sydney walked past a homeless woman asking for change but did not have any money they could give to her. Sydney felt bad afterwards. 
 Question: How would you describe Sydney? 
 Options: (A) sympathetic (B) like a person who was unable to help (C) incredulous
output: A
explanation: Sydney is a sympathetic person because she felt bad for someone who needed help, and she couldn't help her. So, A is the correct answer.; input: Context: Taylor gave help to a friend who was having trouble keeping up with their bills. 
 Question: What will their friend want to do next? 
 Options: (A) help the friend find a higher paying job (B) thank Taylor for the generosity (C) pay some of their late employees
output: B
explanation: The friend should thank Taylor for the generosity she showed by helping him pay bills. So, B is the correct answer.

Negative examples:
input: Context: Tracy's kids wanted ice cream so Aubrey fed the kids ice cream.  
 Question: What does Aubrey need to do before this? 
 Options: (A) tell her kids to say thank you (B) get ice cream (C) thanks Tracy
output: get ice cream
explanation: The answer is correct, but it is supposed to only give the options: A, B, or C.; input: Context: Kai improved Jan's picture and she loved how it came out. 
 Question: What will Jan want to do next? 
 Options: (A) wanted to be helpful (B) wanted to Jan to be glad (C) frame the picture
output: A
explanation: Now the picture is improved, so the next task would be to frame it. So it's the incorrect answer.; input: Context: Kendall was watching a friend's dog. Kendall didn't know anything about the dog. 
 Question: How would Kendall feel afterwards? 
 Options: (A) like they are confident they can do it (B) good with animals (C) that they should ask their friend what to do
output: B
explanation: Kendall is supposed to ask someone how to handle the dog. So, the correct answer is C and not B.
Task: In this task, you are given the name of an Indian food dish. You need to classify the dish as "sweet" or "spicy".
Categories: Misc.
Domains: Food
Reasoning: Commonsense Reasoning

Positive examples:
input: Keerai poriyal
output: spicy
explanation: Keerai poriyal is spicy in flavor; input: Kuzhi paniyaram
output: sweet
explanation: Kuzhi paniyaram is sweet in flavor

Negative examples:
input: Pindi chana
output: sweet
explanation: Pindi chana is not sweet in flavor; input: Til Pitha
output: spicy
explanation: Til Pitha is not spicy in flavor
Task: Given a sentence, generate what should be the most likely next statement. The next statement should be reasonable and logically correct.
Categories: Text Completion
Domains: Captions -> Video Captions; Story

Positive examples:
input: We notice a man in a kayak and a yellow helmet coming in from the left. As he approaches, his kayak 
output: flips upside - down
explanation: Flipping of the kayak is a probable event. It is a logical next statement, given the context.; input: On stage, a woman takes a seat at the piano. She
output: nervously sets her fingers on the keys.
explanation: The woman is playing a piano on the stage. So she is likely to be nervous and it is also logical that she will playing the piano.

Negative examples:
input: He is throwing darts at a wall. A woman
output: collapses and falls to the floor.
explanation: The output is a valid statement but it is not at all related to the event in the context. ; input: On stage, a woman takes a seat at the piano. She
output: is in the crowd, watching the dancers.
explanation: The context mentions that the woman is on stage and the next sentence mentions she is in the crowd, which is a contradiction and hence is incorrect.
Task: Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Categories: Dialogue State Tracking
Domains: Dialogue; Commonsense -> Concepts and Relations -> Social Commonsense
Reasoning: Commonsense Reasoning -> Social Situations; Reasoning on Social Interactions

Positive examples:
input: THEM: i need the hats and the ball  YOU: i can give you one hat and the ball. i want 2 books and 1 hat  THEM: i have to have both hats and the ball or both hats and a book to make a deal  YOU: sorry, i won`t make a deal without a hat  THEM: if you take 1 hat i have to have everything else  YOU: sorry can`t do  THEM: no deal  YOU: yesh no deal, sorry  THEM: no deal  YOU: no deal.
output: No
explanation: Both participants do not agree to the deal, so the answer is No.; input: THEM: hi i would like the book and ball and you can have the hats  YOU: i can give you either the book or the ball  THEM: ill take the book  YOU: ok i will take the hats and ball  THEM: deal.
output: Yes
explanation: Both participants agree to the deal, so the answer is Yes.

Negative examples:
input: THEM: lemme get that book and ball!  YOU: i need 2 balls and a hat  THEM: i'll take the book and two hats then?  YOU: ok.
output: No
explanation: Both participants agree to the deal, so the correct answer is Yes.; input: THEM: hello. i would like the book and one ball.  YOU: you can have one ball 1 hat  THEM: i need the book or it's no deal.  YOU: no deal i am keeping the book  THEM: ok no deal  YOU: okay sounds good  THEM: alright  YOU: okay  THEM: alright no deal  YOU: okay its no deal.
output: Yes
explanation: Both participants do not agree to the deal, so the correct answer is No.
Task: You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
Categories: Text to Code
Domains: Mathematics
Reasoning: Logical Reasoning

Positive examples:
input: password = a
output: 5
explanation: Using 5 steps, it can become a strong password; input: password = aA1
output: 3
explanation: Using 3 steps, it can become a strong password

Negative examples:
input: password = 1337C0d3
output: 1
explanation: This is incorrect, because it is a strong password