Downloads · 30 days
0
yongjer/HY-MT1.5-1.8B-Trad-Chinese-ORPO
HY-MT1.5-1.8B-Trad-Chinese-ORPO is a translation model from yongjer. Use it when you need text moved from one language to another. The card lists the license as apache-2.0.
This model is a fine-tuned version of tencent/HY-MT1.5-1.8B specialized for English to Traditional Chinese translation.
Downloads · 30 days
0
Access
Public
Updated Apr 16, 2026
Repo size
310 MB
Likes
0
Public
Click a slice to open those files.
.safetensors310 MB · 97%
From the Hugging Face model README
This model is a fine-tuned version of tencent/HY-MT1.5-1.8B specialized for English to Traditional Chinese translation.
It was trained using ORPO (Odds Ratio Preference Optimization) via the Unsloth library to enhance its ability to generate high-quality Traditional Chinese while explicitly rejecting Simplified Chinese characters and phrasing.
The model was trained on 10,000 samples derived from the HuggingFaceFW/finetranslations (Mandarin subset).
Translate the following segment into Traditional Chinese, without additional explanation.\n\n{English Text}Through ORPO training, the model's preference for Traditional Chinese was significantly strengthened:
You can load this model using the unsloth library for fast inference:
from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "yongjer/HY-MT1.5-1.8B-Trad-Chinese-ORPO",
max_seq_length = 2048,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
messages = [
{"role": "user", "content": "Translate the following segment into Traditional Chinese, without additional explanation.\n\nArtificial Intelligence is transforming the world at an unprecedented pace."},
]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda")
outputs = model.generate(input_ids=inputs, max_new_tokens=128)
print(tokenizer.batch_decode(outputs))