Skip to content
Discussion options

You must be logged in to vote

Hi, the names for the commands have ended up a bit confusing here, sorry. For prodigy v1, the data-to-spacy command outputs the spacy v2 training format, which is .json instead of .spacy (DocBin).

You need to convert the data-to-spacy output to .spacy for v3 using spacy v3's convert command:

spacy convert data.json .

This will save data.spacy in the current directory.

We should improve this error message so it's clearer what's going on when you try to load JSON as DocBin.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / cli Feature: Command-line interface
2 participants