Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helsinki-NLP/opus-mt-tc-big-zh-ja output wrong translation result #106

Open
sparrow2015 opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@sparrow2015
Copy link

Hi, there:
I load model from huggingface(https://huggingface.co/Helsinki-NLP/opus-mt-tc-big-zh-ja),
and I run the code below, but output wrong text(output: 「涙のポリシー01」), that not match hugggingface show, . expected output: 誕生日おめでとう、Muiriel!

from transformers import pipeline
pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-tc-big-zh-ja")
print(pipe("生日快乐,Muiriel!"))

# expected output: 誕生日おめでとう、Muiriel!

I also test serval other example, and output wrong result.
Is there anyone know why? Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant