spaCy/spacy/pipeline
Paul O'Leary McCann 8f66176b2d Fix loss?
This rewrites the loss to not use the Thinc crossentropy code at all.
The main difference here is that the negative predictions are being
masked out (= marginalized over), but negative gradient is still being
reflected.

I'm still not sure this is exactly right but models seem to train
reliably now.
2021-07-05 18:17:10 +09:00
..
_parser_internals Preserve existing ENT_KB_ID annotation in NER (#7988) 2021-05-06 18:49:55 +10:00
__init__.py Remove references to coref_er 2021-05-24 19:08:45 +09:00
attributeruler.py Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
coref.py Fix loss? 2021-07-05 18:17:10 +09:00
dep_parser.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
entity_linker.py KB & NEL to/from bytes (#8113) 2021-05-20 18:11:30 +10:00
entityruler.py Merge branch 'master' into feature/coref 2021-05-15 20:05:17 +09:00
functions.py Tidy up and auto-format 2021-02-13 12:55:56 +11:00
lemmatizer.py Use morph hash in lemmatizer cache key (#7690) 2021-04-08 13:22:38 +02:00
morphologizer.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
multitask.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
ner.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
pipe.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
pipe.pyx Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
sentencizer.pyx Re-refactor Sentencizer with Pipe API (#7176) 2021-02-26 09:48:14 +01:00
senter.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
tagger.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
textcat_multilabel.py Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
textcat.py Merge branch 'master' into feature/coref 2021-05-15 20:05:17 +09:00
tok2vec.py Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
trainable_pipe.pxd Revert added_strings change (#6236) 2020-10-10 18:55:07 +02:00
trainable_pipe.pyx Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
transition_parser.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
transition_parser.pyx Update lexeme_norm checks 2021-03-19 10:59:27 +01:00