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: TSA will not permit the stylized Coke bottles from Galaxy's Edge on flights. The souvenir has been banned because its looks like a replica explosive. Travelers who visit the planet of Batuu are permitted to bring hand-built lightsabers and astromech droids sold at the Black Spire Outpost in carry- Assistant:
- Assistant
{ "relevant_tasks": [ { "task": "Entity Recognition", "examples": [ { "input": "The paragraph mentions the TSA, Galaxy's Edge, Batuu, Black Spire Outpost, and Coke bottles.", "label": "entailment" }, { "input": "The paragraph discusses the entities NASA, Starfleet Academy, and Vulcan.", "label": "non-entailment" } ] }, { "task": "Topic Classification", "examples": [ { "input": "The paragraph is about transportation security and travel regulations.", "label": "entailment" }, { "input": "The paragraph is about culinary arts and cooking recipes.", "label": "non-entailment" } ] }, { "task": "Risk Classification", "examples": [ { "input": "The paragraph identifies a security risk with replica explosives on flights.", "label": "entailment" }, { "input": "The paragraph outlines a risk related to food contamination on flights.", "label": "non-entailment" } ] }, { "task": "Tense Identification", "examples": [ { "input": "The paragraph predominantly uses present tense verbs.", "label": "entailment" }, { "input": "The paragraph predominantly uses future tense verbs.", "label": "non-entailment" } ] }, { "task": "Intent Detection", "examples": [ { "input": "The paragraph informs travelers about restrictions on certain souvenirs.", "label": "entailment" }, { "input": "The paragraph intends to promote travel packages to Galaxy's Edge.", "label": "non-entailment" } ] } ] }