Parameter efficient fine-tuning (PEFT): Adapters in PyTorch
Apply parameter-efficient fine-tuning (PEFT) in PyTorch using adapters! This hands-on project walks you through fine-tuning a transformer-based neural network using a bottleneck adapter that improves the efficiency of training and storage. Upon completion, you will have enhanced your skills in incorporating adapters and fine-tuning pre-existing models, and you will have gained insights into the advantages and disadvantages of different fine-tuning methods.
4.7 (11 Reviews)

Language
- English
Topic
- Artificial Intelligence
Enrollment Count
- 68
Skills You Will Learn
- Artificial Intelligence, Generative AI, Python, PyTorch, NLP, Deep Learning
Offered By
- IBMSkillsNetwork
Estimated Effort
- 45 minutes
Platform
- SkillsNetwork
Last Update
- March 13, 2025
A look at the project ahead
- Efficient training: During the training process, a significantly smaller number of weights must be updated. This leads to a more efficient training process compared to full fine-tuning.
- Efficient storage: The models can be stored compactly by only saving the weights for the adapter's layers and the output layer. This is because the weights in the original model, except for the output layer, remain unchanged.
- Reduced overfitting: Adapter-based PEFT techniques, which preserve the original weights, are less prone to overfitting. This is largely due to the fact that the adapted model retains a substantial part of the original model’s structure.
Learning objectives
- Understand how adapters work
- Apply adapters to linear layers in a neural network
- Train a neural network in a parameter efficient way by training just the adapted layers
What you'll need

Language
- English
Topic
- Artificial Intelligence
Enrollment Count
- 68
Skills You Will Learn
- Artificial Intelligence, Generative AI, Python, PyTorch, NLP, Deep Learning
Offered By
- IBMSkillsNetwork
Estimated Effort
- 45 minutes
Platform
- SkillsNetwork
Last Update
- March 13, 2025
Instructors
Wojciech "Victor" Fulmyk
Data Scientist at IBM
As a data scientist at the Ecosystems Skills Network at IBM and a Ph.D. candidate in Economics at the University of Calgary, I bring a wealth of experience in unraveling complex problems through the lens of data. What sets me apart is my ability to seamlessly merge technical expertise with effective communication, translating intricate data findings into actionable insights for stakeholders at all levels. Follow my projects to learn data science principles, machine learning algorithms, and artificial intelligence agent implementations.
Read moreJoseph Santarcangelo
Senior Data Scientist at IBM
Joseph has a Ph.D. in Electrical Engineering, his research focused on using machine learning, signal processing, and computer vision to determine how videos impact human cognition. Joseph has been working for IBM since he completed his PhD.
Read moreAshutosh Sagar
Data Scientist
I am currently a Data Scientist at IBM with a Master’s degree in Computer Science from Dalhousie University. I specialize in natural language processing, particularly in semantic similarity search, and have a strong background in working with advanced AI models and technologies.
Read more