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
  • 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

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.

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 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

Median translation latency by direction for Luxfer, PLaMo 0.8B, and PLaMo 2B

Per-direction results, metric settings, and case IDs ยท PLaMo 2B model card

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 for the terms that apply to the base model and this derivative. The upstream license notices are included in this repository.

Downloads last month
-
Safetensors
Model size
1B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for hscr/luxfer

Finetuned
(5)
this model