AdapterHub / roberta-base-pf-rte

huggingface.co
Total runs: 14
24-hour runs: 1
7-day runs: 1
30-day runs: 7
Model's Last Updated: November 15 2021
text-classification

Introduction of roberta-base-pf-rte

Model Details of roberta-base-pf-rte

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

An adapter for the roberta-base model that was trained on the nli/rte 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-rte", 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-rte on huggingface.co

14
Total runs
1
24-hour runs
1
3-day runs
1
7-day runs
7
30-day runs

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

roberta-base-pf-rte huggingface.co

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

roberta-base-pf-rte huggingface.co Url

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

AdapterHub roberta-base-pf-rte online free

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

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

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

roberta-base-pf-rte install

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

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

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

Url of roberta-base-pf-rte

roberta-base-pf-rte huggingface.co Url

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

AdapterHub
ORGANIZATIONS

Other API from AdapterHub