Code for "From Context to Skills: Can Language Models Learn from Context Skillfully? "
Ctx2Skill is a framework that enables language models to autonomously generate and refine context-specific skills through a multi-agent self-play process, enhancing performance on complex reasoning tasks without human intervention.
How It Works
You stumble upon this clever tool on GitHub that helps AI get smarter at handling long, tricky documents by learning custom tricks on its own.
You download the ready-to-use files and some sample conversations to practice with.
You connect it to a smart AI service like ChatGPT so the tool can chat and learn.
You kick off a fun self-play game where AI buddies challenge each other, judge answers, and invent better ways to understand the documents.
Over a few rounds, it automatically creates helpful natural-language tips and rules tailored just for those documents.
You try out the AI with these new skills on tough questions from the samples.
Your AI now solves way more challenges correctly, proving it learned skillful tricks from the context!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.