metadata
tags:
- adapter-transformers
- llama
datasets:
- Tofu
Adapter BBigBear/Tofu-full for NousResearch/Llama-3.2-1B
An adapter for the NousResearch/Llama-3.2-1B model that was trained on the Tofu dataset and includes a prediction head for causal lm.
This adapter was created for usage with the Adapters library.
Usage
First, install adapters:
pip install -U adapters
Now, the adapter can be loaded and activated like this:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("NousResearch/Llama-3.2-1B")
adapter_name = model.load_adapter("BBigBear/Tofu-full", set_active=True)