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

Help wanted: Training the model with my own corpus causes ValueError #2

Closed
reid3290 opened this issue Jul 19, 2017 · 2 comments
Closed

Comments

@reid3290
Copy link

I'm trying to train the model with my own corpus, but it failed with this error:
image
image
I highlight the important lines, which apparently some matrices' dimension is not compatible to do matrix multiple: numpy.dot(A,x)。But all I did is just replace the corpus with my own one, really don't know why this is happening. Is there any requirement for corpus or whatever other reasons that i can not figure out.

@jcyk
Copy link
Owner

jcyk commented Jul 21, 2017

I am not sure.
But please ensure that the words in training data do not exceed the maximum word length setting.

@reid3290
Copy link
Author

Yes, that's exactly the problem. Thanks for reminding.

@jcyk jcyk closed this as completed Jul 22, 2017
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