Skip to content

Creating custom DependencyParser from scratch in Spacy 3 #9239

Discussion options

You must be logged in to vote

What's happening is that you're loading a parser that was trained with some labels and trying to then load a config for distinct labels. This is not something you should do and the math isn't working.

To be clear on a bit of terminology, it looks like you are training a dependency parser model, not implementing a dependency parser from scratch - that would involve writing the model code, which is not happening here.

I am also confused by your whole approach here. Our recommended way to train components is to use the Quickstart in the docs to generate a config, use the cli based training, and then to load the trained pipeline and source components from it as necessary. Writing a custom tra…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cynical-guy
Comment options

@polm
Comment options

@cynical-guy
Comment options

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