proposal: dwell templates as a frozen model buffer computed in-graph (blocked on 2026-aa-trna-models#117)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- machine-learning
Direzione di ricerca
This is a design proposal, not a ready task: it is explicitly blocked on rnabioco/2026-aa-trna-models#117 and says not to implement anything before that decision. Read the Sketch section and the referenced dwell-template code in leech.dataset and the feature_mean/feature_std affine layer before any discussion. Done would mean a maintainer decision on whether to proceed or deprecate --dwell-template-table.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
The 20 dwell-template ratio channels are the only model input computed by a Python-side dataset transform from an external table: leech.dataset.append_dwell_template_channels, keyed by a position frame the table has to declare (#364/#365), over a range it may not fully cover (#367), against a row it has to find by name (#366), from a file that has to travel with the checkpoint (#369) and that a non-Python consumer has to reimplement -- escapepod-rs has no implementation, so rnabioco/escapepod-models#145's own build script says "the ONNX alone is unrunnable".
Everything in that list disappears if the template is a model parameter: a frozen (n_aa, W) buffer on the feature branch that computes features[dwell_row] / template and concatenates, exactly like the feature_mean/feature_std affine layer --standardize-features already builds (#283). Then it exports into the ONNX graph, is frame-locked to the model's own feature window by construction, needs no TSV at predict time, and the contract's feature input is the corpus's 12 named rows that escapepod-rs already computes.
Sketch
models.components.DwellTemplateRatio(nn.Module): bufferstemplate (n_aa, W)anddwell_row; forward concatenates the ratio rows (1.0 where template <= 0 or dwell <= 0, matching today's semantics).- Declared in the TOML feature branch as a node gated on
when = "${dwell_template is not None}";train_modelloads the table viaload_dwell_template_table, slices it to the corpus feature window, and passes it as thedwell_templateparam;config.jsonrecords the same provenance as #367 plus the buffer lives instate_dict. LeechDatasetstops appending;num_featuresinconfig.jsonstays the corpus row count and the contract stays honest.- Loading a pre-existing checkpoint that recorded
dwell_template_tablekeeps the dataset-side path (no migration).
Blocked on
rnabioco/2026-aa-trna-models#117's base12 vs tmpl-fixed arms. If the mechanism does not clear that decision rule, close this and deprecate --dwell-template-table instead.
Non-goals (now)
Implementing anything before #117 reports.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 11h 17m
- PR unite (30g)
- 23
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rnabioco/leech
-
load_model_from_checkpoint drops num_out/signal_in_channels for models whose __init__ takes **kwargsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 Più di una settimana Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
-
model train-many: one launcher that owns an allocation and trains a queue of configs across its GPUsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rnabioco/leech
Issue simili
-
docs: powerpc not supportedAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
microsoft/TokenEconomizer#360 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
reasons-gate
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
benthomasson/reasons-service#190 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno