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 market has been held aloft by a fairly broad, but constantly shifting collection of stocks and sectors. Five of the 10 traditional S&P sectors have outperformed the index itself this year. The pat and popular stock-market story this spring goes like this: A small group of lavishly capitalized Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Trend Detection", "examples": [ { "input": "The paragraph describes a trend of a broad but shifting collection of stocks supporting the market.", "label": "entailment" }, { "input": "The paragraph indicates that the stock market has been stable without any shifts in stock collections.", "label": "non-entailment" } ] }, { "task": "Sector Identification", "examples": [ { "input": "The paragraph mentions that five of the 10 traditional S&P sectors have outperformed the index.", "label": "entailment" }, { "input": "The paragraph identifies technology as the only sector driving the market's performance.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The paragraph discusses events occurring this year, indicating present tense.", "label": "entailment" }, { "input": "The paragraph is written in future tense, forecasting next year's market trends.", "label": "non-entailment" } ] }, { "task": "Topic Classification", "examples": [ { "input": "The paragraph is focused on stock market performance and sector analysis.", "label": "entailment" }, { "input": "The paragraph primarily deals with the effects of climate change on agriculture.", "label": "non-entailment" } ] } ] }