diff --git a/spacy/training/corpus.py b/spacy/training/corpus.py index 90eb62474..85079f41c 100644 --- a/spacy/training/corpus.py +++ b/spacy/training/corpus.py @@ -26,6 +26,7 @@ def create_docbin_reader( limit: int = 0, augmenter: Optional[Callable] = None, ) -> Callable[["Language"], Iterable[Example]]: + util.logger.debug(f"Loading corpus from path: {path}") return Corpus( path, gold_preproc=gold_preproc, diff --git a/spacy/training/initialize.py b/spacy/training/initialize.py index 267b77f05..e248cf314 100644 --- a/spacy/training/initialize.py +++ b/spacy/training/initialize.py @@ -94,6 +94,7 @@ def init_vocab( if vectors is not None: load_vectors_into_model(nlp, vectors) logger.info(f"Added vectors: {vectors}") + logger.info("Finished initializing nlp object") def load_vectors_into_model(