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: HSBC has agreed to pay 590 million so far, and include 130 million with Citigroup and $240 million with De Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Event Detection", "examples": [ { "input": "There was a settlement event involving HSBC paying to resolve litigation.", "label": "entailment" }, { "input": "HSBC is launching a new financial product in the U.S.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "Entities like HSBC, Barclays, Citigroup are involved in the paragraph.", "label": "entailment" }, { "input": "The paragraph mentions entities such as Google and Microsoft.", "label": "non-entailment" } ] }, { "task": "Impact Classification", "examples": [ { "input": "The litigation settlement could have a financial impact on HSBC.", "label": "entailment" }, { "input": "The paragraph describes a situation with no implications for financial stakeholders.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The activities in the paragraph are described in the present tense.", "label": "entailment" }, { "input": "The paragraph describes future financial plans of HSBC.", "label": "non-entailment" } ] }, { "task": "Risk Classification", "examples": [ { "input": "This litigation settlement involves a risk management scenario.", "label": "entailment" }, { "input": "The paragraph is about a risk-free investment by HSBC.", "label": "non-entailment" } ] } ] }