jdorairaj's picture
Upload model
0d0870b verified
metadata
tags:
  - adapter-transformers
  - bert
datasets:
  - mrpc

Adapter jdorairaj/Bert-uncased-adapter-mrpc for bert-base-uncased

An adapter for the bert-base-uncased model that was trained on the mrpc dataset and includes a prediction head for classification.

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("bert-base-uncased")
adapter_name = model.load_adapter("jdorairaj/Bert-uncased-adapter-mrpc", source="hf", set_active=True)

Architecture & Training

Evaluation results

Citation