#87 · Primary category: Foundation Models
LLaMA-Adapter
[ICLR 2024] Fine-tuning LLaMA to follow Instructions within 1 Hour and 1.2M Parameters
Project last updated:03/14/24
GitHub Stars
5.9K
Forks
378
Contributors
13
License
GPL-3.0
Why we included this project
For anyone working with LLaMA-family checkpoints who wants instruction-following or multimodal behavior without the cost of full fine-tuning, this is the reference implementation of the LLaMA-Adapter method. It trains only about 1.2M parameters via zero-init attention adapters, which brings the job down to roughly an hour on commodity hardware while staying competitive with fully fine-tuned baselines such as Stanford Alpaca. The repo also ships fine-tuned checkpoints, a V2 variant for image-conditioned dialog, and notes on hooking it into LangChain, so it works as both a practical starting point and a clear example of how parameter-efficient tuning compares with other PEFT approaches.
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
transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
CLIP
CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
MiniCPM-V
A Pocket-Sized MLLM for Ultra-Efficient Image and Video Understanding on Your Phone
generative-models
Generative Models by Stability AI
unilm
Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities