AdapterHub / bert-base-uncased-pf-mnli

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

Introduction of bert-base-uncased-pf-mnli

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

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

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

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

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

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

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

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

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

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

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

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

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

bert-base-uncased-pf-mnli install

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

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

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

Url of bert-base-uncased-pf-mnli

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

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

AdapterHub
ORGANIZATIONS

Other API from AdapterHub