AdapterHub / roberta-base-pf-commonsense_qa

huggingface.co
Total runs: 41
24-hour runs: -1
7-day runs: 4
30-day runs: 37
Model's Last Updated: May 10 2024

Introduction of roberta-base-pf-commonsense_qa

Model Details of roberta-base-pf-commonsense_qa

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

An adapter for the roberta-base model that was trained on the comsense/csqa dataset and includes a prediction head for multiple choice.

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-commonsense_qa", 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-what-to-pre-train-on,
    title={What to Pre-Train on? Efficient Intermediate Task Selection},
    author={Clifton Poth and Jonas Pfeiffer and Andreas Rücklé and Iryna Gurevych},
    booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
    month = nov,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2104.08247",
    pages = "to appear",
}

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

41
Total runs
-1
24-hour runs
0
3-day runs
4
7-day runs
37
30-day runs

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

roberta-base-pf-commonsense_qa huggingface.co

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

roberta-base-pf-commonsense_qa huggingface.co Url

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

AdapterHub roberta-base-pf-commonsense_qa online free

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

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

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

roberta-base-pf-commonsense_qa install

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

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

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

Url of roberta-base-pf-commonsense_qa

roberta-base-pf-commonsense_qa huggingface.co Url

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

AdapterHub
ORGANIZATIONS

Other API from AdapterHub