Repository navigation
Add chronos-enzh-50m-sft model package (en→zh, research only) - #49
Merged
Merged
Conversation
models/chronos-enzh-50m-sft/ packages the 50M Chronos v3 model trained for 69 h on an Apple M5 Max: config, own 16k tokenizer, the trained prompt, decoding settings, a driver (translate.py) and the evaluation. Weights ship as a release asset (enzh-50m-sft-v1), not in git. - Boundary: English -> Chinese only, one sentence of <= 128 tokens per call. zh->en is disabled because en->zh-only SFT erased it (FLORES+ BLEU 0.00 after SFT vs 17.15 for the pretraining checkpoint). - Measured (MLX bf16, greedy): FLORES+ devtest BLEU 33.48 / chrF 29.52, WMT22 32.60 / 28.83, WMT24++ 26.89 / 24.43 (sentence split). - The driver checks the weights' SHA-256, splits sentences, refuses input outside the boundary and cuts repetition loops. - NOTICE: weights are for research use only (corpus licences unknown). - tests/test_model_enzh_50m_sft.py covers the boundary checks without loading weights; the sdist prunes models/. 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
Adds
models/chronos-enzh-50m-sft/, the packaged 50M Chronos v3 English → Chinese model from the 69-hour M5 Max run, and links it from the root READMEs.config.json, the model's own 16k tokenizer, the trained prompt (prompts.json), decoding settings (generation_config.json), the drivertranslate.py(CLI + Python API, pinned toProject_Chronos==0.3.2a0), the evaluation scripts, and aggregate results.enzh-50m-sft-v1.translate.py --downloadfetches them and checks SHA-25657c59a14…fab4b7.NOTICElimits the weights to research use. The training-corpus licences are unknown. The code is Apache-2.0.MANIFEST.inprunesmodels/, so the PyPI sdist does not change.Test plan
ruff==0.17.4 check .andflake8 --select=E9,F63,F7,F82are clean.tests/test_model_enzh_50m_sft.py(13 tests) checks:--direction zh_enexiting with code 2translate.py --downloadin an empty directory, plus one translation.🤖 Generated with Claude Code