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: Earnings were in focus Thursday, with Credit Suisse, Volkswagen and Renault among the corporate giants reporting before the bell. The U.S. economy posted its worst contraction in history during the second quarter, with GDP from April to June plunging 32.9%. European markets closed sharply lower Th Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Event Detection', 'examples': [ { 'input': 'The paragraph discusses the worst historical contraction of the U.S. economy in the second quarter of the year.', 'label': 'entailment', }, { 'input': 'The paragraph details the record-breaking growth of the U.S. GDP during the second quarter.', 'label': 'non-entailment', } ] }, { 'task': 'Sentiment Classification', 'examples': [ { 'input': 'The sentiment of the paragraph is negative due to the significant economic contraction.', 'label': 'entailment', }, { 'input': 'The sentiment of the paragraph is positive given the strong performance of the U.S. economy.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph discusses events that occurred in the past, such as the economic contraction and corporate earnings reports.', 'label': 'entailment', }, { 'input': 'The paragraph is concerned with future economic projections and earnings forecasts.', 'label': 'non-entailment', } ] }, { 'task': 'Impact Classification', 'examples': [ { 'input': 'The economic information in the paragraph indicates a major impact due to the worst contraction in GDP.', 'label': 'entailment', }, { 'input': 'The situation described in the paragraph suggests a minimal impact on the economy.', 'label': 'non-entailment', } ] } ] }