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 agreement governing our ABL facility contains covenants that, among other things, restrict Sally Holdings and its subsidiaries’ ability to: change their line of business; | Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Risk Classification', 'examples': [ { 'input': "The paragraph indicates a risk of operational restrictions due to covenants in the ABL facility agreement.", 'label': 'entailment' }, { 'input': "The paragraph suggests that Sally Holdings has complete freedom to change its line of business without any restrictions.", 'label': 'non-entailment' } ] }, { 'task': 'Entity Recognition', 'examples': [ { 'input': "The paragraph mentions the entity 'Sally Holdings.'", 'label': 'entailment' }, { 'input': "The paragraph discusses an entity called 'XYZ Corporation.'", 'label': 'non-entailment' } ] }, { 'task': 'Intent Detection', 'examples': [ { 'input': "The paragraph's intent is to outline certain restrictions on Sally Holdings and its subsidiaries.", 'label': 'entailment' }, { 'input': "The paragraph intends to give a detailed financial report of Sally Holdings' quarterly earnings.", 'label': 'non-entailment' } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': "The paragraph is written in present tense.", 'label': 'entailment' }, { 'input': "The paragraph is written in past tense.", 'label': 'non-entailment' } ] }, { 'task': 'Uncertainty Identification', 'examples': [ { 'input': "There is uncertainty regarding Sally Holdings' ability to change its line of business due to covenants.", 'label': 'entailment' }, { 'input': "The paragraph expresses certainty that Sally Holdings has no restrictions on its activities.", 'label': 'non-entailment' } ] } ] }