#819 · Primary category: Education & Research
LM-BFF
[ACL 2021] LM-BFF: Better Few-shot Fine-tuning of Language Models https://arxiv.org/abs/2012.15723
Project last updated:08/29/22
GitHub Stars
726
Forks
131
Contributors
3
License
MIT
Why we included this project
LM-BFF is the official code for the ACL 2021 paper on making pre-trained language models work with very few labeled examples. Researchers and practitioners fine-tuning BERT- or RoBERTa-style models on small datasets will find a concrete recipe here: prompt-based fine-tuning with automatically searched templates and demonstrations placed in context. The repo ships scripts to generate k-shot splits from fifteen standard classification datasets, run multi-seed experiments, and aggregate mean and standard deviation results, so it is a practical starting point for reproducing few-shot baselines or building your own prompt experiments. Treat it as a research artifact rather than a maintained library; you will need to adapt the code and pin the older transformers version it targets. It is a solid reference for anyone studying or benchmarking few-shot NLP.
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