Skip to content

Releases: explosion/thinc

v8.0.4: New tuplify and resizable layers, and some bug fixes

11 Jun 07:37
8881755
Compare
Choose a tag to compare

✨ New features and improvements

  • Add tuplify layer.
  • More generic implementation of the concatenate layer.
  • Add resizable layer.
  • Introduce force parameter for model.set_dim().
  • Improve UX when setting the GPU allocator.

🔴 Bug fixes

  • Fix issue #492: Fix backpropagation in with_getitem.
  • Fix issue #494: Resolve forward refs issue with Pydantic.
  • Fix issue #496: Avoid Pydantic versions with security vulnerabilities.

👥 Contributors

@adrianeboyd, @honnibal, @ines, @Kludex, @polm, @svlandeg, @thomashacker

v8.0.3: Bug fixes for config overrides and expand_window

19 Apr 13:57
7557aba
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix issue #486: Fix expand_window for empty docs on GPU
  • Fix issue #487: Require catalogue>=2.0.3 due to performance regressions related to importlib-metadata
  • Fix issue #488: Fix config override & interpolate interaction

v8.0.2: New map_list layer, bug fixes for saving to Pathy paths and more

09 Mar 14:57
f92bb9c
Compare
Choose a tag to compare

✨ New features and improvements

  • Add map_list layer (#472)

🔴 Bug fixes

  • Fix issue #465: Fix saving models to Pathy paths
  • Fix issue #466: Avoid initializing with Y if X is set
  • Fix issue #470: Reset torch tensor type in require_cpu
  • Fix issue #484: Ensure consistency of nO dim for BiLSTM

v8.0.1: Bug fixes for list2padded and LayerNorm

09 Mar 14:55
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix issue #464: Fix list2padded op
  • Add nO to LayerNorm

v8.0.0: Full rewrite, compose models using any framework such as PyTorch or TensorFlow, built-in type checking, config system and more

24 Jan 02:41
Compare
Choose a tag to compare

🔮 This version of Thinc has been rewritten from the ground up and will be used to power the upcoming spaCy v3.0. The new Thinc v8.0 is a lightweight deep learning library that offers an elegant, type-checked, functional-programming API for composing models, with support for layers defined in other frameworks such as PyTorch, TensorFlow or MXNet. You can use Thinc as an interface layer, a standalone toolkit or a flexible way to develop new models. For more details, see the documentation.

✨ New features and improvements

  • Use any framework: Switch between PyTorch, TensorFlow and MXNet models without changing your application, or even create mutant hybrids using zero-copy array interchange.
  • Type checking: Develop faster and catch bugs sooner with sophisticated type checking. Trying to pass a 1-dimensional array into a model that expects two dimensions? That’s a type error. Your editor can pick it up as the code leaves your fingers.
  • Config system: Configuration is a major pain for ML. Thinc lets you describe trees of objects with references to your own functions, so you can stop passing around blobs of settings. It's simple, clean, and it works for both research and production.
  • Super lightweight: Small and easy to install with very few required dependencies, available on pip and conda for Linux, macOS and Windows. Simple source with a consistent API.
  • Concise functional-programming approach to model definition using composition rather than inheritance.
  • First-class support for variable-length sequences: multiple built-in sequence representations and your layers can use any object.

v7.4.5: Fix numpy compatibility in binary wheels

11 Dec 09:45
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix numpy compatibility in binary wheel releases.
  • Fix cupy-cuda111 extra requirement.

v7.4.4: Update for cupy v8 and update package setup

10 Dec 12:30
Compare
Choose a tag to compare

🔴 Bug fixes

  • Update for compatibility with cupy v8.
  • Remove f-strings from PyTorchWrapper.
  • Remove detailed numpy build constraints from pyproject.toml.
  • Update Cython extension setup.

v7.4.3: Fix memory leak in Beam and random seed in ParametricAttention

10 Dec 12:30
Compare
Choose a tag to compare

✨ New features and improvements

  • Add seed argument to ParametricAttention.
  • Dynamically include numpy headers and add numpy build constraints.
  • Update tests to support hypothesis v5.

🔴 Bug fixes

  • Fix memory leak in Beam.

v7.4.2: Update compatible cupy versions and for python 3.9

10 Dec 12:29
ef51f4e
Compare
Choose a tag to compare

🔴 Bug fixes

  • Restrict compatible cupy versions to <8.0.0.
  • Update setup for python 3.9.

v7.4.1: Fix OOV vectors bug

24 May 10:24
8cb6c64
Compare
Choose a tag to compare

🔴 Bug fixes

  • Use 0-vector for OOV in StaticVectors to fix similarity bug in spaCy
  • Fix murmurhash on platforms where long type was not 64 bit