crfsuite icon indicating copy to clipboard operation
crfsuite copied to clipboard

how to continue training of existing crf model

Open yanghanxy opened this issue 7 years ago • 2 comments

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?

yanghanxy avatar Oct 17 '17 09:10 yanghanxy

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

guybas avatar Feb 07 '19 20:02 guybas

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 )

deepindeed2022 avatar Dec 03 '21 02:12 deepindeed2022