Run this model with HF Jobs

Run AdapterHub/bert-base-uncased_qa_squad1_pfeiffer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/AdapterHub/bert-base-uncased_qa_squad1_pfeiffer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/AdapterHub/bert-base-uncased_qa_squad1_pfeiffer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Adapter bert-base-uncased_qa_squad1_pfeiffer for bert-base-uncased

Adapter for bert-base in Pfeiffer architecture trained on the SQuAD 1.1 dataset for 15 epochs with early stopping and a learning rate of 3e-4.

This adapter was created for usage with the Adapters library.

Usage

First, install adapters:

pip install -U adapters

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

from adapters import AutoAdapterModel

model = AutoAdapterModel.from_pretrained("bert-base-uncased")
adapter_name = model.load_adapter("AdapterHub/bert-base-uncased_qa_squad1_pfeiffer")
model.set_active_adapters(adapter_name)

Architecture & Training

  • Adapter architecture: pfeiffer
  • Prediction head: question answering
  • Dataset: SQuAD 1.1

Author Information

Citation


This adapter has been auto-imported from https://github.com/Adapter-Hub/Hub/blob/master/adapters/ukp/bert-base-uncased_qa_squad1_pfeiffer.yaml.

Downloads last month
2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train AdapterHub/bert-base-uncased_qa_squad1_pfeiffer