v6.0.0: Add thinc.neural for NLP-oriented deep learning
✨ Major features and improvements
- NEW: Add
thinc.neural
to develop neural networks for spaCy. - Introduce support for Affine, Maxout, ReLu and Softmax vector-to-vector layers.
- Introduce support for efficient static word embedding layer with projection matrix and per-word-type memoisation.
- Introduce support for efficient word vector convolution layer, which also supports per-word-type memoisation.
- Introduce support for
MeanPooling
,MaxPooling
andMinPooling
. AddMultiPooling
layer for concatenative pooling. - Introduce support for annealed dropout training.
- Introduce support for classical momentum, Adam and Eve optimisers.
- Introduce support for averaged parameters for each optimiser.
⚠️ Backwards incompatibilities
The Example
class now holds a pointer to its ExampleC
struct, where previously it held the struct value. This introduces a small backwards incompatibility in spaCy.