--- pipeline_tag: translation base_model: pfnet/plamo-3-translate-0.8b license: other license_name: plamo-community-license license_link: LICENSE tags: - beta - machine-translation - custom_code language: - ja - en - zh - ko - ar - az - be - bg - bn - ca - ceb - de - es - et - eu - fa - fr - gu - he - hi - hr - hu - hy - id - it - jv - ka - kk - km - lt - lv - ml - mr - ms - my - ne - nl - pa - pl - ru - si - sk - sl - sr - sw - ta - te - th - tl - ur - uz - vi - pt --- # Luxfer 1.5B Luxfer is a multilingual translation model for local use. This is an early beta with experimental support for English and Portuguese in both directions. It also retains translation routes from the base model, some of which are sampled in the evaluation below. Built with PLaMo. The formal derivative name is **Luxfer-PLaMo 1.5B**. ## Model details - **Base model:** [PLaMo 3 Translate 0.8B](https://huggingface.co/pfnet/plamo-3-translate-0.8b) - **Model size:** 1,494,324,736 backbone parameters (approximately 1.5B), with additional translation adapters - **Release:** Early beta, checkpoint 61,515 - **Runtime:** Luxfer’s Python runtime, with local CPU inference - **License:** [PLaMo Community License](LICENSE) Luxfer expands the base model’s feed-forward layers and adds translation adapters. This release includes a separately trained Portuguese readout. The download bundles the base weights, tokenizer, adapters, and runtime files needed to reproduce this checkpoint. ## Supported languages Luxfer retains the 53 language varieties listed for the base model, including separate Simplified and Traditional Chinese codes. Portuguese is available experimentally for English to Portuguese and Portuguese to English. The card’s language tags describe available languages, and the evaluation below covers a subset. | Language codes | Availability | | --- | --- | | `ja` · `en` · `zh-hans` · `zh-hant` · `ko` · `ar` · `az` · `be` · `bg` · `bn` · `ca` · `ceb` · `de` · `es` · `et` · `eu` · `fa` · `fr` · `gu` · `he` · `hi` · `hr` · `hu` · `hy` · `id` · `it` | Base model | | `jv` · `ka` · `kk` · `km` · `lt` · `lv` · `ml` · `mr` · `ms` · `my` · `ne` · `nl` · `pa` · `pl` · `ru` · `si` · `sk` · `sl` · `sr` · `sw` · `ta` · `te` · `th` · `tl` · `ur` · `uz` · `vi` | Base model | | `pt` | Experimental with `en` in both directions | ## Run locally Download the full repository, including the weight shards and the files under `runtime/`, `overlay/`, and `checkpoint/`. Use Linux with Python 3.14. After setup, translation runs locally and can work offline. ```bash python -m pip install huggingface_hub hf download hscr/luxfer --local-dir luxfer cd luxfer python -m pip install -r requirements.txt export PYTHONPATH="$PWD/runtime" export HF_HUB_OFFLINE=1 export LUXFER_PORTABLE_ROPE=1 python translate.py en pt "The train leaves at noon." ``` The first two arguments are the source and target language codes. Use `--threads` to control CPU usage. The supplied translation script activates the correct adapters for each route. ## Evaluation We ran Luxfer, its 0.8B base, and PLaMo 3 Translate 2B on the same 25 [FLORES-200](https://huggingface.co/datasets/facebook/flores) examples. The 0.8B run shows how Luxfer compares with the checkpoint it started from. The 2B run provides a comparison with a larger model. All three used greedy decoding with a 48-token output limit. Quality is reported as corpus chrF++ using SacreBLEU with one reference per example. Latency is the median time per translation and excludes model loading. | Test set | Cases | Luxfer chrF++ | PLaMo 0.8B chrF++ | PLaMo 2B chrF++ | | --- | ---: | ---: | ---: | ---: | | All examples | 25 | 42.85 | 40.78 | 47.85 | | Shared language directions | 16 | 46.73 | 46.53 | 52.64 | Across all 25 examples, median translation time was **12.64 s** for Luxfer, **6.33 s** for PLaMo 0.8B, and **18.82 s** for PLaMo 2B. These timings apply to this test setup. The shared-language row excludes nine Portuguese examples because Portuguese is outside the published language lists for both upstream checkpoints. Luxfer scored **25.28 chrF++** on five English-to-Portuguese examples and **56.05** on four Portuguese-to-English examples. Most other directions have two examples each. These scores give a quick view of the checkpoint and can vary substantially on another sample. ![Translation quality by direction for Luxfer, PLaMo 0.8B, and PLaMo 2B](quality.png) ![Median translation latency by direction for Luxfer, PLaMo 0.8B, and PLaMo 2B](cpu-time.png) [Per-direction results, metric settings, and case IDs](benchmark.json) · [PLaMo 2B model card](https://huggingface.co/pfnet/plamo-3-translate-2b) ## Intended use and limitations This release is for trying local translation, comparing outputs, and testing the Luxfer runtime. It works best as a model you can inspect and give feedback on. Check the output before using it anywhere an incorrect translation would matter. Portuguese output can mix languages, omit details, or change the meaning of a sentence. Both directions ran in a release smoke test, and both returned mistranslations. Watch for errors in names, dates, numbers, and negation. The language list describes available routes. The benchmark covers only the directions shown in the charts. Quality in other directions and on longer passages has yet to be measured for this checkpoint. ## License and credits The model is built with PLaMo from Preferred Networks. See the [license](LICENSE) for the terms that apply to the base model and this derivative. The upstream license notices are included in this repository.