Introducing spaCy v3.4

· by the spaCy team · ~3 min. read

We’re pleased to publish v3.4 of the spaCy Natural Language Processing library. spaCy v3.4 brings typing and speed improvements along with new vectors for English pipelines and new trained pipelines for Croatian. This release also includes prebuilt linux aarch64 wheels for all spaCy dependencies distributed by Explosion.

Typing improvements

spaCy v3.4 supports pydantic v1.9 and mypy 0.950+ through extensive updates to types in Thinc v8.1.

Speed improvements

  • For the parser, use C saxpy/sgemm provided by the Ops implementation in order to use Accelerate through thinc-apple-ops.
  • Improved speed of vector lookups.
  • Improved speed for Example.get_aligned_parse and Example.get_aligned.

Trained pipelines

New trained pipelines

v3.4 introduces new CPU/CNN pipelines for Croatian, which use the trainable lemmatizer and floret vectors. Due to the use of Bloom embeddings and subwords, the pipelines have compact vectors with no out-of-vocabulary words.

New Trained Pipelines

PackageUPOSParser LASNER F

Pipeline updates

All CNN pipelines have been extended with whitespace augmentation.

The English CNN pipelines have new word vectors, which improve the NER performance and update the vectors with words like “AirTags”, “Brexit”, “covid” and “doomscrolling”:

New English Vectors

PackageModel VersionTAGParser LASNER F

New in the spaCy universe

Many cool new plugins, extensions, pipelines and tutorials have been added to the spaCy universe since v3.3:

Aim-spacyAn Aim-based spaCy experiment tracker.
AsentFast, flexible and transparent sentiment analysis.
spaCy fishingNamed entity disambiguation and linking on Wikidata in spaCy with Entity-Fishing.
spacy-reportGenerates interactive reports for spaCy models.

View the spaCy universe


About the authors

  • Matthew Honnibal CTO, Founder

    • Berlin, Germany
  • Ines Montani CEO, Founder

    • Berlin, Germany
  • Sofie Van Landeghem Lead Machine Learning Engineer, spaCy Core Developer

    • Ghent, Belgium
  • Adriane Boyd Machine Learning Engineer, spaCy Core Developer

    • Tübingen, Germany
  • Paul O’Leary McCann Machine Learning Engineer, spaCy Core Developer

    • Tokyo, Japan
  • Daniël de Kok Machine Learning Engineer, spaCy Core Developer

    • Groningen, Netherlands
  • Edward Schmuhl Machine Learning Engineer

    • Berlin, Germany
  • Lj Miranda Machine Learning Engineer

    • Manila, Philippines
  • Philip Vollet Head of Developer Relations

    • Berlin, Germany
  • Peter Baumgartner Machine Learning Engineer, spaCy Core Developer

    • Durham, NC, U.S.
  • Richard Hudson Machine Learning Engineer, spaCy Core Developer

    • Munich, Germany
  • Vincent D. Warmerdam Machine Learning Engineer

    • Haarlem, Netherlands
  • Madeesh Kannan Machine Learning Engineer

    • Germany
  • Raphael Mitsch Machine Learning Engineer

    • Vienna, Austria