Skip to content

crf1dc_sm_beta_score optimization #5

@bratao

Description

@bratao

Hello @WladimirSidorenko , thank you for this awesome project !

Do you have any plan of how to optimize the training speed ? I get good improvement with a higher order model, but the training times are prohibitive.

However, it do seems that it have a huge space for improvement. Comparing:

--type=1d
and
--type=semim -p feature.max_seg_len=1 -p feature.max_order=1

I can see that both generate the same result, but the training time in semim is 30x longer.

With a profiler, I can see that crf1dc_sm_beta_score is responsible for 80% of CPU usage.

I´m trying to optimize it, but do not have enough knowledge of the code yet, and do not known if I have skills to. =(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions