Views
No views yet
.cube LUT that bakes in exactly that look; given a request a single global LUT physically
cannot satisfy (e.g. "remove the person on the left") it emits <unsupported> and refuses.ericrcwu/LUT_SLM (see that card for the full
data story). The Stage-1 request router lives in
ericrcwu/LUT_SLM_interpreter.Status — research artifacts, work in progress. These are smoke-scale / bilevel-search run outputs, not a finalized release. Treat them as reproducible checkpoints from the collapse-fix and two-stage experiments.
adapter_manifest.json), except distill_r1_distilled_corpus/, which holds a distilled data
corpus rather than weights.| Subfolder | What it is |
|---|---|
p6_twostage_d0f9c744_smokefull/ | Deployed generator. P6 two-stage run adapter used by the webapp / Modal deploy (deploy/modal_app.py). mean train loss ≈ 1.677, 182 steps, lr 2e-4. |
bl_63cd1bf7_smokefull/ | One-stage full-run winner from the bilevel-over-SFT search. mean train loss ≈ 1.747, 162 steps, lr 3e-4. |
bl_a0ccbcff_smokefull/ | Bilevel baseline adapter (full smoke run). |
bl_a0ccbcff_smoke600/ | Bilevel baseline adapter (600-example smoke run). |
distill_r1_smokefull/ | Distillation round-1 adapter. |
distill_r1_distilled_corpus/ | Distilled corpus (active_rows.jsonl, active_manifest.json, harvest_cache.jsonl) — data, not weights. |
adapter_manifest.json):Qwen/Qwen2.5-VL-3B-Instruct, with the output embedding resized to 151,924
tokens — the base vocab plus 259 special LUT tokens (<lut_bos>, <lut_eos>, <unsupported>,
<lut_000>…<lut_255>). Embeddings are tied.r = 16, alpha = 32, dropout = 0.05, targets
q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj.nf4, double-quant, bf16 compute dtype.tokenizer_version = vq_v2_srgbres_17to4_cb256_t64… (encoder 17³ → 4³ latent → 64 codes over a
256-entry codebook; decoder → a residual LUT added to the sRGB identity grid → .cube). The
tokenizer artifacts themselves ship with the LUT_SLM
corpus shards.<lut_bos> <lut_###> ×64 <lut_eos>; unsupported → <unsupported>.adapter_config.json base_model
field points at a local models/base_resized, i.e. the resized base — not a Hub repo).1from huggingface_hub import snapshot_download
2d = snapshot_download("ericrcwu/LUT_SLM_sft_adapters",
3 allow_patterns=["p6_twostage_d0f9c744_smokefull/*"])
4# 1) load Qwen/Qwen2.5-VL-3B-Instruct, 2) add the 259 special tokens + resize embeddings to 151924,
5# 3) PeftModel.from_pretrained(base, f"{d}/p6_twostage_d0f9c744_smokefull").
6# See notebooks/colab_lut_slm_inference.ipynb in the source repo for a runnable end-to-end example
7# (vocab is reconstructed in memory, LUT codes decoded with the frozen tokenizer, image rendered).license: other. The base model is governed by its own Qwen license; these adapters are derived from
the mixed-provenance LUT_SLM corpus, several
sources of which are personal-use / non-redistribution (see that dataset's licensing section).
This repository makes no license claim over the underlying LUTs or images. Research use;
verify each source family's original terms before any redistribution or commercial use.