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: Deutsche Bank lowers its rating on Snap to hold from buy, citing the competitive threat of larger internet firms. "After broad conversations across the ad ecosystem over the last month, feedback was decidedly mixed," Deutsche Bank's analyst wrote.
Snap's user growth will be weaker than expected, Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Sentiment Classification', 'examples': [ { 'input': "The sentiment regarding Snap in the paragraph is negative.", 'label': 'entailment', }, { 'input': "The sentiment regarding Snap in the paragraph is positive.", 'label': 'non-entailment', } ] }, { 'task': 'Risk Classification', 'examples': [ { 'input': "The paragraph indicates an increased risk for Snap due to competition.", 'label': 'entailment', }, { 'input': "The paragraph indicates that Snap faces no significant risks.", 'label': 'non-entailment', } ] }, { 'task': 'Event Detection', 'examples': [ { 'input': "The paragraph reports the event of Deutsche Bank lowering its rating on Snap.", 'label': 'entailment', }, { 'input': "The paragraph reports an event of Snap acquiring another company.", 'label': 'non-entailment', } ] }, { 'task': 'Entity Recognition', 'examples': [ { 'input': "Deutsche Bank and Snap are named entities in the paragraph.", 'label': 'entailment', }, { 'input': "Apple and Google are mentioned as entities in the paragraph.", 'label': 'non-entailment', } ] }, { 'task': 'Intent Detection', 'examples': [ { 'input': "The paragraph exhibits an intent to caution investors about Snap's competitive threats.", 'label': 'entailment', }, { 'input': "The paragraph exhibits an intent to promote investment in Snap due to strong growth potential.", 'label': 'non-entailment', } ] } ] }