Skip to content
Discussion options

You must be logged in to vote

If you're just trying to load from a directory, please use spacy.load("/path/to/dir") instead.

If you're trying to understand how spacy.load works, please look at spacy.util.load_model_from_path for the exact details. (This code in the docs is intended more as a sketch/pseudocode than a 100% runnable example, but I agree that this isn't clear from the docs.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tejas-Garhewal
Comment options

Answer selected by Tejas-Garhewal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation and website feat / serialize Feature: Serialization, saving and loading
2 participants