Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Tapas Model (#520)
* Added support for Tapas Model * Added support for Tapas Model * reformatted files with black * Update tests/bettertransformer/test_bettertransformer_encoder.py test_better_encoder Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com> * Update optimum/bettertransformer/models/encoder_models.py Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com> * Update tests/bettertransformer/test_bettertransformer_encoder.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * Styled optimum files * Update optimum/bettertransformer/models/encoder_models.py Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com> * Update optimum/bettertransformer/models/encoder_models.py Call super() in the _init() to inherit from BetterTransformerBaseLayer Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com> * Update tests/bettertransformer/test_bettertransformer_encoder.py Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> * Moved Tapas Encoder model to Encoder * change mapping in __init_.py * deleted * Update __init__.py * Update __init__.py * refactor doc + remove class + styling Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com> Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com> Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com> Co-authored-by: younesbelkada <younesbelkada@gmail.com>
- Loading branch information