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: A new study from the London School of Economics found that British firms are choosing to invest in EU countries rather than their domestic market due to Brexit. Meanwhile EU businesses have been spending less on foreign direct investment into Britain. This has led to losses to the U.K. of more tha Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Topic Classification', 'examples': [ { 'input': 'The paragraph is discussing the economic impact of Brexit.', 'label': 'entailment', }, { 'input': 'The paragraph is about technological advancements in the UK.', 'label': 'non-entailment', } ] }, { 'task': 'Trend Detection', 'examples': [ { 'input': 'There is a trend of British firms investing more in EU countries due to Brexit.', 'label': 'entailment', }, { 'input': 'There is an emerging trend of increased foreign investment in the UK from EU businesses.', 'label': 'non-entailment', } ] }, { 'task': 'Risk Classification', 'examples': [ { 'input': 'The paragraph indicates a risk of economic loss for the UK due to changes in investment patterns.', 'label': 'entailment', }, { 'input': 'The paragraph suggests a reduced risk in international trade relations between the UK and the EU.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The tense used in the paragraph is present.', 'label': 'entailment', }, { 'input': 'The tense used in the paragraph is future.', 'label': 'non-entailment', } ] }, { 'task': 'Impact Classification', 'examples': [ { 'input': 'The paragraph describes a negative economic impact on the UK due to Brexit.', 'label': 'entailment', }, { 'input': 'The paragraph describes a positive economic impact on the UK.', 'label': 'non-entailment', } ] } ] }