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

model issue: #1078

Open
jixiedaima opened this issue Jan 17, 2025 · 0 comments
Open

model issue: #1078

jixiedaima opened this issue Jan 17, 2025 · 0 comments

Comments

@jixiedaima
Copy link

I want to ask if there is a fine model file that can be directly called through the following interface. The current model file seems to only support English. I also want to support Chinese, Japanese, and Korean.........
Current models: https://huggingface.co/Helsinki-NLP/opus-mt-es-en/tree/main

sentencepiece::SentencePieceProcessor sp;
sentencepiece::util::Status status = sp.Load("../source.spm");

if (!status.ok()) {
std::cerr << "Error loading model." << std::endl;
return -1;
}

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