spaCy/spacy
Daniël de Kok e2a3952de5
Add spacy.TextCatParametricAttention.v1 (#13201)
* Add spacy.TextCatParametricAttention.v1

This layer provides is a simplification of the ensemble classifier that
only uses paramteric attention. We have found empirically that with a
sufficient amount of training data, using the ensemble classifier with
BoW does not provide significant improvement in classifier accuracy.
However, plugging in a BoW classifier does reduce GPU training and
inference performance substantially, since it uses a GPU-only kernel.

* Fix merge fallout
2024-01-02 10:03:06 +01:00
..
cli
displacy
kb
lang Feature/nn and fo language extensions (#13116) 2023-11-20 07:49:59 +01:00
matcher Update __all__ fields (#13063) 2023-10-16 10:17:47 +02:00
ml Add spacy.TextCatParametricAttention.v1 (#13201) 2024-01-02 10:03:06 +01:00
pipeline Add TextCatReduce.v1 (#13181) 2023-12-21 11:00:06 +01:00
tests
tokens
training Update __all__ fields (#13063) 2023-10-16 10:17:47 +02:00
__init__.pxd
__init__.py Revert "Load the cli module lazily for spacy.info (#12962)" 2023-10-04 12:33:33 +02:00
__main__.py
about.py
attrs.pxd ci: add cython linter (#12694) 2023-07-19 12:03:31 +02:00
attrs.pyx
compat.py
default_config.cfg Support registered vectors (#12492) 2023-08-01 15:46:08 +02:00
default_config_pretraining.cfg
errors.py
glossary.py
language.py
lexeme.pxd Configure isort to use the Black profile, recursively isort the `spacy` module (#12721) 2023-06-14 17:48:41 +02:00
lexeme.pyi
lexeme.pyx
lookups.py
morphology.pxd
morphology.pyx
parts_of_speech.pxd
parts_of_speech.pyx
pipe_analysis.py
py.typed Add py.typed 2021-03-16 09:48:31 +01:00
schemas.py
scorer.py
strings.pxd
strings.pyi
strings.pyx
structs.pxd
symbols.pxd
symbols.pyx
tokenizer.pxd
tokenizer.pyx
ty.py
typedefs.pxd
typedefs.pyx Add profile=False to currently unprofiled cython 2023-09-28 17:09:41 +02:00
util.py
vectors.pyx
vocab.pxd
vocab.pyi
vocab.pyx