add onnx support for deberta and debertav2 (#17617)
* add onnx support for debertav2
* debertav2 -> deberta-v2 in onnx features file
* remove causal lm
* add deberta-v2-xlarge to onnx tests
* use self.type().dtype() in xsoftmax
Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>
* remove hack for deberta
* remove unused imports
* Update src/transformers/models/deberta_v2/configuration_deberta_v2.py
Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>
* use generate dummy inputs
* linter
* add imports
* add support for deberta v1 as well
* deberta does not support multiple choice
* Update src/transformers/models/deberta/configuration_deberta.py
Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>
* Update src/transformers/models/deberta_v2/configuration_deberta_v2.py
Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>
* one line ordered dict
* fire build
Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>