Source: https://seerepo.com/compare/huggingface/peft/vs/p-e-w/heretic
Markdown source: https://seerepo.com/compare/huggingface/peft/vs/p-e-w/heretic.md
Description: peft and heretic share 9 technologies: Hugging Face, peft, torch, transformers, bitsandbytes, accelerate, datasets, torchvision, and psutil. Both are written in Python.

# peft vs heretic

peft and heretic share 9 technologies: Hugging Face, peft, torch, transformers, bitsandbytes, accelerate, datasets, torchvision, and psutil. Both are written in Python.

- [huggingface/peft](https://seerepo.com/r/huggingface/peft): 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.
- [p-e-w/heretic](https://seerepo.com/r/p-e-w/heretic): Training-free language model modification: Remove censorship, suppress slop, reduce sycophancy, and more

## What they share and what sets them apart

- In common: Hugging Face, peft, torch, transformers, bitsandbytes, accelerate, datasets, torchvision, psutil
- Only in peft: Gradio, safetensors, diffusers, pillow
- Only in heretic: Rich, questionary, langdetect, Optuna, lm-eval

## Side by side

| | peft | heretic |
|---|---|---|
| Size | 166,024 lines written, 272 code files | 7,875 lines written, 18 code files |
| Who writes it | 0.1% of its commits signed by AI. With Cursor and Claude Code | 3.4% of its commits signed by AI. With Gemini CLI and Claude Code |
| Activity | Last push November 4, 2026, 1,934 commits, 21,873 stars | Last push November 6, 2026, 235 commits, 39,677 stars |
| Tests | 75 test files. 0.7% of its code files have a test that imports them | 6 test files. 27.8% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, peft or heretic?

peft, with 166,024 lines written; heretic has 7,875.

The proof: [huggingface/peft's code at commit 574c7ca](https://github.com/huggingface/peft/tree/574c7cab277827d7383ae53a0e93e22cf816f476)

### Which has more GitHub stars, peft or heretic?

heretic, with 39,677 stars; peft has 21,873.

The proof: [p-e-w/heretic on GitHub](https://github.com/p-e-w/heretic)

### Which has more tests, peft or heretic?

peft, with 75 test files; heretic has 6.

The proof: [huggingface/peft's code at commit 574c7ca](https://github.com/huggingface/peft/tree/574c7cab277827d7383ae53a0e93e22cf816f476)

### Which was updated more recently, peft or heretic?

heretic: its last push was on November 6, 2026, and peft's on November 4, 2026.

The proof: [p-e-w/heretic's commits on GitHub](https://github.com/p-e-w/heretic/commits)

### Which has more commits signed by AI, peft or heretic?

heretic: an AI signed 3.4% of its commits, with Gemini CLI and Claude Code; in peft, 0.1%.

## Sources

- huggingface/peft: Read on November 5, 2026, at commit 574c7ca (https://github.com/huggingface/peft/tree/574c7cab277827d7383ae53a0e93e22cf816f476)
- p-e-w/heretic: Read on November 6, 2026, at commit ce61e18 (https://github.com/p-e-w/heretic/tree/ce61e18206990bc1f4c51a6cbecd1bfee4b631bb)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
