Automatically sort auto mappings (#17250)

* Automatically sort auto mappings

* Better class extraction

* Some auto class magic

* Adapt test and underlying behavior

* Remove re-used config

* Quality
This commit is contained in:
Sylvain Gugger
2022-05-16 13:24:20 -04:00
committed by GitHub
parent 2f611f85e2
commit ddb1a47ec8
14 changed files with 1199 additions and 1094 deletions

View File

@@ -259,7 +259,6 @@ Flax), PyTorch, and/or TensorFlow.
| Swin | ❌ | ❌ | ✅ | ❌ | ❌ |
| T5 | ✅ | ✅ | ✅ | ✅ | ✅ |
| TAPAS | ✅ | ❌ | ✅ | ✅ | ❌ |
| TAPEX | ✅ | ✅ | ✅ | ✅ | ✅ |
| Transformer-XL | ✅ | ❌ | ✅ | ✅ | ❌ |
| TrOCR | ❌ | ❌ | ✅ | ❌ | ❌ |
| UniSpeech | ❌ | ❌ | ✅ | ❌ | ❌ |

View File

@@ -74,7 +74,6 @@ Ready-made configurations include the following architectures:
- RoBERTa
- RoFormer
- T5
- TAPEX
- ViT
- XLM-RoBERTa
- XLM-RoBERTa-XL