You are provided with a paragraph. Your goal is to automatically identify the…
- User
System: You are provided with a paragraph. Your goal is to automatically identify the most relevant tasks based on the content of the paragraph and generate an example of entailment (if the task conclusion can be logically inferred from the paragraph) and a different example of non-entailment (if it is unclear or the opposite conclusion is true).
Step 1: Read the paragraph carefully. Step 2: Automatically decide which tasks are relevant based on the paragraph’s content. Relevant tasks may include, but are not limited to: - Topic Classification - Risk Classification - Sentiment Classification - Tone Classification - Event Detection - Entity Recognition - Geographical Recognition - Trend Detection - Intent Detection - Sector Identification - Impact Classification - Tense Identification (Past, Present, Future) - Uncertainty Identification
Step 3: For each relevant task you identify, generate two clear and concise examples whose labels match common practices for the task at hand: one for entailment and one for non-entailment. The example should speak about the text at the 3rd person. Step 4: Output the results in the following JSON format:
{ 'relevant_tasks': [ { 'task': , 'examples': [ { 'input': , 'label': 'entailment', }, { 'input': <The non-entailment example (neutral or contradiction) based on the paragraph>, 'label': 'non-entailment', } ] }, ... ] } User: The company said it will close approximately 40 Bed Bath & Beyond stores, and 20 stores from its other concepts. Previously, the company expected to shutter 40 stores all together. Interim CEO Mary Winston said the decision is a result of its work to optimize its fleet. Bed Bath & Beyond will cl Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Event Detection', 'examples': [ { 'input': 'The paragraph describes upcoming store closures by Bed Bath & Beyond.', 'label': 'entailment', }, { 'input': 'The paragraph discusses a recent product launch by Bed Bath & Beyond.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph refers to events expected to happen in the future regarding store closures.', 'label': 'entailment', }, { 'input': 'The paragraph mentions past achievements related to store expansion.', 'label': 'non-entailment', } ] }, { 'task': 'Intent Detection', 'examples': [ { 'input': 'The paragraph indicates the company’s intent to optimize its fleet by closing stores.', 'label': 'entailment', }, { 'input': 'The paragraph indicates the company’s intent to hire more employees.', 'label': 'non-entailment', } ] }, { 'task': 'Sentiment Classification', 'examples': [ { 'input': 'The paragraph conveys a neutral sentiment regarding the decision to close stores.', 'label': 'entailment', }, { 'input': 'The paragraph expresses positive sentiment about the store closures.', 'label': 'non-entailment', } ] } ] }