BigTMiami/amazon_helpfulness_TAPT_pretraining_dataset
Viewer • Updated • 56.6k • 5
How to use BigTMiami/pretrain_dapt_tapt_seq_bn_adpater with Adapters:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("roberta-base")
model.load_adapter("BigTMiami/pretrain_dapt_tapt_seq_bn_adpater", set_active=True)BigTMiami/pretrain_dapt_tapt_seq_bn_adpater for roberta-base
An adapter for the roberta-base model that was trained on the BigTMiami/amazon_helpfulness_TAPT_pretraining_dataset dataset.
This adapter was created for usage with the Adapters library.
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("roberta-base")
adapter_name = model.load_adapter("BigTMiami/pretrain_dapt_tapt_seq_bn_adpater", source="hf", set_active=True)