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: The assassination of Ali Abdullah Saleh has changed the dynamics in the country's ongoing civil war, according to Middle East experts Saleh's death on Monday came as he tried to flee the Yemeni capital Sana'a after he had broken an alliance with Iran-aligned Houthi rebels at the weekend Yemen's ci Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Event Detection", "examples": [ { "input": "The paragraph discusses the assassination of Ali Abdullah Saleh.", "label": "entailment" }, { "input": "The paragraph talks about the signing of a peace treaty involving Ali Abdullah Saleh.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "The paragraph mentions Ali Abdullah Saleh and Houthi rebels as entities.", "label": "entailment" }, { "input": "The paragraph identifies Donald Trump as a key entity.", "label": "non-entailment" } ] }, { "task": "Risk Classification", "examples": [ { "input": "The assassination introduces a new level of risk in the Yemeni civil war.", "label": "entailment" }, { "input": "The situation in Yemen is described as posing no risk to regional stability.", "label": "non-entailment" } ] }, { "task": "Trend Detection", "examples": [ { "input": "Saleh's death marks a shift in alliances within the Yemeni civil conflict.", "label": "entailment" }, { "input": "The paragraph indicates a growing peace trend in Yemeni civil conflict.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The assassination of Ali Abdullah Saleh occurred in the past.", "label": "entailment" }, { "input": "Ali Abdullah Saleh's assassination is planned for the future.", "label": "non-entailment" } ] } ] }