| { | |
| "label2id": { | |
| "biology": 0, | |
| "business": 1, | |
| "chemistry": 2, | |
| "computer science": 3, | |
| "economics": 4, | |
| "engineering": 5, | |
| "health": 6, | |
| "history": 7, | |
| "law": 8, | |
| "math": 9, | |
| "other": 10, | |
| "philosophy": 11, | |
| "physics": 12, | |
| "psychology": 13 | |
| }, | |
| "id2label": { | |
| "0": "biology", | |
| "1": "business", | |
| "2": "chemistry", | |
| "3": "computer science", | |
| "4": "economics", | |
| "5": "engineering", | |
| "6": "health", | |
| "7": "history", | |
| "8": "law", | |
| "9": "math", | |
| "10": "other", | |
| "11": "philosophy", | |
| "12": "physics", | |
| "13": "psychology" | |
| }, | |
| "instruction_template": "You are an expert academic classifier. Classify the following question into exactly ONE category. Respond with ONLY the category name.\n\nCategories: biology, business, chemistry, computer science, economics, engineering, health, history, law, math, other, philosophy, physics, psychology\n\nExamples:\nQ: What is the optimal capital structure for a corporation?\nA: business\n\nQ: How do neurons transmit signals?\nA: biology\n\nQ: What are the principles of contract law?\nA: law\n\nNow classify this question:\nQ: {question}\nA:" | |
| } |