gollek-ml-byte-latent
The gollek-ml-byte-latent module is Gollek’s initial package root for
byte-latent language modeling. It is the right home for Fast Byte Latent
Transformer style architectures and related byte-native latent pipelines.
🌟 Overview
This module is intentionally separate from diffusion training. It provides the shared Java-side contracts needed before heavier byte-latent encoder, decoder, trainer, and runner implementations land.
Current scope:
- byte-sequence batch transport
- byte-level causal LM collation and packed window batches
- UTF-8 text dataset bridge for byte-sequence ingestion
- trainer-facing config and materialized batch planning
- executable trainer session and pluggable batch-loss evaluation
- executable
ByteLatentModelforward-pass contract andByteLatentForwardPass - deterministic
ReferenceByteLatentModelfor model-backed trainer defaults - shared
ByteLatentPreviewFormatterfor compact ranked next-token previews - concrete
ReferenceByteLatentEncoderandReferenceByteLatentDecoder - concrete
ReferenceByteLatentMixerfor deterministic latent-state mixing - concrete
ReferenceByteLatentProjectionfor deterministic latent projection - concrete
ReferenceByteLatentOutputHeadfor deterministic token projection - reference encode -> latent-mix -> latent-project -> latent-transform -> decode -> output-head pipeline inside the model
- prompt-to-next-token prediction, ranked top-k candidates, and short byte-native generation defaults
- lifecycle listeners and lightweight checkpoint summary writing
- explicit checkpoint resume support with persisted epoch history CSV
- compact history report selectors for terminal-friendly inspection
- byte-latent state transport
- model-family citation and module metadata
- encoder/decoder interfaces
- reference encoder/decoder/mixer/projection/output-head implementations
- lightweight transformer-block placeholder for architecture wiring
📚 Paper Alignment
The current module family is based on:
- Julie Kallini, Artidoro Pagnoni, Tomasz Limisiewicz, Gargi Ghosh, Luke
Zettlemoyer, Christopher Potts, Xiaochuang Han, and Srinivasan Iyer.
Fast Byte Latent Transformer.
arXiv:2605.08044v1, 2026.
Repository integration note:
/gollek/docs/FAST_BYTE_LATENT_TRANSFORMER_INTEGRATION_PLAN.md
📦 Installation
<dependency>
<groupId>tech.kayys.gollek</groupId>
<artifactId>gollek-ml-byte-latent</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
🛠️ API Highlights
ByteSequenceBatch
Holds byte-native examples as batched raw sequences:
ByteSequenceBatch batch = new ByteSequenceBatch(List.of(
"halo dunia".getBytes(StandardCharsets.UTF_8),
"hello world".getBytes(StandardCharsets.UTF_8)
));
ByteLatentModelSpec
Defines the minimal architecture surface for a byte-latent model:
ByteLatentModelSpec spec = new ByteLatentModelSpec(
256, // byte vocabulary
1024, // latent dimension
24, // transformer layers
16, // attention heads
8192 // max byte sequence length
);
ByteSequenceCollator
Packs raw byte sequences into shifted causal-LM windows:
ByteSequenceWindowBatch packed = ByteSequenceCollator.causalLanguageModeling(
batch,
1024,
0
);
The packed result contains:
inputIdstargetIdsattentionMask
TextByteSequenceDataset
Loads raw text lines and emits byte batches:
TextByteSequenceDataset dataset = TextByteSequenceDataset.fromLines(Path.of("train.txt"));
ByteSequenceBatch batch = dataset.batch(0, 32);
ByteSequenceWindowBatch packed = ByteSequenceCollator.causalLanguageModeling(batch, 1024, 0);
ByteLatentTrainerConfig and ByteLatentTrainerSupport
Build a trainer-ready plan from text data:
ByteLatentTrainerConfig config = ByteLatentTrainerConfig.builder()
.modelSpec(spec)
.batchSize(32)
.windowLength(1024)
.padTokenId(0)
.shuffle(true)
.seed(7L)
.build();
ByteLatentTrainingPlan plan = ByteLatentTrainerSupport.plan(dataset, config);
ByteLatentTrainer
Run an executable session over the planned byte-latent batches:
ByteLatentTrainerSession session = ByteLatentTrainer.builder()
.dataset(dataset)
.config(config)
.lossEvaluator((batch, trainerConfig, epoch, batchIndex) -> 0.25d)
.build();
TrainingSummary summary = session.fit();
When checkpointDir is configured, the current trainer writes:
byte-latent-summary.jsonbyte-latent-checkpoint.metadatabyte-latent-history.csvbyte-latent-report.json
When resumeFromCheckpoint(true) is enabled, the trainer can restore prior
epoch, best-loss, latest-loss, duration, and global-step state from those
artifacts before continuing, while keeping the epoch timeline available as a
small terminal-friendly CSV.
ByteLatentHistoryReports can then answer compact selectors over that file,
for example:
history:summaryhistory:lastLosshistory:lastEpochhistory:sort=-trainLoss:top=3
For terminal use, Gollek also provides:
gollek/examples/jbang/trainer/trainer_byte_latent_history_inspector.java- supports
summary,artifacts,historyCount,summary:metadata:globalStep,status,health,ci,status:ci, andhistory:*selectors from one checkpoint entrypoint
- supports
gollek/examples/jbang/trainer/trainer_byte_latent_workflow_inspector.java- supports
overview,runs,workflowBundleDir,workflowBundleStatus,run:fresh,historyRows,delta:historyRows, anddelta:latestTrainLossover the workflow manifest JSON - supports
commandsfor the manifest’s recommended inspector-command table, with optional filters likescope=workflowandmode=fresh - supports
commands:summaryandcommands:cifor the compact top-priority workflow, bundle, and fresh/resume checkpoint command set - supports
commands:ci:mode=<run>for the single-line per-run compact command rollup - supports
runcommandsto list the available per-run aliases from the manifest - supports
runcommands:allfor the concise multi-run alias summary - supports
runcommands:summaryandruncommands:cifor compact manifest-level run-alias summaries - supports
runcommands:<run>as the shortest alias for that per-run manifest command rollup - supports
runfieldsto list the per-runinspectRunFields,inspectRunCommands, andinspectRunAllfollow-up aliases together - supports
runfields:summaryandrunfields:cifor compact manifest-level summaries of that per-run field-discovery surface - supports
runfields:<run>to isolate the per-run field-discovery row for one run mode - supports
inspectfieldsto list which machine-readable inspector-command fields are present at the manifest and per-run levels - supports
inspectfields:summaryandinspectfields:cifor compact field-discovery summaries in terminal and CI flows - supports
bundleOverviewplusfocus=health|files|allfor compact bundle path/status/health summaries - plain
textoutput forbundleOverviewis optimized for terminal reading summary=shortcollapsesbundleOverviewtext output to one linebundleOverview:ciis the shorthand alias for that CI-style overview pathstatusis the shortest neutral alias for a concise bundle checkhealthis the matching shortest direct-health alias for workflow and bundle checksbundleStatusremains available as the explicit equivalentbundleHealth:ciis the shorthand alias for that one-line direct health viewbundleHealth:summary=shortprovides the same one-line direct health view- can jump directly into a materialized workflow bundle with
bundleManifest,bundleFiles,bundleSummary,bundleHealth, andbundleLoadfile:section=<section> - supports
bundle=standardto write overview, runs, and delta JSON files into one output directory with a bundle manifest - can inspect exported bundle directories with
bundleSummary,bundleHealth,files,files:section=<section>,files:name=<name>,file:<name>, andloadfile:section=<section> - supports
files:...:sort=name|section|format - supports
loadfile:section=<section>:pick=first|lastandindex=<n> - supports
filesSummary:by=section,filesSummary:by=format,sort=-count, andtop=<n>
- supports
gollek/examples/jbang/trainer/trainer_byte_latent_demo.java- produces a small end-to-end byte-latent checkpoint directory for trying the inspector workflow locally
- prints
status,health, andcifollow-up inspector commands automatically
gollek/examples/jbang/trainer/trainer_byte_latent_resume_demo.java- demonstrates resume-driven checkpoint growth and continued inspector queries against the same byte-latent checkpoint directory
- prints
status,health, andcifollow-up inspector commands automatically
gollek/examples/jbang/trainer/trainer_byte_latent_train_infer_inspector.java- reads
train-infer-report.jsonfrom a checkpoint directory or direct file - the report persists top-level
reportVersion,overview,overviewCi,status,statusSummary, andcommands/commandsCifields plusselectors/selectorsCiandinspectfields/inspectfieldsCidiscovery blocks, plusartifactSummaryandartifactSummaryLine, in addition to the nestedtrainingandinferencesections - supports
reportVersion,artifactSummary,artifactSummaryLine,overview,overview:ci,training,inference,nextToken,nextTokens,nextTokensPreview,generatedText,combinedText,commands,commands:ci,selectors,selectors:ci,inspectfields,inspectfields:ci,statusSummary,status,health, andci
- reads
gollek/examples/jbang/trainer/trainer_byte_latent_train_infer_compare_inspector.java- compares two
train-infer-report.jsonartifacts from checkpoint directories or direct file paths - supports
overview,runs,status,health,ci,left,right, anddelta:*selectors such asdelta:latestTrainLoss,delta:nextToken,delta:nextTokens,delta:nextTokensPreview,delta:nextTokensCount, anddelta:combinedText - those direct compare outputs now also include
reportVersionplusleftReportVersion/rightReportVersionso live compares and exported compare bundles expose the same schema-version signal - direct compare mode now also supports a compact structured
compareSummaryobject alongside the one-linecompareSummaryLine - direct compare mode now also supports
comparisonas the shared full comparison block that now matches the exported bundle manifest’scomparisonstructure - direct compare mode now also supports
selectorsandselectors:ciso live two-report comparisons can advertise their most useful follow-up queries - direct compare mode now also supports
inspectfieldsandinspectfields:ciso live two-report comparisons can advertise their stable machine-readable field surface too - direct compare mode now also supports
artifactSummaryandartifactSummaryLineso live two-report comparisons expose the same compact dashboard shape as exported compare bundles - direct compare mode now also supports
commandsandcommands:ciso live two-report comparisons can advertise their recommended query commands too - that standalone compare result JSON can now be reopened directly with
resultSummaryandresultSummaryLinefor compact artifact-level follow-up - it also supports
resultCommands/resultCommands:ci,resultSelectors/resultSelectors:ci, andresultFields/resultFields:cias more explicit artifact-centric aliases for the same standalone discovery surfaces - it also supports
resultOverview/resultOverview:ciandresultHealth/resultHealth:cias artifact-centric overview and status aliases for reopened standalone compare-result files - it also supports
resultManifest/resultManifest:cias explicit artifact-centric full-payload aliases for reopened standalone compare-result files - it also supports
resultComparison/resultComparison:cias explicit artifact-centric compare-payload aliases for reopened standalone compare-result files - it also supports
resultPayloads/resultPayloads:cias explicit artifact-centric source-report reference aliases for reopened standalone compare-result files - it also supports
resultSources/resultSources:cias a more conversational alias family for the same reopened standalone source-report reference surface - it also supports
resultAliases/resultAliases:cias a compact alias discovery surface for reopened standalone compare-result files resultCommands/resultCommands:cinow prefer a dedicated alias-oriented reopened-result command surface instead of falling back to the older live-compare command mapresultSelectors/resultSelectors:cinow prefer a dedicated alias-oriented reopened-result selector surface instead of falling back to the older live-compare selector mapresultFields/resultFields:cinow prefer a dedicated reopened-result field-discovery surface that describes the standalone result artifact schema directly- standalone
result=standardexports now also persist top-levelresultAliases/resultAliasesCialongsideresultCommands,resultSelectors, andresultFields, so the reopened-result discovery family is explicit in the artifact contract itself - standalone
result=standardexports now also persist top-levelresultOverview/resultOverviewCi,resultManifest/resultManifestCi, andresultComparison/resultComparisonCi, so the main reopened-result alias surfaces are explicitly present in the artifact contract itself - standalone
result=standardexports now also persist top-levelresultStatus/resultStatusCiandresultHealth/resultHealthCi, so the artifact-centric status and health alias surfaces are explicitly present in the artifact contract itself - standalone
result=standardexports now also persist top-levelresultDashboard/resultDashboardCi, so the main reopened-result summary surfaces are available through one explicit high-signal block - standalone
result=standardexports now also persist top-levelresultDashboardFields/resultDashboardFieldsCi, so the dashboard can advertise its embedded summary surfaces without requiring raw JSON inspection - standalone
result=standardexports now also persist top-levelresultDashboardCommands/resultDashboardCommandsCi, so the dashboard can advertise the most useful embedded follow-up reopen commands directly - standalone
result=standardexports now also persist top-levelresultDashboardAliases/resultDashboardAliasesCi, so the dashboard can advertise the preferred alias family for each embedded summary - standalone
result=standardexports now also persist top-levelresultDashboardSelectors/resultDashboardSelectorsCi, so the dashboard can advertise the preferred selector-level follow-ups for its embedded summaries directly - standalone
result=standardexports now also persist top-levelresultDashboardOverview/resultDashboardOverviewCi, so the dashboard has its own artifact-centric compact overview alias in addition to the broader result-level overview surface - standalone
result=standardexports now also persist top-levelresultDashboardStatus/resultDashboardStatusCi, so the dashboard has a matching artifact-centric status alias in addition to the broader result-level status and health surfaces - standalone
result=standardexports now also persist top-levelresultDashboardHealth/resultDashboardHealthCi, so the dashboard has the matching artifact-centric health alias that completes the dashboard overview/status/health trio - standalone
result=standardexports now also persist top-levelresultDashboardSummary/resultDashboardSummaryCi, so the dashboard has one explicit artifact-centric summary alias that rolls overview, status, and health together - standalone
result=standardexports now also persist top-levelresultDashboardManifest/resultDashboardManifestCi, so the dashboard family also has an explicit artifact-centric full payload alias that complements summary, overview, status, and health - standalone
result=standardexports now also persist top-levelresultDashboardFamilyCommands/resultDashboardFamilyCommandsCiandresultDashboardFamilySelectors/resultDashboardFamilySelectorsCi, so the dashboard subtree can be browsed without mixing in the broader result-level entries - standalone
result=standardexports now also persist top-levelresultDashboardFamilyFields/resultDashboardFamilyFieldsCi, so the dashboard subtree has matching field discovery alongside its dashboard-only commands and selectors - standalone
result=standardexports now also persist top-levelresultDashboardTree/resultDashboardTreeCi, so the whole dashboard subtree can be inspected as one compact hierarchical summary - standalone
result=standardexports now also persist top-levelresultDashboardTreeFields/resultDashboardTreeFieldsCi, so the dashboard tree can advertise its embedded sections directly instead of only returning the aggregated tree payload - standalone
result=standardexports now also persist top-levelresultDashboardTreeCommands/resultDashboardTreeCommandsCi, so the dashboard tree can advertise its preferred follow-up reopen commands directly alongside its embedded-section summary - standalone
result=standardexports now also persist top-levelresultDashboardTreeSelectors/resultDashboardTreeSelectorsCi, so the dashboard tree can advertise its preferred follow-up selectors directly alongside its embedded-section and command summaries - standalone
result=standardexports now also persist top-levelresultDashboardTreeManifest/resultDashboardTreeManifestCi, so the dashboard tree has an explicit full-payload alias alongside its compact summary entrypoint - standalone
result=standardexports now also persist top-levelresultDashboardTreeSummary/resultDashboardTreeSummaryCi, so the dashboard tree has an explicit compact summary alias alongside its full manifest-style entrypoint - standalone
result=standardexports now also persist top-levelresultDashboardTreeDashboard/resultDashboardTreeDashboardCi, so the embedded dashboard branch can be reopened directly instead of only through the full tree payload - standalone
result=standardexports now also persist top-levelresultDashboardTreePaths/resultDashboardTreePathsCi, so the dashboard tree can advertise its main reopen selectors in one compact artifact-centric navigation block - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalog/resultDashboardTreeCatalogCi, so paths, children, and counts can be reopened together through one compact tree navigation summary - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogFields/resultDashboardTreeCatalogFieldsCi, so the tree catalog can advertise its embedded summary blocks directly - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogCommands/resultDashboardTreeCatalogCommandsCi, so the tree catalog can advertise its main follow-up reopen commands directly - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogSelectors/resultDashboardTreeCatalogSelectorsCi, so the tree catalog can advertise its main follow-up selectors directly - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogManifest/resultDashboardTreeCatalogManifestCi, so the tree catalog gets an explicit full-payload alias alongside its compact summary - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogSummary/resultDashboardTreeCatalogSummaryCi, so the tree catalog gets an explicit compact-summary alias alongside its manifest alias - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogOverview/resultDashboardTreeCatalogOverviewCi, so the tree catalog gets a friendlier artifact-centric overview alias alongside its structural names - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummary/resultDashboardTreeCatalogTreeSummaryCi, so the tree catalog can reopen one compact summary that rolls its path, child, and count summaries together - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryFields/resultDashboardTreeCatalogTreeSummaryFieldsCi, so the compact tree summary can advertise its embeddedpaths,children, andcountsblocks - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryCommands/resultDashboardTreeCatalogTreeSummaryCommandsCi, so the compact tree summary can advertise its preferred follow-up commands - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummarySelectors/resultDashboardTreeCatalogTreeSummarySelectorsCi, so the compact tree summary can advertise its preferred follow-up selectors - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryAliases/resultDashboardTreeCatalogTreeSummaryAliasesCi, so the compact tree summary can advertise its friendly follow-up alias names - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryDiscovery/resultDashboardTreeCatalogTreeSummaryDiscoveryCi, so the compact tree summary can expose one tiny discovery header for its fields, commands, selectors, and aliases - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryLineage/resultDashboardTreeCatalogTreeSummaryLineageCi, so the compact tree summary can advertise its parent result, dashboard, tree, and catalog ancestry - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryNavigation/resultDashboardTreeCatalogTreeSummaryNavigationCi, so the compact tree summary can expose one combined “where am I and where can I go next” navigation header - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryBreadcrumbs/resultDashboardTreeCatalogTreeSummaryBreadcrumbsCi, so the compact tree summary can expose a log-friendly breadcrumb path derived from lineage - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummarySitemap/resultDashboardTreeCatalogTreeSummarySitemapCi, so the compact tree summary family can expose a machine-readable endpoint index - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryIndex/resultDashboardTreeCatalogTreeSummaryIndexCi, so the compact tree summary family can expose a groupedself,discovery, andleavesendpoint index - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistry/resultDashboardTreeCatalogTreeSummaryRegistryCi, so the compact tree summary family can expose one registry that combines grouped and flat endpoint counts - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryFields/resultDashboardTreeCatalogTreeSummaryRegistryFieldsCi, so the compact tree summary registry can advertise itsindex,sitemap, andbreadcrumbsblocks - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryCommands/resultDashboardTreeCatalogTreeSummaryRegistryCommandsCi, so the compact tree summary registry can advertise direct commands for its registry, fields, index, sitemap, and breadcrumbs views - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistrySelectors/resultDashboardTreeCatalogTreeSummaryRegistrySelectorsCi, so the compact tree summary registry can advertise selector IDs for its registry, fields, index, sitemap, and breadcrumbs views - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryAliases/resultDashboardTreeCatalogTreeSummaryRegistryAliasesCi, so the compact tree summary registry can advertise friendly aliases for its registry, fields, index, sitemap, and breadcrumbs views - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryDiscovery/resultDashboardTreeCatalogTreeSummaryRegistryDiscoveryCi, so the compact tree summary registry can expose one discovery header for its fields, commands, selectors, and aliases - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryNavigation/resultDashboardTreeCatalogTreeSummaryRegistryNavigationCi, so the compact tree summary registry can expose its current selector, parent tree-summary navigation, and registry discovery sections - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryBreadcrumbs/resultDashboardTreeCatalogTreeSummaryRegistryBreadcrumbsCi, so the compact tree summary registry has its own log-friendly breadcrumb path beneath the broader tree-summary breadcrumb - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistrySitemap/resultDashboardTreeCatalogTreeSummaryRegistrySitemapCi, so the compact tree summary registry has its own flat endpoint list for registry-local discovery - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryIndex/resultDashboardTreeCatalogTreeSummaryRegistryIndexCi, so the compact tree summary registry has grouped self, metadata, and discovery endpoint counts - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryOverview/resultDashboardTreeCatalogTreeSummaryRegistryOverviewCi, so the compact tree summary registry has a one-stop summary of index, sitemap, and breadcrumb state - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryStatus/resultDashboardTreeCatalogTreeSummaryRegistryStatusCi, so the compact tree summary registry can report whether grouped and flat endpoint counts stay in sync - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryHealth/resultDashboardTreeCatalogTreeSummaryRegistryHealthCi, so the compact tree summary registry has a health-facing view over the registry status signal - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistrySummary/resultDashboardTreeCatalogTreeSummaryRegistrySummaryCi, so the compact tree summary registry has one compact rollup over overview, status, and health - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryManifest/resultDashboardTreeCatalogTreeSummaryRegistryManifestCi, so the compact tree summary registry has a manifest-style wrapper around summary, command, and selector counts - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryEnvelope/resultDashboardTreeCatalogTreeSummaryRegistryEnvelopeCi, so the compact tree summary registry has one operational envelope over manifest, discovery, navigation, and breadcrumbs - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistrySnapshot/resultDashboardTreeCatalogTreeSummaryRegistrySnapshotCi, so the compact tree summary registry has one stable snapshot over envelope, index, and sitemap counts - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogTreeSummaryRegistryAudit/resultDashboardTreeCatalogTreeSummaryRegistryAuditCi, so the compact tree summary registry has an explicit pass/fail audit over snapshot health and endpoint balance - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogAliasesSummary/resultDashboardTreeCatalogAliasesSummaryCi, so the tree catalog alias companion gets a named compact-summary alias alongside its base rows and compact summary surface - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogChildrenSummary/resultDashboardTreeCatalogChildrenSummaryCi, so the tree catalog child companion gets the same named compact-summary path as the catalog command, selector, and alias companions - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogCountsSummary/resultDashboardTreeCatalogCountsSummaryCi, so the tree catalog counts companion gets the same named compact-summary path as the catalog command, selector, alias, and child companions - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogCommandsSummary/resultDashboardTreeCatalogCommandsSummaryCi, so the tree catalog’s command companion gets its own explicit compact-summary alias - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogSelectorsSummary/resultDashboardTreeCatalogSelectorsSummaryCi, so the tree catalog’s selector companion gets its own explicit compact-summary alias - standalone
result=standardexports now also persist top-levelresultDashboardTreeCatalogAliases/resultDashboardTreeCatalogAliasesCi, so the tree catalog can advertise its artifact-centric alias family directly - standalone
result=standardexports now also persist top-levelresultDashboardTreeChildren/resultDashboardTreeChildrenCi, so the dashboard tree can advertise its main child branches directly instead of only through the broader field summary - standalone
result=standardexports now also persist top-levelresultDashboardTreeCounts/resultDashboardTreeCountsCi, so the dashboard tree can expose its child and discovery totals directly in one compact machine-friendly block - standalone
result=standardexports now also persist top-levelresultDashboardTreeAliases/resultDashboardTreeAliasesCi, so the dashboard tree can advertise its preferred alias family alongside its field, command, and selector summaries - it also supports
resultStatus/resultStatus:cias a matching artifact-centric status alias family for reopened standalone compare-result files - it also persists top-level
commands/commandsCi,selectors/selectorsCi, andinspectfields/inspectfieldsCiso the exported compare result has the same compact discovery vocabulary as the bundle path - direct compare mode now also supports
compareSummaryLineas a one-line shell-friendly summary to match the exported compare bundle’scomparisonSummary - supports
bundle=standardto export a machine-readable compare bundle withoverview.json,runs.json,delta-nextTokens.json,delta-nextTokensPreview.json,delta-nextTokensCount.json, other keydelta-*.jsonfiles, andmanifest.json - can reopen exported compare bundle directories with
bundleSummary,comparisonSummary,bundleFiles,bundleManifest,file:<name>, andloadfile:<section> - supports
reportVersionas the shortest selector for the compare-bundle manifest schema marker - exported compare bundle manifests now also carry a stable top-level
reportVersionplusleftReportVersion/rightReportVersionsource markers for schema-aware automation - exported compare bundle manifests now also expose
selectorsandselectors:ciso bundle consumers get a compact direct-query discovery surface without deriving it from the larger manifest fields commandsandcommands:cisummarize the recommended compare-bundle follow-up selectors for terminal and CI useinspectfieldsandinspectfields:cisummarize the machine-readable compare-bundle manifest fields for automation and quick discovery- exported compare bundle manifests also persist those recommendations in
top-level
commandsandcommandsCi, alongside the legacyinspectCommandsandinspectCommandsCi - exported compare bundle manifests also persist field discovery in
top-level
inspectfieldsandinspectfieldsCi, alongside the legacyinspectFieldsandinspectFieldsCi - exported compare bundle manifests also persist
artifactSummaryandartifactSummaryLinefor compact bundle-dashboard reuse - exported compare bundle manifests also expose top-level command shortcuts in
inspectBundleStatus,inspectBundleHealth,inspectBundleOverview,inspectBundleFiles, andinspectBundleLoadfile - exported compare bundle manifests also include a compact
comparisonblock plus top-levelleftNextTokensPreview,rightNextTokensPreview, andnextTokensPreviewChangedfields for lightweight automation - exported compare bundle manifests also include a one-line
comparisonSummarystring for simple CI or shell output - exported compare bundle manifests also expose top-level selector hints in
inspectBundleSummarySelector,inspectBundleFilesSummarySelector,inspectBundleNextTokensSelector,inspectBundleNextTokensPreviewSelector,inspectBundleNextTokensCountSelector,inspectBundleMissingFilesSelector, andinspectBundleMissingFilesTopSelector - exported compare bundle manifests also expose a compact status block in
status, plus mirrored top-level scalars inhealthStatus,missingFileCount, andokFileCount - exported compare bundle manifests also expose
statusSummaryas a human-readable one-line health/status string loadfile:also supportssection=<section>,pick=first|last, andindex=<n>for deterministic compare-bundle file selectionbundleFilesalso supports filtered listing throughfiles:section=...,files:name=...,files:format=...,sort=..., andtop=<n>- supports
bundleHealthandfilesSummary:by=section|formatfor compact compare-bundle integrity and file-count summaries filesSummaryalso supportssort=-countandtop=<n>for trimmed compare-bundle rollupsbundleHealthalso supportsfocus=files|sections|formats|all,sort=..., andtop=<n>for trimmed health diagnosticsbundleHealth:focus=filesalso supportssection=...,name=...,format=..., andstatus=ok|missingfor filtered per-file health views- those same filters also apply before grouped
bundleHealth:focus=sections|formatsrollups - supports
bundleStatusandbundleHealth:cias one-line compare-bundle health checks - supports
bundleOverviewandbundleOverview:cifor a more consistent compare-bundle overview path alongside the workflow bundle inspector
- compares two
gollek/examples/jbang/trainer/run_byte_latent_smoke.sh- runs the byte-latent demo and key inspector checks together as a single contributor smoke path
- leads with
status,health, andciinspector checks
gollek/examples/jbang/trainer/run_byte_latent_workflow.sh- provides one entrypoint for
fresh,resume, andfullsmoke runs while endingfullmode with a compact workflow summary for both checkpoint directories - summarizes checkpoint paths, history row counts, and follow-up inspector commands
- leads those follow-up checkpoint commands with
status,health, andci - leads its workflow-manifest and workflow-bundle follow-up commands with
statusandhealth - prints
commands:summaryfirst for the workflow-manifest compact command rollup - prints
runcommands:freshandruncommands:resumein that workflow-manifest follow-up block - prints
runcommands:cithere as the compact discovery summary for available per-run aliases - prints
runcommandsthere as the discovery selector for available per-run aliases - prints
runcommands:allthere as the concise multi-run alias summary - prints
inspectfieldsthere as the full machine-readable field-discovery selector - prints
inspectfields:cithere as the compact machine-readable field-discovery summary - prints
runfields:cithere as the compact per-run field-discovery summary - prints
runfieldsthere as the per-run field-discovery selector - prints
runfields:ciin each fresh/resume run summary as the compact per-run field-discovery hint - prints
runcommands:<run>alongsidecommands:ci:mode=<run>in each - prints
runcommands:ciin each fresh/resume run summary as the generic compact discovery hint for available per-run aliases - prints
runcommands:allin each fresh/resume run summary as the concise multi-run alias overview path fresh/resume run summary for the matching single-line manifest-driven CI follow-up - writes a small workflow manifest JSON for downstream automation
- records
workflowBundleDirandworkflowBundleStatusin that manifest - records
inspectWorkflowStatus,inspectWorkflowHealth,inspectBundleStatus, andinspectBundleHealthin that manifest - records per-run
inspectWorkflowCommandsentries for the single-linecommands:ci:mode=<run>workflow follow-up - records per-run
inspectRunCommandsentries for the shortestruncommands:<run>workflow follow-up - records per-run
inspectRunAllentries for the concise multi-runruncommands:allworkflow overview path - records per-run
inspectRunFieldsentries for the compactinspectfields:cimachine-readable field-discovery hint - materializes a workflow bundle automatically in
fullmode - prints ready-to-run workflow-manifest inspector commands at the end
- also prints workflow-bundle export and
loadfile:examples at the end - preserves the older helper scripts for compatibility
- provides one entrypoint for
gollek/examples/jbang/trainer/run_byte_latent_resume_smoke.sh- runs the byte-latent resume demo and key inspector checks together as a single contributor resumed-run smoke path
ByteLatentModelFamily
Provides the canonical family id and paper citation:
String familyId = ByteLatentModelFamily.FAMILY_ID;
String citation = ByteLatentModelFamily.PAPER_CITATION;
🧭 Module Direction
Planned follow-on modules around this family:
gollek-ml-language-coregollek-ml-byte-iogollek-runner-byte-latentgollek-trainer-byte-latent
Boundary
This module does not replace:
gollek-ml-transformerfor generic attention blocksgollek-ml-nlpfor token-oriented NLP utilitiesgollek-ml-diffusion-*for diffusion-specific training
It exists to keep byte-latent language modeling as its own architectural lane.