BigTMiami/amazon_MICRO_helpfulness_dataset
Viewer • Updated • 15k • 5
How to use BigTMiami/micro_seq_bn_help_class_adp_lr_0002_seed_0 with Adapters:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("roberta-base")
model.load_adapter("BigTMiami/micro_seq_bn_help_class_adp_lr_0002_seed_0", set_active=True)BigTMiami/micro_seq_bn_help_class_adp_lr_0002_seed_0 for roberta-base
An adapter for the roberta-base model that was trained on the BigTMiami/amazon_MICRO_helpfulness_dataset dataset and includes a prediction head for classification.
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/micro_seq_bn_help_class_adp_lr_0002_seed_0", source="hf", set_active=True)