Run2 subject classifier
Maps extracted text to one of the 5 defined subjects.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run2_subject-classifierAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.7 KB, 175 tokens by cl100k_base, as published. Nobody here has run it
Subject Classifier Skill
Classifies text into: LLM, trapped_ion_and_qc, black_hole, DNA, or music_history.
Usage
def classify(text):
text = text.lower()
mapping = {
'LLM': ['language model', 'transformer', 'attention', 'gpt', 'llm'],
'trapped_ion_and_qc': ['trapped ion', 'quantum computer', 'qubit', 'entanglement'],
'black_hole': ['black hole', 'event horizon', 'singularity'],
'DNA': ['dna', 'genome', 'protein', 'gene', 'sequencing']
}
for category, keywords in mapping.items():
if any(keyword in text for keyword in keywords):
return category
return 'music_history'
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.