Skip to content

Flambé 0.4.9: Updated Transformers integration, small bug fixes

Compare
Choose a tag to compare
@jeremyasapp jeremyasapp released this 30 Dec 22:14
· 249 commits to master since this release
71cfe30

New Features

  • Updated integration of the transformers library. Instead of a having a series of objects for each type of Transformer model, there are now only two: PretrainedTransformerField and PretrainedTransformerEmbedder which support aliases from any type of Transformer model. This should ensure that the integration does not need to be updated when new models are added in the transformers library.

Bug Fixes

  • Fixed a bug where the Trainer could run out of training batches
  • The TabularDataset.from_path class method now correctly supports paths which use smartopen

Breaking Changes

  • All objects from the older transformers library integration have been removed.