Skip to content

Implementing a custom semantics parser on spacy 3.0 #7282

Discussion options

You must be logged in to vote

Hi, the default parser settings are set up for cases with (a lot) more data, so you can run into problems if there are just a few training examples.

Here I think the main culprit is the min_action_freq cutoff. Lowering it to 10 instead of 30 worked for me to get this example to work with an otherwise default spacy init config -p parser config. This still may not be the ideal setting for this particular toy example, but the training process could proceed.

This would probably be a useful example to convert to a new project, too.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@mehmetilker
Comment options

@adrianeboyd
Comment options

@mehmetilker
Comment options

@adrianeboyd
Comment options

@mehmetilker
Comment options

Answer selected by DeltaSierra4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage feat / parser Feature: Dependency Parser
3 participants