The task an adapter was trained for, as adapter_config.json records it.
It chooses the model class lucid.peft.get_peft_model and
PeftModel.from_pretrained return: PeftModelForCausalLM for
CAUSAL_LM and so on (MODEL_TYPE_TO_PEFT_MODEL_MAPPING), a plain
PeftModel for an adapter with no task. A classification or
question-answering wrapper makes the model's head trainable when it
has one under the reference's conventional name (classifier /
score, qa_outputs).