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: Twilio is a communications company that uses a cloud-based software to help businesses insert "real-time" communication into their apps. Amazon's Pinpoint system now allows users to trigger 2-way SMS messaging, according to a Tuesday blog post.
Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Topic Classification", "examples": [ { "input": "The paragraph discusses innovations in communication technology by companies like Twilio and Amazon.", "label": "entailment" }, { "input": "The paragraph focuses on agriculture and farming techniques.", "label": "non-entailment" } ] }, { "task": "Entity Recognition", "examples": [ { "input": "Entities such as Twilio and Amazon are mentioned in the paragraph.", "label": "entailment" }, { "input": "The paragraph includes the entities Google and Microsoft.", "label": "non-entailment" } ] }, { "task": "Trend Detection", "examples": [ { "input": "The paragraph highlights a trend towards real-time communication integration in apps.", "label": "entailment" }, { "input": "The paragraph showcases a trend in declining interest in cloud-based solutions.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The paragraph references a present development with Amazon’s Pinpoint system.", "label": "entailment" }, { "input": "The paragraph discusses historical events from the 1990s.", "label": "non-entailment" } ] } ] }