# PEFT

Framework · https://godooo.ai/en/framework/peft

> PEFT is an open-source AI framework from Hugging Face, launched in 2022, made for developers.

A library for fine-tuning large models by training only a small set of extra parameters.

Main jobs: Fine-tuning. It is open source and free to use. You can use it offline on your own machine, on your own server and through an API.

## At a glance

- **Type:** [Framework](https://godooo.ai/en/browse#framework)
- **Made by:** [Hugging Face](https://godooo.ai/en/org/hugging-face)
- **Launched:** 2022
- **Galaxy:** [Models & APIs](https://godooo.ai/en/galaxy/builders)
- **Open source:** Yes · Apache-2.0
- **Source code:** [github.com/huggingface/peft](https://github.com/huggingface/peft)
- **GitHub stars:** 21,724
- **How you run it:** Runs offline · Self-host · API
- **Made for:** Developers
- **Website:** [huggingface.co](https://huggingface.co/docs/peft)

## What it can do

- **[Fine-tuning](https://godooo.ai/en/capability/fine-tuning)** — main job, _proposed by a machine, awaiting calibration_. “Parameter-Efficient Fine-Tuning (PEFT) methods enable efficient adaptation of large pretrained models to various downstream applications by only fine-tuning a small number of (extra) model parameters instead of all the model's parameters.” (read on [github.com](https://github.com/huggingface/peft), 2026-09-24)

## Alternatives

- **[Axolotl](https://godooo.ai/en/framework/axolotl)** (Open source, free): Also does: Fine-tuning
- **[Kohya's GUI](https://godooo.ai/en/product/kohya-ss)** (Open source, free): Also does: Fine-tuning
- **[LlamaFactory](https://godooo.ai/en/framework/llamafactory)** (Open source, free): Also does: Fine-tuning
- **[nanoGPT](https://godooo.ai/en/framework/nanogpt)** (Open source, free): Also does: Fine-tuning
- **[TRL](https://godooo.ai/en/framework/trl)** (Open source, free): Also does: Fine-tuning
- **[Unsloth](https://godooo.ai/en/framework/unsloth)** (Open source, free): Also does: Fine-tuning
- **[Hugging Face](https://godooo.ai/en/product/huggingface)** (Free plan + paid upgrades): Also does: Fine-tuning
- **[ModelScope](https://godooo.ai/en/product/modelscope)** (Open source, free): Also does: Fine-tuning
- **[OpenAI Platform](https://godooo.ai/en/product/openai-platform)** (Paid): Also does: Fine-tuning
- **[fal](https://godooo.ai/en/product/fal)** (Paid): Also does: Fine-tuning
- **[GPT-SoVITS](https://godooo.ai/en/product/gpt-sovits)** (Open source, free): Also does: Fine-tuning; no code needed
- **[LiblibAI 哩布哩布](https://godooo.ai/en/product/liblib)** (Free plan + paid upgrades): Also does: Fine-tuning; no code needed

## Connections

- **Applies:** [LoRA](https://godooo.ai/en/concept/lora)
- **Integrates with:** [Transformers](https://godooo.ai/en/framework/transformers)

## Questions

### What is PEFT?

PEFT is an open-source AI framework from Hugging Face, launched in 2022, made for developers. A library for fine-tuning large models by training only a small set of extra parameters.

### Is PEFT free?

Yes. PEFT is open source (Apache-2.0) and free to use.

### Is PEFT open source?

Yes, under the Apache-2.0 license. The source code is at https://github.com/huggingface/peft.

### Can PEFT run locally?

Yes. PEFT can run offline on your own machine. It can also be self-hosted on your own server.

### What can PEFT do?

Main jobs: Fine-tuning.

### Who makes PEFT?

PEFT is made by Hugging Face.

### What are open-source alternatives to PEFT?

Open-source ones: Axolotl, Kohya's GUI, LlamaFactory, nanoGPT, TRL, Unsloth, ModelScope and GPT-SoVITS. Others: Hugging Face, OpenAI Platform, fal and LiblibAI 哩布哩布.

## Sources

- [github.com](https://github.com/huggingface/peft) — checked 2026-09-24
- [huggingface.co](https://huggingface.co/docs/peft)

---

Last updated 2026-09-24 · sources checked 2026-09-24 · Markdown version of https://godooo.ai/en/framework/peft. Every page on this site has one: add .md to its address.
