AdapterHub / bert-base-uncased-pf-copa

huggingface.co
Total runs: 13
24-hour runs: 1
7-day runs: 3
30-day runs: 5
Model's Last Updated: November 25 2021

Introduction of bert-base-uncased-pf-copa

Model Details of bert-base-uncased-pf-copa

Adapter AdapterHub/bert-base-uncased-pf-copa for bert-base-uncased

An adapter for the bert-base-uncased model that was trained on the comsense/copa 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("bert-base-uncased")
adapter_name = model.load_adapter("AdapterHub/bert-base-uncased-pf-copa", 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 bert-base-uncased-pf-copa on huggingface.co

13
Total runs
1
24-hour runs
1
3-day runs
3
7-day runs
5
30-day runs

More Information About bert-base-uncased-pf-copa huggingface.co Model

bert-base-uncased-pf-copa huggingface.co

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

bert-base-uncased-pf-copa huggingface.co Url

https://huggingface.co/AdapterHub/bert-base-uncased-pf-copa

AdapterHub bert-base-uncased-pf-copa online free

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

AdapterHub bert-base-uncased-pf-copa online free url in huggingface.co:

https://huggingface.co/AdapterHub/bert-base-uncased-pf-copa

bert-base-uncased-pf-copa install

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

bert-base-uncased-pf-copa install url in huggingface.co:

https://huggingface.co/AdapterHub/bert-base-uncased-pf-copa

Url of bert-base-uncased-pf-copa

bert-base-uncased-pf-copa huggingface.co Url

Provider of bert-base-uncased-pf-copa huggingface.co

AdapterHub
ORGANIZATIONS

Other API from AdapterHub