News for hackers. Stuff that matters.
Re:Camphr: SpaCy plugin for Transformers , Udify, ELmo, etc by tamuhey on Thursday February 13, 2020 @11:21AM (#22318900)
Camphr provides functionality for using transformers on spaCy. The purpose of this feature is similar to spacy-transformers. You should use Camphr in the following cases:

1. If you want to extend or combine model with pytorch (spacy-transformers is thinc-based, while Camphr is pytorch-based.)

2. If you want to fine-tune easily with CLI

3. If you want to use better token alignment algorithm (Camphr uses pytokenizations (https://github.com/tamuhey/tokenizations) to align transformers' tokens and spaCy's tokens. pytokenizations is faster and more robust than spacy-transformers' alignment algorithm)

There are no comments on this comment yet.