spaCy/spacy/ml
Daniël de Kok 2dbb332cea
`TextCatParametricAttention.v1`: set key transform dimensions ()
* TextCatParametricAttention.v1: set key transform dimensions

This is necessary for tok2vec implementations that initialize
lazily (e.g. curated transformers).

* Add lazily-initialized tok2vec to simulate transformers

Add a lazily-initialized tok2vec to the tests and test the current
textcat models with it.

Fix some additional issues found using this test.

* isort

* Add `test.` prefix to `LazyInitTok2Vec.v1`
2024-02-02 13:01:59 +01:00
..
models `TextCatParametricAttention.v1`: set key transform dimensions () 2024-02-02 13:01:59 +01:00
__init__.py
_character_embed.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00
_precomputable_affine.py
callbacks.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00
extract_ngrams.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00
extract_spans.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00
featureextractor.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00
parser_model.pxd ci: add cython linter () 2023-07-19 12:03:31 +02:00
parser_model.pyx Add profile=False to currently unprofiled cython 2023-09-28 17:09:41 +02:00
staticvectors.py Support registered vectors () 2023-08-01 15:46:08 +02:00
tb_framework.py Configure isort to use the Black profile, recursively isort the `spacy` module () 2023-06-14 17:48:41 +02:00