metadata
tags:
- t5
- adapter-transformers
- adapterhub:sum/xsum
Adapter ilhami/my-awesome-adapter
for t5-small
An adapter for the t5-small
model that was trained on the sum/xsum dataset and includes a prediction head for seq2seq 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("t5-small")
adapter_name = model.load_adapter("ilhami/my-awesome-adapter", source="hf", set_active=True)