spaCy/spacy/training
Adriane Boyd b57be94c78
Fix memory issues in Language.evaluate (#6386)
* Fix memory issues in Language.evaluate

Reset annotation in predicted docs before evaluating and store all data
in `examples`.

* Minor refactor to docs generator init

* Fix generator expression

* Fix final generator check

* Refactor pipeline loop

* Handle examples generator in Language.evaluate

* Add test with generator

* Use make_doc
2020-12-31 10:45:50 +11:00
..
converters Switch converters to generator functions (#6547) 2020-12-15 16:47:16 +08:00
__init__.pxd Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
__init__.py Replace pytokenizations with internal alignment (#6293) 2020-11-03 16:24:38 +01:00
align.pyx Fix alignment for 1-to-1 tokens and lowercasing (#6476) 2020-12-08 14:25:16 +08:00
alignment.py Replace pytokenizations with internal alignment (#6293) 2020-11-03 16:24:38 +01:00
augment.py Auto-format [ci skip] 2020-10-05 21:58:18 +02:00
batchers.py Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
corpus.py Integrate file readers 2020-10-02 01:36:06 +02:00
example.pxd Make a pre-check to speed up alignment cache (#6139) 2020-09-24 18:13:39 +02:00
example.pyx Add beam_parser and beam_ner components for v3 (#6369) 2020-12-13 09:08:32 +08:00
gold_io.pyx Use null raw for has_unknown_spaces in docs_to_json 2020-10-15 09:57:54 +02:00
initialize.py Add specific error when StaticVectors can't read the vectors data (#6450) 2020-12-09 06:16:07 +08:00
iob_utils.py Merge pull request #6089 from adrianeboyd/feature/doc-ents-v3-2 2020-09-24 14:44:42 +02:00
loggers.py Make console logger table more compact 2020-10-11 12:55:46 +02:00
loop.py Fix memory issues in Language.evaluate (#6386) 2020-12-31 10:45:50 +11:00
pretrain.py pretrain architectures (#6451) 2020-12-08 14:41:03 +08:00