princeton-nlp/MeZO
[NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333 observed · 2026-08-28
Health v2 · maintenance only
29/100
- Activity 0
- Release rhythm 35
- Longevity 85
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1199
- days_rel: n/a
- days_push: 965
- n_releases_24m: 0
Adoption not part of the score
1173 stars · 89 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MeZO is a memory-efficient zeroth-order optimizer that fine-tunes language models using only forward passes, with the same memory footprint as inference. It is a research implementation based on HuggingFace's Trainer, supporting full-parameter and parameter-efficient tuning like LoRA and prefix tuning.
Use cases
- fine-tune a 30B parameter language model on a single 80GB GPU
- train LLMs without backpropagation to reduce GPU memory usage
- optimize non-differentiable objectives like accuracy or F1
- apply LoRA or prefix tuning with zeroth-order optimization
- reproduce NeurIPS 2023 MeZO paper experiments on OPT and RoBERTa models
When to choose
- GPU memory is the bottleneck for fine-tuning large language models
- you need to optimize non-differentiable objectives
- you want parameter-efficient fine-tuning without storing optimizer states
When to avoid
- you need fast convergence on small models where Adam fine-tuning fits in memory
- you require a production-ready training framework rather than research code
- your task benefits strongly from gradient-based optimization
Facets
library · maturity stable
llm-training machine-learning deep-learning large-language-models machine-learning deep-learning python zeroth-order-optimization memory-efficient fine-tuning lora prefix-tuning research-code huggingface-trainer gpu
1 source
- readme: https://github.com/princeton-nlp/MeZO · fetched 2026-08-28 · 830188ac5c8c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| princeton-nlp/MeZO | main | 29 |
For agents
markdown · JSON · MCP: product_card(name="princeton-nlp/MeZO")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem