peremartra/optipfair
Structured pruning and bias visualization for Large Language Models. Tools for LLM optimization and fairness analysis.
This tool helps AI developers make Large Language Models (LLMs) more efficient and fair. It takes an existing LLM, applies methods to reduce its size and complexity (pruning), and analyzes it for unwanted biases. The result is a smaller, faster, and more transparent LLM that performs well and exhibits fewer biases.
Available on PyPI.
Use this if you are developing LLMs and need to optimize their performance by reducing size and improving inference speed, while also ensuring they are fair and unbiased.
Not ideal if you are looking for a general-purpose machine learning library or if your primary goal is to train LLMs from scratch rather than optimize existing ones.
Stars
29
Forks
8
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 02, 2026
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/peremartra/optipfair"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
VainF/Torch-Pruning
[CVPR 2023] DepGraph: Towards Any Structural Pruning; LLMs, Vision Foundation Models, etc.
horseee/LLM-Pruner
[NeurIPS 2023] LLM-Pruner: On the Structural Pruning of Large Language Models. Support...
CASIA-LMC-Lab/FLAP
[AAAI 2024] Fluctuation-based Adaptive Structured Pruning for Large Language Models
princeton-nlp/LLM-Shearing
[ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning
VITA-Group/LiGO
[ICLR 2023] "Learning to Grow Pretrained Models for Efficient Transformer Training" by Peihao...