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: Michael Cohen, former personal lawyer for President Donald Trump, was taken into custody by U.S. Marshals after balking at a demand that he agree not talk to the media, or participate in any film or book, while serving the rest of his criminal sentence in home confinement, his attorney said. Cohen Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Event Detection', 'examples': [ { 'input': 'The paragraph mentions an incident where Michael Cohen was taken into custody by U.S. Marshals.', 'label': 'entailment', }, { 'input': 'The paragraph describes a peaceful meeting between Michael Cohen and his attorney without any legal actions.', 'label': 'non-entailment', } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': 'The paragraph describes events that have occurred in the past.', 'label': 'entailment', }, { 'input': 'The paragraph discusses a plan for Michael Cohen’s future legal actions.', 'label': 'non-entailment', } ] }, { 'task': 'Entity Recognition', 'examples': [ { 'input': 'The paragraph mentions entities such as Michael Cohen, U.S. Marshals, and President Donald Trump.', 'label': 'entailment', }, { 'input': 'The paragraph mentions entities like Joe Biden and the Supreme Court.', 'label': 'non-entailment', } ] }, { 'task': 'Tone Classification', 'examples': [ { 'input': 'The paragraph has a serious and legal tone due to the mention of custody and legal decisions.', 'label': 'entailment', }, { 'input': 'The paragraph has a humorous and lighthearted tone.', 'label': 'non-entailment', } ] } ] }