|
--- |
|
tags: |
|
- t5 |
|
- adapter-transformers |
|
- adapterhub:sum/xsum |
|
--- |
|
|
|
# Adapter `ilhami/my-awesome-adapter` for t5-small |
|
|
|
An [adapter](https://adapterhub.ml) for the `t5-small` model that was trained on the [sum/xsum](https://adapterhub.ml/explore/sum/xsum/) dataset and includes a prediction head for seq2seq lm. |
|
|
|
This adapter was created for usage with the **[Adapters](https://github.com/Adapter-Hub/adapters)** library. |
|
|
|
## Usage |
|
|
|
First, install `adapters`: |
|
|
|
``` |
|
pip install -U adapters |
|
``` |
|
|
|
Now, the adapter can be loaded and activated like this: |
|
|
|
```python |
|
from adapters import AutoAdapterModel |
|
|
|
model = AutoAdapterModel.from_pretrained("t5-small") |
|
adapter_name = model.load_adapter("ilhami/my-awesome-adapter", source="hf", set_active=True) |
|
``` |
|
|
|
## Architecture & Training |
|
|
|
<!-- Add some description here --> |
|
|
|
## Evaluation results |
|
|
|
<!-- Add some description here --> |
|
|
|
## Citation |
|
|
|
<!-- Add some description here --> |