metadata
tags:
- adapter-transformers
- gpt2
Adapter selimyagci/pm_dom_lfactory_gpt2
for gpt2-medium
An adapter for the gpt2-medium
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("gpt2-medium")
adapter_name = model.load_adapter("selimyagci/pm_dom_lfactory_gpt2", set_active=True)