metadata
tags:
- adapter-transformers
- bart
datasets:
- snli
Adapter varun-v-rao/bart-base-bn-adapter-895K-snli-model3
for facebook/bart-base
An adapter for the facebook/bart-base
model that was trained on the snli 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("facebook/bart-base")
adapter_name = model.load_adapter("varun-v-rao/bart-base-bn-adapter-895K-snli-model3", source="hf", set_active=True)