$npx skillfedfor your agent

adapters

A Unified Library for Parameter-Efficient and Modular Transfer Learning

Worth itPyPI Artificial IntelligenceReleased Apr 202682.8K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — adapters-1.3.0-py3-none-any.whl
v1.3.0 · released 2026-04-26 · Python >=3.9.0 · 2 runtime deps: transformers, packaging

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—efficient fine-tuning of large models—with a well-documented, unified interface. Install it if you're doing transfer learning on transformer models and want to reduce training costs and memory usage.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+ and PyTorch 2.0+
  • Low install friction with only 2 runtime dependencies (transformers and packaging).
  • The package is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-04-26 (110 days) · last repo commit 2026-04-26 · 2,824 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,826 downloads/mo, #14,130 on PyPI

Verify before relying

pip install -U adapters

from adapters import AutoAdapterModel
from transformers import AutoTokenizer

model = AutoAdapterModel.from_pretrained("roberta-base")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
model.load_adapter("AdapterHub/roberta-base-pf-imdb", source="hf", set_active=True)
print(model(**tokenizer("This works great!", return_tensors="pt")).logits)
  • Whether all 10+ adapter methods mentioned are fully functional in version 1.3.0
  • Compatibility scope with the full range of 20+ Transformer models claimed
  • Performance characteristics and memory savings compared to full model fine-tuning
Same gist for agents: .md · .json

What it is and what it does

Adapters is an extension library for HuggingFace Transformers that integrates parameter-efficient fine-tuning methods into transformer models. Instead of updating all model weights during training, adapters add small trainable modules (like LoRA, prefix tuning, or bottleneck adapters) that achieve competitive performance with far fewer parameters. The library provides a unified interface for training these adapters, loading pre-trained ones from AdapterHub, and composing multiple adapters together for multi-task or ensemble scenarios.

The package depends on transformers and packaging, and requires Python 3.9+ and PyTorch 2.0+. It's designed for researchers and practitioners working on NLP tasks who want efficient fine-tuning without the memory and compute costs of full model updates. You can use it to adapt existing model setups, load community-shared adapters, or combine multiple adapters in a single model using composition blocks.

Use it for

  • Fine-tune large language models on domain-specific tasks with minimal GPU memory by training only adapter weights instead of all parameters.
  • Load and apply pre-trained adapters from AdapterHub to perform sentiment analysis, question classification, or other NLP tasks on models like RoBERTa or T5.
  • Compose multiple task-specific adapters in parallel or sequence to handle multi-task learning or ensemble predictions in a single model.
  • Experiment with different parameter-efficient methods (LoRA, prefix tuning, bottleneck adapters) on the same base model using a unified configuration interface.
  • Train quantized adapters (Q-LoRA, Q-Bottleneck) for even smaller memory footprints on resource-constrained hardware.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—efficient fine-tuning of large models—with a well-documented, unified interface. Install it if you're doing transfer learning on transformer models and want to reduce training costs and memory usage.

Install

adapters on PyPI

Before you install

Low install friction with only 2 runtime dependencies (transformers and packaging). The package is actively maintained with a recent release and no known vulnerabilities.

Requires Python 3.9+ and PyTorch 2.0+

License in practice

Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install -U adapters

from adapters import AutoAdapterModel
from transformers import AutoTokenizer

model = AutoAdapterModel.from_pretrained("roberta-base")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
model.load_adapter("AdapterHub/roberta-base-pf-imdb", source="hf", set_active=True)
print(model(**tokenizer("This works great!", return_tensors="pt")).logits)

Verify before relying

  • Whether all 10+ adapter methods mentioned are fully functional in version 1.3.0
  • Compatibility scope with the full range of 20+ Transformer models claimed
  • Performance characteristics and memory savings compared to full model fine-tuning

Package facts

LicenseApache permissive
Python supportSupports the current Python release >=3.9.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
transformerspackaging
MaintenanceActively maintained 110 days since the last release
Last repo commit
First released
Downloads82,826 / month, #14,130 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: adapters-1.3.0-py3-none-any.whl

Tags

Capabilities
parameter efficient fine tuningadapter methods transformerslora prefix tuningmodular transfer learning nlplightweight model adaptationadapter compositionpeft transformers
Topics
parameter-efficient-tuningtransformer-extensionnlp-training
PyPI keywords
NLPdeeplearningtransformerpytorchBERTadaptersPEFTLoRA

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “adapter methods transformers”

  • adaptersAdapters adds parameter-efficient fine-tuning methods to HuggingFace…
  • peftPEFT implements parameter-efficient fine-tuning methods (LoRA, QLoRA,…
  • loralibloralib provides PyTorch modules that implement Low-Rank Adaptation…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also loralib · peft · fair-esm · xformers · lycoris-lora · color-matcher · lintrunner-adapters · llama-index-embeddings-huggingface · spacy-transformers

Further reading