Sylvain Gugger
|
c28bc80bbb
|
Generalize problem_type to all sequence classification models (#14180)
* Generalize problem_type to all classification models
* Missing import
* Deberta BC and fix tests
* Fix template
* Missing imports
* Revert change to reformer test
* Fix style
|
2021-10-29 10:32:56 -04:00 |
|
Lysandre Debut
|
ca257a06cc
|
Fix torchscript tests (#13701)
|
2021-09-22 19:02:54 -04:00 |
|
Lysandre Debut
|
d07c771dd9
|
Torchscript test for ConvBERT (#13352)
* Torchscript test for ConvBERT
* Apply suggestions from code review
|
2021-09-01 04:43:09 -04:00 |
|
Lysandre Debut
|
c3d9ac7607
|
Expose get_config() on ModelTesters (#12812)
* Expose get_config() on ModelTesters
* Typo
|
2021-07-21 04:13:11 -04:00 |
|
abhishek thakur
|
c40c7e213b
|
Add multi-class, multi-label and regression to transformers (#11012)
* add to bert
* review comments
* Update src/transformers/configuration_utils.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/configuration_utils.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* self.config.problem_type
* fix style
* fix
* fin
* fix
* update doc
* fix
* test
* Test more problem types
* Update src/transformers/configuration_utils.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* fix
* remove
* fix
* quality
* make fix-copies
* remove test
Co-authored-by: abhishek thakur <abhishekkrthakur@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Lysandre <lysandre.debut@reseau.eseo.fr>
|
2021-05-04 02:23:40 -04:00 |
|
Sylvain Gugger
|
ba8b1f4754
|
Add support for multiple models for one config in auto classes (#11150)
* Add support for multiple models for one config in auto classes
* Use get_values everywhere
* Prettier doc
|
2021-04-08 18:41:36 -04:00 |
|
Sylvain Gugger
|
fda703a553
|
Fix integration slow tests (#10670)
* PoC
* Fix slow tests for the PT1.8 Embedding problem
|
2021-03-11 13:43:53 -05:00 |
|
abhishek thakur
|
f617490e71
|
ConvBERT Model (#9717)
* finalize convbert
* finalize convbert
* fix
* fix
* fix
* push
* fix
* tf image patches
* fix torch model
* tf tests
* conversion
* everything aligned
* remove print
* tf tests
* fix tf
* make tf tests pass
* everything works
* fix init
* fix
* special treatment for sepconv1d
* style
* 🙏🏽
* add doc and cleanup
* add electra test again
* fix doc
* fix doc again
* fix doc again
* Update src/transformers/modeling_tf_pytorch_utils.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Update src/transformers/models/conv_bert/configuration_conv_bert.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Update docs/source/model_doc/conv_bert.rst
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/models/auto/configuration_auto.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/models/conv_bert/configuration_conv_bert.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* conv_bert -> convbert
* more fixes from review
* add conversion script
* dont use pretrained embed
* unused config
* suggestions from julien
* some more fixes
* p -> param
* fix copyright
* fix doc
* Update src/transformers/models/convbert/configuration_convbert.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* comments from reviews
* fix-copies
* fix style
* revert shape_list
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
|
2021-01-27 03:20:09 -05:00 |
|