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: Singapore's economy is expected to grow at 2.4% in 2024, while its headline inflation is forecast to come in at 3.1%. This is higher compared with the 2.3% growth forecast in the December survey. The current inflation forecast is also lower than the previous survey's forecast of 3.4%. Singapore's Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Trend Detection', 'examples': [ { 'input': "Singapore's economy is trending toward higher growth in 2024 compared to previous forecasts.", 'label': 'entailment' }, { 'input': "Singapore's inflation forecast is trending upwards compared to the previous survey.", 'label': 'non-entailment' } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': "The economic forecasts for Singapore are stated in the future tense.", 'label': 'entailment' }, { 'input': "The paragraph discusses Singapore's economic performance solely in the past tense.", 'label': 'non-entailment' } ] }, { 'task': 'Sentiment Classification', 'examples': [ { 'input': "The paragraph presents a positive sentiment about Singapore's economy due to expected growth.", 'label': 'entailment' }, { 'input': "The paragraph conveys a negative sentiment regarding Singapore's economy.", 'label': 'non-entailment' } ] }, { 'task': 'Uncertainty Identification', 'examples': [ { 'input': "The paragraph contains uncertain elements as it provides forecasts.", 'label': 'entailment' }, { 'input': "The paragraph gives definitive conclusions with no room for uncertainty.", 'label': 'non-entailment' } ] } ] }