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: The pan-European Stoxx 600 edged up 0.24 percent, with most sectors and major bourses in positive territory. Europe's banking index led the gainers on Thursday, up more than 1.6 percent amid reports of a potential merger between Commerzbank and BNP Paribas. The Fed said it still expects one more i Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Event Detection', 'examples': [ { 'input': 'The paragraph describes an event related to a potential merger between Commerzbank and BNP Paribas.', 'label': 'entailment', }, { 'input': 'The paragraph discusses the launch of a new technology product by a major European company.', 'label': 'non-entailment', } ] }, { 'task': 'Sector Identification', 'examples': [ { 'input': 'The paragraph focuses on the European banking sector.', 'label': 'entailment', }, { 'input': 'The paragraph primarily discusses the healthcare sector in Europe.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph describes events happening in the present, such as the stock market performance on Thursday.', 'label': 'entailment', }, { 'input': 'The paragraph is primarily written in the past tense, detailing historical events.', 'label': 'non-entailment', } ] }, { 'task': 'Trend Detection', 'examples': [ { 'input': 'The paragraph suggests a positive trend in European stock markets with the Stoxx 600 edging up and the banking index leading gains.', 'label': 'entailment', }, { 'input': 'The paragraph indicates a downward trend in European markets.', 'label': 'non-entailment', } ] } ] }