Systran/EuroLLM-9B-sft-ft-wmt25-en-ja

🤗 Hugging Face 来源apache-2.09.2B 参数18 GBsafetensors✓ 6 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo Systran/EuroLLM-9B-sft-ft-wmt25-en-ja ./model-folder
需要做种者 →

Description

This is another sentence-based English-to-Japanese translation model fine-tuned from utter-project/EuroLLM-9B.

Training data: WMT2025 en-ja parallel corpus

Example

import transformers
import torch

model_id = "Systran/EuroLLM-9B-sft-ft-wmt25-en-ja"

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device_map="auto",
)

messages = "Please translate the following English text into Japanese.\nInput: Hello World!\nOutput: "

outputs = pipeline(
    messages,
    max_new_tokens=256,
)
print(outputs[0]["generated_text"][len(messages):].split("\n")[0])