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

Train model using corpus #13

Open
rajgar114 opened this issue Aug 4, 2021 · 2 comments
Open

Train model using corpus #13

rajgar114 opened this issue Aug 4, 2021 · 2 comments

Comments

@rajgar114
Copy link

I have my corpus file. I need to train the model from this corpus file. I used the method described below -

pv = biovec.models.ProtVec( corpus="output_corpusfile_path.txt", n=3)

but this didn't worked. Is there any way to train model directly from the corpus i.e without using fasta representation?

@devhimd19
Copy link

raise Exception("Model has never trained this n-gram: " + ngram)
Exception: Model has never trained this n-gram: WNA

How to rectify this

@kyu999
Copy link
Owner

kyu999 commented Sep 3, 2021

@rajgar114 Could you show me more details like error message?

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

3 participants