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: Industry analysts and restructuring experts say another wave of restaurant bankruptcies is looming, as government funds run out and the cooler months roll around, making outdoor dining less viable. "Pre-pandemic, you were already over-saturated with restaurants," said Michael Jerbich, president o Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Risk Classification', 'examples': [ { 'input': 'The paragraph implies there is a high risk of restaurant bankruptcies in the near future.', 'label': 'entailment' }, { 'input': 'The paragraph implies that restaurants are unlikely to face financial difficulties in the coming months.', 'label': 'non-entailment' } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph primarily discusses events in the future tense.', 'label': 'entailment' }, { 'input': 'The paragraph primarily discusses events in the past tense.', 'label': 'non-entailment' } ] }, { 'task': 'Trend Detection', 'examples': [ { 'input': 'The paragraph identifies a trend of increasing bankruptcies in the restaurant industry.', 'label': 'entailment' }, { 'input': 'The paragraph identifies a trend of growth and expansion in the restaurant industry.', 'label': 'non-entailment' } ] }, { 'task': 'Sector Identification', 'examples': [ { 'input': 'The paragraph focuses on the restaurant industry.', 'label': 'entailment' }, { 'input': 'The paragraph focuses on the technology sector.', 'label': 'non-entailment' } ] }, { 'task': 'Uncertainty Identification', 'examples': [ { 'input': 'The paragraph reflects uncertainty regarding the future of restaurants as government funds diminish.', 'label': 'entailment' }, { 'input': 'The paragraph provides a definite outlook that restaurants will thrive despite reduced government support.', 'label': 'non-entailment' } ] } ] }