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: Trump made his remarks just hours after revelations Pyongyang has successfully created a miniaturized nuclear weapon designed to fit inside its missiles. The Dow snapped a 10-day winning streak and a streak of nine straight record closes. The benchmark 10-year yield jumped to trade at 2.28 percent Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Event Detection", "examples": [ { "input": "The paragraph discusses North Korea's success in creating a miniaturized nuclear weapon.", "label": "entailment" }, { "input": "The paragraph outlines a new peace treaty between North and South Korea.", "label": "non-entailment" } ] }, { "task": "Impact Classification", "examples": [ { "input": "The revelation about Pyongyang's nuclear weapon had a negative impact on the stock market.", "label": "entailment" }, { "input": "The details about the miniaturized nuclear weapon had a positive impact on the stock market.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The paragraph describes events occurring in the present tense.", "label": "entailment" }, { "input": "The paragraph discusses events in the future tense.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "The text mentions Donald Trump and Pyongyang.", "label": "entailment" }, { "input": "The text references the United Nations and the International Monetary Fund.", "label": "non-entailment" } ] } ] }