spaCy supports a number of transfer and multi-task learning workflows that can often help improve your pipeline’s efficiency or accuracy. Transfer learning refers to techniques such as word vector tables and language model pretraining. These techniques can be used to import knowledge from raw text into your pipeline, so that your models are able to generalize better from your annotated examples. You can convert word vectors from popular tools like FastText and Gensim, or you can load in any pre trained transformer model if you install spacy-transformers. You can also do your own language model pretraining via the spacy pre train command. You can even share your transformer or another contextual embedding model across multiple components, which can make long pipelines several times more efficient. To use transfer learning, you’ll need at least a few annotated examples for what you’re trying to predict.

Features

  • Shared embedding layers
  • You can share a single transformer or other tok2vec model between multiple components by adding a Transformer
  • Use transformer models
  • Transformer models can be used as drop-in replacements
  • You can also customize how the Transformer component sets annotations
  • The recommended workflow for training is to use spaCy’s config system

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow spacy-transformers

spacy-transformers Web Site

Other Useful Business Software
Zenflow- The AI Workflow Engine for Software Devs Icon
Zenflow- The AI Workflow Engine for Software Devs

Parallel agents. Multi-agent orchestration. Specs that turn into shipped code. Zenflow automates planning, coding, testing, and verification.

Zenflow is the AI workflow engine built for real teams. Parallel agents plan, code, test, and verify in one workflow. With spec-driven development and deep context, Zenflow turns requirements into production-ready output so teams ship faster and stay in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of spacy-transformers!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks

Registered

2023-02-17