From 55fdc0cbe2f695914108a9c0e208127b13bc617e Mon Sep 17 00:00:00 2001 From: calpt Date: Mon, 9 Oct 2023 21:31:55 +0200 Subject: [PATCH] PrefixTuningShim -> PrefixTuningLayer --- docs/contributing/adding_adapters_to_a_model.md | 2 +- src/adapters/methods/prefix_tuning.py | 6 +++--- src/adapters/model_mixin.py | 4 ++-- src/adapters/models/albert/mixin_albert.py | 4 ++-- src/adapters/models/bart/mixin_bart.py | 4 ++-- src/adapters/models/beit/mixin_beit.py | 4 ++-- src/adapters/models/bert/mixin_bert.py | 4 ++-- src/adapters/models/clip/mixin_clip.py | 6 ++++-- src/adapters/models/deberta/mixin_deberta.py | 4 ++-- src/adapters/models/deberta_v2/mixin_deberta_v2.py | 4 ++-- src/adapters/models/distilbert/mixin_distilbert.py | 4 ++-- src/adapters/models/gpt2/mixin_gpt2.py | 4 ++-- src/adapters/models/gptj/mixin_gptj.py | 4 ++-- src/adapters/models/llama/mixin_llama.py | 4 ++-- src/adapters/models/t5/mixin_t5.py | 4 ++-- src/adapters/models/vit/mixin_vit.py | 4 ++-- 16 files changed, 34 insertions(+), 32 deletions(-) diff --git a/docs/contributing/adding_adapters_to_a_model.md b/docs/contributing/adding_adapters_to_a_model.md index f574bb806a..430e146edb 100644 --- a/docs/contributing/adding_adapters_to_a_model.md +++ b/docs/contributing/adding_adapters_to_a_model.md @@ -27,7 +27,7 @@ Now that we have discussed the purpose of every file in `src/adapters/models/