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: Hundreds of American evacuees from the quarantined Diamond Princess have been isolated on U.S. military air bases. "I burst into tears. It was like 'welcome home,'" Gay Courter of Florida told CNBC after arriving to applause from U.S. troops. "It's just so hard for me to even talk about this," she Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Tone Classification', 'examples': [ { 'input': "The tone of the paragraph is primarily relief as indicated by Gay Courter's emotional reaction upon returning home.", 'label': 'entailment' }, { 'input': "The tone of the paragraph is predominantly fearful due to the quarantine situation.", 'label': 'non-entailment' } ] }, { 'task': 'Event Detection', 'examples': [ { 'input': "The paragraph describes the event of American evacuees being isolated on U.S. military air bases after being evacuated from the Diamond Princess.", 'label': 'entailment' }, { 'input': "The paragraph describes the event of a diplomatic meeting regarding international health policies.", 'label': 'non-entailment' } ] }, { 'task': 'Entity Recognition', 'examples': [ { 'input': "The paragraph mentions 'Diamond Princess' as a recognized entity related to the quarantine situation.", 'label': 'entailment' }, { 'input': "The paragraph mentions 'United Nations' as a recognized entity involved in the evacuation process.", 'label': 'non-entailment' } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': "The tense of the paragraph is past tense as it discusses events that have already occurred.", 'label': 'entailment' }, { 'input': "The tense of the paragraph is future tense as it discusses upcoming tasks and events.", 'label': 'non-entailment' } ] } ] }