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: Sen. Lindsey Graham, R-S.C., emerged from a closed-door briefing Tuesday by CIA Director Gina Haspel about the killing of journalist Jamal Khashoggi more convinced than ever that Saudi Crown Prince Mohammed bin Salman was "complicit" in the act. The senior senator from South Carolina, and a close Assistant:
- Assistant
{ 'relevant_tasks': [ { 'task': 'Entity Recognition', 'examples': [ { 'input': "The paragraph mentions Senator Lindsey Graham by name.", 'label': 'entailment' }, { 'input': "The paragraph does not mention any political figures.", 'label': 'non-entailment' } ] }, { 'task': 'Event Detection', 'examples': [ { 'input': "The paragraph discusses a briefing about the killing of journalist Jamal Khashoggi.", 'label': 'entailment' }, { 'input': "The paragraph talks about a recent election.", 'label': 'non-entailment' } ] }, { 'task': 'Sentiment Classification', 'examples': [ { 'input': "The paragraph conveys a negative sentiment concerning Saudi Crown Prince Mohammed bin Salman's involvement.", 'label': 'entailment' }, { 'input': "The paragraph conveys a positive sentiment towards Saudi Crown Prince Mohammed bin Salman.", 'label': 'non-entailment' } ] }, { 'task': 'Tense Identification', 'examples': [ { 'input': "The paragraph is written in the past tense.", 'label': 'entailment' }, { 'input': "The paragraph is written in the future tense.", 'label': 'non-entailment' } ] }, { 'task': 'Tone Classification', 'examples': [ { 'input': "The paragraph has a serious tone discussing matters of political intrigue and international relations.", 'label': 'entailment' }, { 'input': "The paragraph has a comedic tone throughout.", 'label': 'non-entailment' } ] } ] }