spaCy/spacy/tests/training
Sofie Van Landeghem cd70c3cb79
Fixing pretrain (#7342)
* initialize NLP with train corpus

* add more pretraining tests

* more tests

* function to fetch tok2vec layer for pretraining

* clarify parameter name

* test different objectives

* formatting

* fix check for static vectors when using vectors objective

* clarify docs

* logger statement

* fix init_tok2vec and proc.initialize order

* test training after pretraining

* add init_config tests for pretraining

* pop pretraining block to avoid config validation errors

* custom errors
2021-03-09 14:01:13 +11:00
..
__init__.py move tests to correct subdir 2020-09-15 21:40:38 +02:00
test_augmenters.py Update data augmenters (#6196) 2020-10-04 17:46:29 +02:00
test_new_example.py Support doc.spans in Example.from_dict (#7197) 2021-03-03 01:12:54 +11:00
test_pretraining.py Fixing pretrain (#7342) 2021-03-09 14:01:13 +11:00
test_readers.py consistently use registry as callable 2021-03-02 17:56:28 +01:00
test_training.py introduce token.has_head and refer to MISSING_DEP_ (WIP) 2021-01-12 17:17:06 +01:00