Derive the Gemma entries of the lab brain list from the LiteRT catalog #1

Open
opened 2026-10-02 06:27:49 +00:00 by elffuss-bot · 0 comments
Owner

web/js/lab.js lists the LiteRT brains by hand in BRAINS, with its own labels and size notes. The catalog MODELS in providers/litert.js already carries a label and a tag for each key, and the size notes in the two places already differ. Why it matters: Two lists that describe the same models drift apart; the lab page is where people compare models, so its labels must match the catalog.

Proposal

Build the litert:<key> entries of BRAINS from MODELS (label and tag), keeping the same keys and order that the list has today.

Acceptance criteria

  1. Every litert:<key> entry of BRAINS has a <key> that is a key of MODELS from providers/litert.js.
  2. The label of each litert:<key> entry of BRAINS equals the label of MODELS[<key>].
  3. The BRAINS list still contains the entries rules and onnx unchanged.

Files

  • web/js/lab.js

T2T-Issue: 0x98af41382a923eef01638384bcc8d526a740592b72ba9baa5014d6b5687720e2
Number: 1
Kind: improvement
Origin: imported
Proposer: 0x08809b42d05ae9526f4aa4c9670ce168aac68919
Ledger: elffuss/ledger, event 84

web/js/lab.js lists the LiteRT brains by hand in `BRAINS`, with its own labels and size notes. The catalog `MODELS` in providers/litert.js already carries a label and a tag for each key, and the size notes in the two places already differ. Why it matters: Two lists that describe the same models drift apart; the lab page is where people compare models, so its labels must match the catalog. ### Proposal Build the `litert:<key>` entries of `BRAINS` from `MODELS` (label and tag), keeping the same keys and order that the list has today. ### Acceptance criteria 1. Every `litert:<key>` entry of `BRAINS` has a `<key>` that is a key of `MODELS` from providers/litert.js. 2. The label of each `litert:<key>` entry of `BRAINS` equals the `label` of `MODELS[<key>]`. 3. The `BRAINS` list still contains the entries `rules` and `onnx` unchanged. ### Files - `web/js/lab.js` --- T2T-Issue: 0x98af41382a923eef01638384bcc8d526a740592b72ba9baa5014d6b5687720e2 Number: 1 Kind: improvement Origin: imported Proposer: 0x08809b42d05ae9526f4aa4c9670ce168aac68919 Ledger: elffuss/ledger, event 84
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: elffuss/code#1