lenglaender's picture
Upload model
3b1be59 verified
|
raw
history blame
No virus
931 Bytes
metadata
tags:
  - t5
  - adapter-transformers
datasets:
  - yelp_polarity

Adapter lenglaender/xlm-roberta-base-lora-lm-yelp-polarity for google-t5/t5-base

An adapter for the google-t5/t5-base model that was trained on the yelp_polarity dataset and includes a prediction head for seq2seq lm.

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("google-t5/t5-base")
adapter_name = model.load_adapter("lenglaender/xlm-roberta-base-lora-lm-yelp-polarity", source="hf", set_active=True)

Architecture & Training

LoRA has r=8 and alpha=8

Evaluation results

Citation