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: House Democrats nominate Nancy Pelosi to be the next speaker. Pelosi faced opposition from numerous members of her party who called for new leadership when Democrats take the House majority in January. If she wins a floor vote in January, she would take the speaker's gavel that she had to cede in Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Event Detection", "examples": [ { "input": "The Democrats nominated Nancy Pelosi to be the next speaker of the House.", "label": "entailment" }, { "input": "Nancy Pelosi was elected as speaker of the House without facing any opposition.", "label": "non-entailment" } ] }, { "task": "Sentiment Classification", "examples": [ { "input": "There is a sense of tension among House Democrats regarding the nomination of Nancy Pelosi.", "label": "entailment" }, { "input": "The sentiment among House Democrats about Nancy Pelosi's nomination was overwhelmingly positive.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "House Democrats nominated Nancy Pelosi to be the next speaker.", "label": "entailment" }, { "input": "The process of nominating Nancy Pelosi as the next speaker will happen in the future.", "label": "non-entailment" } ] }, { "task": "Uncertainty Identification", "examples": [ { "input": "It is uncertain if Nancy Pelosi will win the floor vote to become the speaker.", "label": "entailment" }, { "input": "Nancy Pelosi is guaranteed to become the next speaker without any opposition.", "label": "non-entailment" } ] } ] }