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: Document attempts to help fulfill one of Trump's campaign pledges Transportation Secretary Chao said the president will release principles for infrastructure investment over the next few weeks Relationship with Congress has become more complicated over the last week President Donald Trump's advis Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Event Detection', 'examples': [ { 'input': 'The paragraph discusses an upcoming event where President Trump will release principles for infrastructure investment.', 'label': 'entailment', }, { 'input': 'The paragraph talks about a recent event where President Trump signed a new infrastructure bill.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph uses future tense when mentioning that President Trump will release infrastructure investment principles.', 'label': 'entailment', }, { 'input': 'The paragraph predominantly uses past tense to describe the events.', 'label': 'non-entailment', } ] }, { 'task': 'Risk Classification', 'examples': [ { 'input': 'The paragraph indicates a potential risk in the relationship with Congress becoming more complicated.', 'label': 'entailment', }, { 'input': 'The paragraph suggests there is no risk associated with Trump's plans for infrastructure investment.', 'label': 'non-entailment', } ] }, { 'task': 'Intent Detection', 'examples': [ { 'input': 'The paragraph implies President Trump intends to fulfill a campaign pledge related to infrastructure investment.', 'label': 'entailment', }, { 'input': 'The paragraph suggests that President Trump has no intention of fulfilling any campaign pledges.', 'label': 'non-entailment', } ] } ] }