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: President Trump should seize on post-midterm enthusiasm for an infrastructure deal, Ray LaHood, a Republican who served under Obama, tells CNBC. LaHood calls on the president to get the GOP-controlled Senate to support ways to boost revenue to pay for it. Democrats, who won control of the House in Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Topic Classification", "examples": [ { "input": "The paragraph discusses the possibility of an infrastructure deal and bipartisan cooperation.", "label": "entailment" }, { "input": "The paragraph focuses on healthcare policy and reforms.", "label": "non-entailment" } ] }, { "task": "Intent Detection", "examples": [ { "input": "The intent is to persuade President Trump to pursue an infrastructure deal.", "label": "entailment" }, { "input": "The intent is to analyze past congressional election results.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "Entities such as President Trump and Ray LaHood are mentioned.", "label": "entailment" }, { "input": "Entities such as Bill Gates and Mark Zuckerberg are mentioned.", "label": "non-entailment" } ] }, { "task": "Political Alignment Detection", "examples": [ { "input": "The paragraph highlights collaboration between a Republican and the Democratic Party.", "label": "entailment" }, { "input": "The paragraph describes non-political business ventures.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The paragraph uses present tense to discuss current political strategies.", "label": "entailment" }, { "input": "The paragraph is entirely about events predicted to happen in the distant future.", "label": "non-entailment" } ] } ] }