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: Keith Parker, new UBS chief U.S. equity strategist, is looking for the S&P 500 to end next year at 2,900, a healthy gain from its current 2,650 level. But with the right mix of tax law juice, a case can be made where it leaps ahead to 3,300, he said. Keith Parker, new UBS chief U.S. equity strateg Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Entity Recognition', 'examples': [ { 'input': "The paragraph mentions Keith Parker and UBS.", 'label': 'entailment', }, { 'input': "The paragraph discusses the Federal Reserve.", 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': "The paragraph discusses future projections for the S&P 500 index.", 'label': 'entailment', }, { 'input': "The paragraph is about past stock market performance.", 'label': 'non-entailment', } ] }, { 'task': 'Trend Detection', 'examples': [ { 'input': "The paragraph suggests a potential uptrend in the S&P 500 index.", 'label': 'entailment', }, { 'input': "The paragraph forecasts a decline in the S&P 500 index.", 'label': 'non-entailment', } ] }, { 'task': 'Impact Classification', 'examples': [ { 'input': "The tax law changes could significantly impact the S&P 500 index.", 'label': 'entailment', }, { 'input': "The paragraph indicates no impact from the tax law changes.", 'label': 'non-entailment', } ] } ] }