mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
e5debc68e4
* Tagger: use unnormalized probabilities for inference Using unnormalized softmax avoids use of the relatively expensive exp function, which can significantly speed up non-transformer models (e.g. I got a speedup of 27% on a German tagging + parsing pipeline). * Add spacy.Tagger.v2 with configurable normalization Normalization of probabilities is disabled by default to improve performance. * Update documentation, models, and tests to spacy.Tagger.v2 * Move Tagger.v1 to spacy-legacy * docs/architectures: run prettier * Unnormalized softmax is now a Softmax_v2 option * Require thinc 8.0.14 and spacy-legacy 3.0.9
14 lines
290 B
TOML
14 lines
290 B
TOML
[build-system]
|
|
requires = [
|
|
"setuptools",
|
|
"cython>=0.25,<3.0",
|
|
"cymem>=2.0.2,<2.1.0",
|
|
"preshed>=3.0.2,<3.1.0",
|
|
"murmurhash>=0.28.0,<1.1.0",
|
|
"thinc>=8.0.14,<8.1.0",
|
|
"blis>=0.4.0,<0.8.0",
|
|
"pathy",
|
|
"numpy>=1.15.0",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|