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

Error Attribute Error: type object 'SentencePieceTrainer' has no attribute 'train'. Did you mean: 'Train'? #1046

Open
bop578530 opened this issue Aug 23, 2024 · 1 comment

Comments

@bop578530
Copy link

bop578530 commented Aug 23, 2024

spm.SentencePieceTrainer.train('--input=dict.ja.txt --model_prefix=m --vocab_size=27034')
this line is showing the error

@taku910
Copy link
Collaborator

taku910 commented Sep 22, 2024

Well, we could not reproduce the error in the latest version 0.2.0. Could you check the version?

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

2 participants