Repository navigation
0.3.1a2: move the en-zh translation demo out of the kernel - #46
Merged
Merged
Conversation
The chronos kernel now trains general models with no translation-specific code. Everything that builds the en<->zh benchmark model lives in demos/translation (package chronos_translate, CLI chronos-translate): corpus pipeline, BLEU/chrF runs, doc-mix runs, FLORES+ probe, model bundles, the 50M recipe and the doc-mix plan. It imports the kernel, is not part of the Project_Chronos wheel and is not published on PyPI. Kernel changes: - LongRun task hooks (task_eval, eval_samples_for, generate, write_samples, pinned_modules); task-eval errors are logged as task_eval_error and never stop a run. - load_spec(spec_cls, extra_path_keys) resolves paths against the recipe folder and rejects unknown keys with a pointer to the task runner. - Tokenizer defaults carry no language tags; special_tokens_with() adds task tokens. Shard readers move to chronos.data.shards. - chronos corpus, chronos bundle and the translate extra are removed. Monitoring of the lazy-expert probe: - The monitor gets a Lazy experts tab (four tables, history charts, probe log) and GET /api/lazy_probes. - The Web UI probe card shows every measured field in all four languages. - The run snapshot carries all probe fields plus the full-memory reference; a stray "null" on the Web UI monitor page is fixed. CI also runs on pull requests into dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chronoskernel now trains general models with no translation-specific code. The en↔zh demo moved todemos/translation(chronos_translate, CLIchronos-translate): corpus pipeline, BLEU/chrF runs, doc-mix runs, FLORES+ probe, model bundles, the 50M recipe and the doc-mix plan. It is a repo-only demo: not in theProject_Chronoswheel and not on PyPI.LongRun(task_eval,eval_samples_for,generate,write_samples,pinned_modules).load_specresolves recipe paths against the recipe folder and rejects unknown keys.chronos monitorplusGET /api/lazy_probes; the Web UI probe card shows every measured field in all four languages.chronos corpus,chronos bundleand thetranslateextra are removed; see the migration table indemos/translation/README.md.dev.Testing
pytest demos/translation/tests): 22 passed, 1 skipped (production shards absent). CI does not run them, because they need sacrebleu and pyarrow.demos,chronos_translateor translation strings. Both wheels install into a fresh venv, andchronos-translateruns from outside the source tree.Not included
🤖 Generated with Claude Code