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: Dow Jones industrial average futures rose 43 points, while S&P 500 futures and Nasdaq 100 futures gained 1.5 points and 5.25 points, respectively. International stocks rose overnight, with the Japanese Nikkei 225 climbing 0.6 percent and the Hang Seng index advancing 0.4 percent. The move higher i Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Trend Detection', 'examples': [ { 'input': 'The paragraph indicates an upward trend in stock futures, as both Dow Jones and international indices show gains.', 'label': 'entailment', }, { 'input': 'The paragraph indicates a downward trend in stock futures, with sharp declines in the Dow Jones and international indices.', 'label': 'non-entailment', } ] }, { 'task': 'Sector Identification', 'examples': [ { 'input': 'The paragraph pertains to the financial sector, focusing on stock market futures and indices.', 'label': 'entailment', }, { 'input': 'The paragraph relates to the healthcare sector, highlighting advancements in medical technology stocks.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph discusses events in the present tense, as indicated by the movement of stock futures and indices.', 'label': 'entailment', }, { 'input': 'The paragraph discusses events in the future tense, focusing on anticipated moves in stock markets.', 'label': 'non-entailment', } ] } ] }