#806 · Primary category: Education & Research
OpenICL
OpenICL is an open-source framework to facilitate research, development, and prototyping of in-context learning.
Project last updated:10/03/23
GitHub Stars
589
Forks
32
Contributors
7
License
Apache-2.0
Why we included this project
OpenICL is aimed at researchers and graduate students who want to run in-context learning experiments without building every pipeline stage by hand. The framework turns the usual ICL workflow into a handful of Python objects: a DatasetReader loads and maps your data, a PromptTemplate controls how demonstrations and test inputs are formatted, a Retriever picks the in-context examples, and an Inferencer runs the model and scores the predictions. Several retrieval and inference strategies are included, so you can swap components and compare methods on the same task instead of writing glue code. LLaMA and self-consistency decoding are supported, and the paper plus the example notebooks give newcomers a clear way in. That makes it a practical base for systematic comparisons of language models and for fast prompting experiments.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI