Skip to content

Unable to fetch model parameters from python-crfsuite model #112

Description

@anandi1989

I have one CRF model build using python-crfsuite. I want to check previous model parameter which is used to built the model. Now, I load the model and goes through the model header and I got this:

{u'magic': u'lCRF',
 u'num_attrs': u'14736',
 u'num_features': u'0',
 u'num_labels': u'6',
 u'off_attrrefs': u'0x147EC0',
 u'off_attrs': u'0xA254B',
 u'off_features': u'0x30',
 u'off_labelrefs': u'0x147DFC',
 u'off_labels': u'0xA1C70',
 u'size': u'1593456',
 u'type': u'FOMC',
 u'version': u'100'}

What I was looking for is algorithm name (e.g. ‘lbfgs’, ‘l2sgd’, ‘ap’, ‘pa’, ‘arow’) and respective hyper parameters. Can anybody help me figuring out model parameters.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions