Models Graphene
v1.0An ML training workspace in graphite and cyan: experiments, runs whose loss curves draw live while they train, compare, model registry and monitoring.
نشانی صفحه: /
داخلی
آنچه میگیرید- روشن و تیرهاز رنگهای تم شما استفاده میکند
- دسکتاپ، تبلت، و گوشیصفحهنمایشهایی که برایشان ساخته شده
- پکیجها…
- حجم کد…
- کممصرف برای باتری30 فریم بر ثانیه، در حالت ساکن متوقف
- در حالت پنهان متوقف میشودخارج از صفحه یا تب دیگر
- کاهش حرکتآرام برای کسانی که بخواهند
با هر تغییر بررسی میشود
بررسی امنیتی 3 دسامبر- بررسی نوعTypeScript strict
- لینت و قالببندیESLint · Prettier
- تست و بیلدتصاویر روشن و تیره
- ممیزی امنیتیبدون هشدار بالا یا بحرانی
- قدمت پکیجهر نسخه حداقل 7 روز عمومی بوده
- پردازنده در حالت بیکارکمتر از نیم هسته در حالت ساکن، حداکثر 30 فریم بر ثانیه
کد
models-grapheneReact
- models-graphene.tsxThe page: the sections in order.
- content.tsEvery word and number: brand, nav links, each section's copy and lists.
- theme.tsThe colors as CSS variables, and the shared class strings.
- README.mdHow to install it, and where to change the text, colors and form.
- pagesOne file per page: the sections it shows, in order.
- compare.tsxCompare 2 to 4 runs (#/compare?ids=R-1056,R-1054): their loss and metric curves overlaid with one crosshair that reads every run at the same step, a table of where each ended, and the params that differ. Running ones keep drawing live.
- datasets.tsxThe datasets the team trains on: storage by kind of data as rounded bars, then each dataset with its version, rows, size and how many runs use it. Filter by kind in the address; a row opens its sheet (?dataset=clicks-2026-11).
- experiments.tsxThe experiments: each one's goal, how close its best run is to the target, its runs (how many train now) and who works on it. Active or archived in the address; a row opens its sheet (?experiment=EXP-21).
- models.tsxThe model registry: each model with the version in production, the one in staging and how it scores against production, its versions and owner. A row opens the model's versions (?model=feed-ranker); Promote moves a staging version that beats production straight to it.
- monitoring.tsxProduction: the open alerts first (acknowledge or resolve them), then one card per model in production — requests, p50 and p95 latency against its budget over the last five minutes, and drift per feature against its threshold, which you can change. Latency and drift move with the live clock; drift over the threshold opens an alert.
- overview.tsxThe start page: how the training floor stands right now — four numbers, the running runs drawing their loss live, the GPU pools breathing, what is queued next, the feed and the models in production. Every block clicks through to its page or sheet.
- runs.tsxEvery run: status tabs with their counts, a search and an experiment filter (all kept in the address, so Back returns to them), then the table — status, metric, the loss so far drawing live, compute, owner and age. Pick 2 to 4 to compare them, or stop or delete them from the bar that rises.
- settings.tsxThe settings page in three tabs kept in the address (?tab=team): Compute (the GPU pools, how busy each is, add, edit or remove one), Team (who is in the workspace, their role, invite or remove) and Appearance (theme and language).
- sign-in.tsxThe sign-in page (#/sign-in): the form on its card, and on wide screens a panel beside it with three finished runs of the feed ranker, their loss curves overlaid — what is waiting inside. No sidebar or top bar.
- sectionsOne file per page section.
- account-menu.tsxThe account menu under the avatar in the top bar: who is signed in, Settings and Sign out; the arrow keys move through it, Escape, Tab or a click outside closes it.
- appearance.tsxSettings → Appearance: the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
- bottom-tabs.tsxThe phone's tab bar: the four pages used most, and More for the rest (the sidebar in a sheet). It sticks to the bottom of the screen under the page.
- bulk-bar.tsxThe bar that rises when runs are picked: how many, compare them (2 to 4), stop the ones still going, delete them (Undo in the toast), or clear the pick.
- feed.tsxThe live feed: who did what, newest first, on two lines (the run, model or dataset it was about, then its experiment and what came of it); a row that arrives (a run that finished, a teammate's new run, an alert) slides in at the top.
- forms.tsxThe forms that open over any page from the address (?new=run, ?new=experiment&id=EXP-21 to edit one): a new run, an experiment, a dataset, a model version to register, a compute pool and a teammate. Each saves through the fake API, says so in a toast and closes.
- kpi-strip.tsxThe KPI strip: four numbers in one bordered box, each with its line under it and a sparkline or a progress bar; a changed number rolls to its new value and a sparkline grows a point.
- run-sheet.tsxA run's sheet over any page (?run=R-1056): its status, metric and actions on top, then tabs — Curves (loss and metric, drawing live while it trains), Params, System (pool, GPUs, time, dataset) and Logs.
- sheets.tsxThe other sheets over any page: an experiment (?experiment=EXP-21: its goal, best against the target, runs and notes), a model (?model=feed-ranker: its versions and their stages) and a dataset (?dataset=clicks-2026-11: its size and who trains on it).
- sidebar.tsxThe sidebar: the workspace, search with the ⌘K shortcut, the pages in two groups (Train, Ship) with their counts and a pill that glides to the current one, Settings, and the live strap with its pause.
- sign-in-form.tsxThe sign-in form: email and password with their errors under them, show or hide the password, keep me signed in, and the demo account to fill in; a wrong pair says so above the fields.
- team-forms.tsxThe Settings forms that open from the address (?new=pool, ?new=person&id=hana to edit one): a compute pool and a teammate. Each saves through the fake API, says so in a toast and closes.
- top-bar.tsxThe top bar: the menu button on narrow screens, where you are, the live dot, the theme switch, the page's one primary action (New run; New experiment, New dataset or Register on their pages) and the account menu. It frosts only once the page scrolls under it.
- partsWhat several sections share.
- buildWhat several sections share.
- cardsWhat several sections share.
- sheen.tsThe sheen card style: cards rise, plus one soft light sweep across each card as it lands.
- rowsWhat several sections share.
- turn.tsThe turn row motion: each row on screen swings in from behind, hinged on its left edge, from faint (its free edge never comes forward, so it never widens the page).
- core.tsxThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: bars grow, lines draw, rings fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
- index.tsThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/). npm run new-app copies only the two it is given (--cards, --rows).
- appearance.tsHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
- avatar.tsxA person's initials in a round badge, tinted with the primary.
- backdrop.tsxThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid; with followBackground it paints your background instead.
- command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
- curve.tsA training run's curves as smooth formulas of how far it got (0 at the first step, 1 at the last): the loss falls toward its floor with a soft early wobble, the score climbs (or falls, for a loss metric) toward its best. The fake API and the charts read the same formulas, so a live curve extends between saves without a jump.
- dialog.tsxA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
- field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
- flip.tsFLIP for a list that re-sorts or filters: after each change every row that stayed glides from where it was to where it is now. Rows carry data-flip="<id>"; positions are measured inside the list, so a page scroll never reads as a move.
- form-dialog.tsxOne form's frame for the forms that open from the address (?new=run): the dialog, the save and cancel buttons and the errors by their field.
- format.tsHow numbers and dates are written: by Intl, the current language's way ("1,240", "1.240"; "Nov 19", "19 nov."). Add a helper here when a page needs money, times or a list.
- icons.tsxThe logo and the line icons, drawn on a 24-unit grid with round ends.
- language.tsThe app's language: the words every page reads (useWords), how dates and numbers are written (parts/format.ts) and the reading direction. Picked in Settings → Appearance (or System: the page's own language) and kept in this browser; English is built in, any other language loads only when it shows (locales/list.ts).
- live-clock.tsxOne shared clock for everything live: it ticks only while something on screen listens, the tab is visible and live isn't paused, and the bare button that pauses it. What a tick does (move the demo's time, bring in an event, reload) is the app's, passed to liveClock.
- live.tsThe app's one live clock: once a second the training floor moves on (data/api.ts tick: runs step, finish or fail, the queue starts, latency and drift move) and every page reloads in place. It rests while nothing live is on screen, the tab is hidden or live is paused. The curves draw between ticks on their own 30 fps frame (parts/run-chart.tsx).
- ml.tsxThe small pieces every training page shares: a run's status glyph and word, a model version's stage chip, a GPU meter, a metric's value, a run's duration, and the rows that just arrived in a list.
- moments.tsThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
- motion.tsMotion helpers: the reduced-motion check, live, and run-once-in-view.
- overlays.tsxEverything that opens over the page from the address: a run, experiment, model or dataset in the side sheet, and the forms (new run, experiment, dataset, model version, pool, teammate). Any page can open one by adding its query (?run=R-1056, ?new=run).
- panel.tsxThe page's title row and the panel every block of a page sits on (a head with its title and a quiet link or note, then the content).
- read.tsOne read of the fake API by its key, through useApi: useRead("overview"), useRead<"deal">(`deal:${id}`). Each key keeps one load function, so a page that mounts again finds its answer.
- router.tsThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
- run-chart.tsxThe signature: training curves that draw live. A running run's line extends a little every frame (30 a second, from the same formulas as the fake API, parts/curve.ts), so it grows smoothly between saves; it rests off screen, in hidden tabs, while live is paused and for reduced motion. RunChart overlays up to 4 runs with a crosshair that reads every run at one step; Spark is the small live line in a row.
- scroll-to-view.tsScrolls an element into view moving only its own scroll container, never the page around it.
- select-box.tsxA native select dressed to match the app: no browser arrow, a drawn chevron instead.
- session.tsWhether someone is signed in: a first visit is signed in as the demo account; Sign out holds until the next sign-in, and a sign-in without Keep me signed in lasts only this tab.
- sheet.tsxThe phone sheet: a modal panel that springs in from the left with the sidebar; Escape, a tap outside or its close button slides it away.
- side-sheet.tsxThe detail sheet: a modal panel that slides in from the end edge over the page (a deal, a company, a contact, a proposal), with tabs whose underline glides to the one picked. Escape, a tap outside or its close button slides it away; the address keeps what it shows (?deal=D-1042&dtab=activity).
- states.tsxThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
- store.tsThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
- ticker.tsxA number that counts up while its page builds in, and rolls to its new value whenever it changes.
- toasts.tsxThe toasts: short notes that confirm what just happened, at the bottom end.
- use-api.tsLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
- use-dialog.tsOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
- dataThe pretend data and the fake API: swap it for your backend.
- account.tsThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
- api.tsThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
- db.tsThe pretend database: the seeded workspace held in memory, every change the pages save, and the live training floor (tick): running runs step on, finish or fail into the feed, the queue starts on freed GPUs, production latency and drift move and alerts open. A real backend does all of this on its side.
- now.tsThe demo's "now": today at 14:20 plus the real time since the app loaded, so the team is mid-afternoon with runs on every pool at any hour; every seeded date is set from it. Wire your backend and use the real time.
- seed-ship.tsThe pretend registry and production side: five models and their versions, eight datasets, the four models in production with their latency and drift, the alerts and the latest events. Dates are set from the demo's now (data/now.ts).
- seed.tsThe pretend workspace: a 10-person ML team at Lumen training feed ranking, search and ads models and catalog vision models on three GPU pools. Every date is set from the demo's now (data/now.ts). Models, datasets and production are in data/seed-ship.ts.
- types.tsThe shapes the fake API answers with; a real backend returns the same.
- views.tsWhat each page reads: the database joined and summed the way the page shows it (a run with its experiment and owner, a pool with its busy GPUs, the feed with names). The fake API answers with these.
- localesEvery word the app shows, one JSON file a language; list.ts names them.
- en.jsonOne language's words, with the keys of en.json.
- es.jsonOne language's words, with the keys of en.json.
- list.tsThe languages the app offers, in the picker's order: one JSON file each, en.json the source. To remove one, delete its file and its line; to add one, copy es.json, translate it and add a line. English is built in; the rest load only when picked. TypeScript checks each file has en.json's keys, scripts/check/check-locales.mjs the rest (no extra keys, plural forms, {slots}).
models-graphene.tsx
The page: the sections in order.
در حال بارگذاری…
- مناسب برای
- An ML team sharing GPUs: track experiments and runs, compare curves, promote models and watch them in production.
- چگونه کار میکند
- Running runs draw their loss live and finish into the feed, the queue starts as GPUs free up, and drift past a threshold opens an alert.
- نحوه استفاده
- Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.