AdapterHub / roberta-base-pf-cola

huggingface.co
Total runs: 9
24-hour runs: 0
7-day runs: 0
30-day runs: 2
Model's Last Updated: November 25 2021
text-classification

Introduction of roberta-base-pf-cola

Model Details of roberta-base-pf-cola

Adapter AdapterHub/roberta-base-pf-cola for roberta-base

An adapter for the roberta-base model that was trained on the lingaccept/cola dataset and includes a prediction head for classification.

This adapter was created for usage with the adapter-transformers library.

Usage

First, install adapter-transformers :

pip install -U adapter-transformers

Note: adapter-transformers is a fork of transformers that acts as a drop-in replacement with adapter support. More

Now, the adapter can be loaded and activated like this:

from transformers import AutoModelWithHeads

model = AutoModelWithHeads.from_pretrained("roberta-base")
adapter_name = model.load_adapter("AdapterHub/roberta-base-pf-cola", source="hf")
model.active_adapters = adapter_name
Architecture & Training

The training code for this adapter is available at https://github.com/adapter-hub/efficient-task-transfer . In particular, training configurations for all tasks can be found here .

Evaluation results

Refer to the paper for more information on results.

Citation

If you use this adapter, please cite our paper "What to Pre-Train on? Efficient Intermediate Task Selection" :

@inproceedings{poth-etal-2021-pre,
    title = "{W}hat to Pre-Train on? {E}fficient Intermediate Task Selection",
    author = {Poth, Clifton  and
      Pfeiffer, Jonas  and
      R{"u}ckl{'e}, Andreas  and
      Gurevych, Iryna},
    booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2021",
    address = "Online and Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.emnlp-main.827",
    pages = "10585--10605",
}

Runs of AdapterHub roberta-base-pf-cola on huggingface.co

9
Total runs
0
24-hour runs
1
3-day runs
0
7-day runs
2
30-day runs

More Information About roberta-base-pf-cola huggingface.co Model

roberta-base-pf-cola huggingface.co

roberta-base-pf-cola huggingface.co is an AI model on huggingface.co that provides roberta-base-pf-cola's model effect (), which can be used instantly with this AdapterHub roberta-base-pf-cola model. huggingface.co supports a free trial of the roberta-base-pf-cola model, and also provides paid use of the roberta-base-pf-cola. Support call roberta-base-pf-cola model through api, including Node.js, Python, http.

roberta-base-pf-cola huggingface.co Url

https://huggingface.co/AdapterHub/roberta-base-pf-cola

AdapterHub roberta-base-pf-cola online free

roberta-base-pf-cola huggingface.co is an online trial and call api platform, which integrates roberta-base-pf-cola's modeling effects, including api services, and provides a free online trial of roberta-base-pf-cola, you can try roberta-base-pf-cola online for free by clicking the link below.

AdapterHub roberta-base-pf-cola online free url in huggingface.co:

https://huggingface.co/AdapterHub/roberta-base-pf-cola

roberta-base-pf-cola install

roberta-base-pf-cola is an open source model from GitHub that offers a free installation service, and any user can find roberta-base-pf-cola on GitHub to install. At the same time, huggingface.co provides the effect of roberta-base-pf-cola install, users can directly use roberta-base-pf-cola installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

roberta-base-pf-cola install url in huggingface.co:

https://huggingface.co/AdapterHub/roberta-base-pf-cola

Url of roberta-base-pf-cola

roberta-base-pf-cola huggingface.co Url

Provider of roberta-base-pf-cola huggingface.co

AdapterHub
ORGANIZATIONS

Other API from AdapterHub