Ross ROSS = Recommend OSS · open-source software intelligence for agents

Ma-Lab-Berkeley/CRATE

Code for CRATE (Coding RAte reduction TransformEr). observed · 2026-08-28

github.com/Ma-Lab-Berkeley/CRATE · Python · MIT (permissive) 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: 1192
  • days_rel: n/a
  • days_push: 679
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1275 stars · 99 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

CRATE is the official PyTorch implementation of the Coding RAte reduction TransformEr, a family of 'white-box' transformer architectures derived mathematically as unrolled optimization of a sparse rate reduction objective. It accompanies published NeurIPS, CPAL, and ICLR papers and provides models and training code for vision tasks such as segmentation and masked autoencoding.

Use cases

  • implement white-box transformer architectures in pytorch
  • train an interpretable vision transformer
  • reproduce the NeurIPS 2023 CRATE paper results
  • study transformers as optimization of a compression objective
  • experiment with sparse rate reduction losses
  • pretrain masked autoencoding models with structured diffusion

When to choose

  • you are researching or teaching principled, mathematically derived transformer architectures
  • you want to reproduce or extend the CRATE papers' vision experiments
  • you need an interpretable alternative to black-box transformer blocks in PyTorch

When to avoid

  • you need a production-ready, plug-and-play transformer with state-of-the-art benchmarks
  • you want a maintained general-purpose model zoo rather than research code
  • you are not working in PyTorch or need heavy ecosystem tooling

Facets

library · maturity active

deep-learning machine-learning transformers deep-learning machine-learning computer-vision python pytorch white-box-transformer sparse-rate-reduction transformer-architecture interpretability vision-transformer masked-autoencoder self-supervised-learning image-segmentation research-code natural-language-processing gpu

1 source

Member repositories

RepositoryRoleHealth v2
Ma-Lab-Berkeley/CRATEmain29

For agents

markdown · JSON · MCP: product_card(name="Ma-Lab-Berkeley/CRATE")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem