metadata
tags:
- adapter-transformers
- llama
Adapter selimyagci/legal_task_adapter_llama
for meta-llama/Llama-3.2-1B
An adapter for the meta-llama/Llama-3.2-1B
model that was trained on the None dataset.
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("meta-llama/Llama-3.2-1B")
adapter_name = model.load_adapter("selimyagci/legal_task_adapter_llama", set_active=True)