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: Wal-Mart is planning to test Tesla's electric s emitractor-trailer and has preordered 15, the retailer says. The pilot is planned for the U.S. and Canada. J.B. Hunt Transport Services announced earlier on Friday it has reserved "multiple" new electric semis just unveiled by Elon Musk. Wal-Mart i Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Event Detection", "examples": [ { "input": "An event was detected concerning Wal-Mart's plans to test Tesla's electric semitractor-trailer.", "label": "entailment" }, { "input": "No significant events related to transportation or vehicle testing were mentioned.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "Entities such as Wal-Mart, Tesla, and J.B. Hunt Transport Services were recognized in the paragraph.", "label": "entailment" }, { "input": "The paragraph identified entities like Microsoft and Amazon related to electric vehicles.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The text uses the future tense to discuss Wal-Mart's plans to test Tesla's semitractor-trailer.", "label": "entailment" }, { "input": "The text predominantly uses the past tense to describe finalized events.", "label": "non-entailment" } ] }, { "task": "Geographical Recognition", "examples": [ { "input": "The paragraph includes geographical mentions of the U.S. and Canada.", "label": "entailment" }, { "input": "The paragraph refers to European countries as the location for the pilot program.", "label": "non-entailment" } ] }, { "task": "Sector Identification", "examples": [ { "input": "The text touches on the transportation and retail sectors.", "label": "entailment" }, { "input": "The paragraph discusses the healthcare and pharmaceutical sectors.", "label": "non-entailment" } ] } ] }