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: Apple last week lowered its revenue guidance for the company's fiscal first quarter, citing headwinds in China and lower-than-expected iPhone sales. Apple's warning led some on Wall Street to question the impact of President Donald Trump's trade policies with regard to China. Commerce Secretary Wi Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Topic Classification', 'examples': [ { 'input': 'The paragraph is about Apple and its business challenges.', 'label': 'entailment', }, { 'input': 'The paragraph discusses environmental policies.', 'label': 'non-entailment', } ] }, { 'task': 'Entity Recognition', 'examples': [ { 'input': 'The text mentions Apple and Wall Street.', 'label': 'entailment', }, { 'input': 'The text includes entities like Amazon and Nasdaq.', 'label': 'non-entailment', } ] }, { 'task': 'Risk Classification', 'examples': [ { 'input': 'There is a financial risk mentioned due to reduced iPhone sales.', 'label': 'entailment', }, { 'input': 'The text describes a health risk associated with iPhone usage.', 'label': 'non-entailment', } ] }, { 'task': 'Impact Classification', 'examples': [ { 'input': 'The paragraph implies a negative impact on Apple's revenue.', 'label': 'entailment', }, { 'input': 'The text suggests a positive impact on Apple's stock prices.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph is primarily in the past tense.', 'label': 'entailment', }, { 'input': 'The paragraph is primarily in the future tense.', 'label': 'non-entailment', } ] } ] }