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

how to continue training of existing crf model #93

Open
yanghanxy opened this issue Oct 17, 2017 · 2 comments
Open

how to continue training of existing crf model #93

yanghanxy opened this issue Oct 17, 2017 · 2 comments

Comments

@yanghanxy
Copy link

Is there a way to continue training a trained crf model?
For example, I trained a crf model using training data Corpus_A, and save the model as file crf.model.
Some days later, I get some extra training data as Corpus_B. Can I just load the trained crf.model and continue training with Corpus_B?

@guybas
Copy link

guybas commented Feb 7, 2019

yanghanxy -- I have the same question as yours above. Did you find an answer by any chance?

@deepindeed2022
Copy link

I have the same question, and i try add model_filename as input, but it don't work. Anyone have solution?
crf = sklearn_crfsuite.CRF( algorithm='lbfgs', c1=0.1, c2=0.1, max_iterations=MAX_ITER_TIME, all_possible_transitions=True, verbose=verbose, model_filename=init_model )

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