CoolFace
Modelpublic

telecomadm1145/Kiseki-1.1-0.3B

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes40downloads
Model Card

Model Card for Kiseki-1.1-0.3B

An updated iteration of Kiseki-0.3B with a revised dataset mix, yielding substantial improvements across EN↔ZH and JA↔EN directions.

Note: Kiseki-1.1 is not fine-tuned from Kiseki-0.3B; it is trained independently with a different dataset configuration.

Model Details

Model Description

  • —Developed by: telecomadm1145
  • —Model type: Transformer-Mamba2 Seq2Seq
  • —Language(s) (NLP): Japanese (ja), Chinese (zh), English (en)
  • —License: MIT
  • —Parameters: 0.3B

⚠️ Important: UL2 Paradigm Token Required

Due to an oversight during seq2seq fine-tuning, the encoder was trained with a UL2 paradigm sentinel token prepended to every input. You must prepend token ID `65662` to the encoder `input_ids` at inference time. Omitting it will produce significantly degraded output.

python
ul2_token_id = 65662
input_ids = tokenizer.encode("<|2zh|>" + text + "<eos>")
input_ids = [ul2_token_id] + input_ids  # required prepend

How to Get Started

Prompt format: <|2zh|>/<|2ja|>/<|2en|>{source text}<eos>

python
import torch
from transformers import AutoModelForSeq2SeqLM, PreTrainedTokenizerFast

repo_id = "telecomadm1145/Kiseki-1.1-0.3B"
device = "cuda" if torch.cuda.is_available() else "cpu"

tokenizer = PreTrainedTokenizerFast.from_pretrained(repo_id)
model = AutoModelForSeq2SeqLM.from_pretrained(
    repo_id,
    trust_remote_code=True,
    dtype=torch.float32
)
model.to(device)

text = "おはようございます。"

ul2_token_id = 65662
input_ids = [ul2_token_id] + tokenizer.encode("<|2zh|>" + text + "<eos>")
input_tensor = torch.tensor([input_ids]).to(device)

output_ids = model.generate(input_tensor, max_new_tokens=256)
result = tokenizer.decode(output_ids[0], skip_special_tokens=True)
print(f"Translation: {result}")

Training Data

DatasetDirection
telecomadm1145/ccmatrix_clean_en_jaja ↔ en
telecomadm1145/sakuragpt_synthetic_ja_zhja ↔ zh
telecomadm1145/ccmatrix_clean_en_zhzh ↔ en

Metrics

Table 1: Multi-Model Comparison (ja → zh)

Metricopus-mt-ja-zh (~73M)NanoSakura-2-0.2BNanoSakura-2.2-0.2BNanoSakura-2.3-0.2BNanoSakura-0.3Bnllb-200-1.3BQwen3-0.6B (fp16)Qwen3-0.6B (fp16, thinking)Qwen3-1.7B (fp16)Qwen3-1.7B (fp16, thinking)Kiseki-0.3B**Kiseki-1.1-0.3B**
FLORES-200 BLEU25.6723.2726.5528.6722.3620.8712.5821.1327.1227.5622.5123.47
FLORES-200 spBLEU--20.0822.0216.13-----16.0916.88
FLORES-200 COMET0.83710.83800.84940.85630.83070.78050.80200.82200.85610.85710.82720.8416
shard_00134 BLEU8.0758.1357.5549.3258.715.736.8914.5723.3724.6053.2954.07
shard_00134 spBLEU--54.1245.1055.57-----49.7550.36
shard_00134 COMET <sup>[Note 1]</sup>--0.90160.88990.9044-----0.89100.8951
[Note 1] Methodology Variance in SHARD-00134 COMET Evaluation: Evaluated on SHARD-00134 at the sentence level (the 200 raw document pairs were split into 3,197 individual sentences). Sentence-level evaluation reduces length penalties and aligns semantic embeddings more tightly, resulting in a higher absolute score than document-level evaluation.

Table 2: Kiseki-0.3B vs. Kiseki-1.1-0.3B — All Directions

Values shown as 0.3B / 1.1-0.3B; bold marks the better score per cell.

DatasetDirectionSacreBLEUspBLEUCOMET (Ref)COMET-QE (Ref-less)
FLORES-200_JA-ZHja → zh22.51 / 23.4716.09 / 16.880.8272 / 0.84160.7894 / 0.8061
FLORES-200_ZH-JAzh → ja14.99 / 16.1713.49 / 14.200.8479 / 0.86360.7738 / 0.7950
FLORES-200_JA-ENja → en14.35 / 18.5815.30 / 21.270.7620 / 0.82680.7564 / 0.8142
FLORES-200_EN-JAen → ja21.73 / 24.2817.61 / 21.400.8179 / 0.86250.7868 / 0.8317
FLORES-200_ZH-ENzh → en11.01 / 20.3111.91 / 23.300.6655 / 0.82260.6467 / 0.8012
FLORES-200_EN-ZHen → zh21.28 / 31.1714.21 / 26.280.7017 / 0.81900.6733 / 0.7922
SHARD-00134_JA-ZHja → zh53.29 / 54.0749.75 / 50.360.8910 / 0.89510.6873 / 0.6915
SHARD-00134_ZH-JAzh → ja32.85 / 33.3230.18 / 30.830.9070 / 0.90850.7270 / 0.7267