spaCy/spacy/cli
Sofie Van Landeghem e796aab4b3
Resizable textcat (#7862)
* implement textcat resizing for TextCatCNN

* resizing textcat in-place

* simplify code

* ensure predictions for old textcat labels remain the same after resizing (WIP)

* fix for softmax

* store softmax as attr

* fix ensemble weight copy and cleanup

* restructure slightly

* adjust documentation, update tests and quickstart templates to use latest versions

* extend unit test slightly

* revert unnecessary edits

* fix typo

* ensemble architecture won't be resizable for now

* use resizable layer (WIP)

* revert using resizable layer

* resizable container while avoid shape inference trouble

* cleanup

* ensure model continues training after resizing

* use fill_b parameter

* use fill_defaults

* resize_layer callback

* format

* bump thinc to 8.0.4

* bump spacy-legacy to 3.0.6
2021-06-16 11:45:00 +02:00
..
project Support env vars and CLI overrides for project.yml 2021-02-10 13:45:27 +11:00
templates Resizable textcat (#7862) 2021-06-16 11:45:00 +02:00
__init__.py assemble CLI command (#7783) 2021-04-19 18:39:11 +10:00
_util.py Add hint for --gpu-id to CLI device info (#7234) 2021-03-03 01:11:18 +11:00
assemble.py assemble CLI command (#7783) 2021-04-19 18:39:11 +10:00
convert.py Fix other open calls without context managers (#8245) 2021-05-31 19:04:29 +10:00
debug_config.py Add --code to spacy debug CLI 2021-03-12 09:51:26 +01:00
debug_data.py Update debug data for textcat (#8066) 2021-05-17 13:27:04 +02:00
debug_model.py Fix 'debug model' for transformers + generalize (#7973) 2021-05-06 18:43:32 +10:00
download.py textcat scoring fix and multi_label docs (#6974) 2021-03-09 23:04:22 +11:00
evaluate.py Fix displacy output in evaluate CLI (#7122) 2021-02-19 23:01:20 +11:00
info.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
init_config.py Add --code option to init fill-config 2021-03-12 10:03:57 +01:00
init_pipeline.py WIP: Various small training changes (#6818) 2021-01-26 14:51:52 +11:00
package.py Move README.md and LICENSES_SOURCES in package (#8297) 2021-06-11 10:20:24 +02:00
pretrain.py Check if the resume path points to a directory (#7919) 2021-04-28 09:17:15 +02:00
profile.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
train.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
validate.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00