System: 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: China would likely ignore any reimposed U.S. sanctions should Washington pull out of the Iran nuclear deal, said experts. U.S. allies Japan and South Korea would feel the most pressure from renewed sanctions against Iran. India will try to negotiate for wiggle room and exemptions. In a matter of h Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Geographical Recognition', 'examples': [ { 'input': 'The paragraph mentions geographical locations including China, Japan, South Korea, and India.', 'label': 'entailment', }, { 'input': 'The paragraph discusses geographical locations in Europe and Africa.', 'label': 'non-entailment', } ] }, { 'task': 'Intent Detection', 'examples': [ { 'input': 'The paragraph indicates that China intends to ignore U.S. sanctions if the U.S. exits the Iran nuclear deal.', 'label': 'entailment', }, { 'input': 'The paragraph reveals that China intends to support U.S. sanctions unconditionally.', 'label': 'non-entailment', } ] }, { 'task': 'Risk Classification', 'examples': [ { 'input': 'The paragraph suggests a potential risk for Japan and South Korea due to renewed U.S. sanctions on Iran.', 'label': 'entailment', }, { 'input': 'The paragraph indicates that no countries face any risks from the potential reimposing of U.S. sanctions on Iran.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph is primarily set in the future tense regarding actions of various countries in response to U.S. sanctions.', 'label': 'entailment', }, { 'input': 'The paragraph entirely discusses events from the past with no future implications.', 'label': 'non-entailment', } ] } ] }