transformers/utils
NielsRogge 83e5a10603
Add BEiT (#12994)
* First pass

* Make conversion script work

* Improve conversion script

* Fix bug, conversion script working

* Improve conversion script, implement BEiTFeatureExtractor

* Make conversion script work based on URL

* Improve conversion script

* Add tests, add documentation

* Fix bug in conversion script

* Fix another bug

* Add support for converting masked image modeling model

* Add support for converting masked image modeling

* Fix bug

* Add print statement for debugging

* Fix another bug

* Make conversion script finally work for masked image modeling models

* Move id2label for datasets to JSON files on the hub

* Make sure id's are read in as integers

* Add integration tests

* Make style & quality

* Fix test, add BEiT to README

* Apply suggestions from @sgugger's review

* Apply suggestions from code review

* Make quality

* Replace nielsr by microsoft in tests, add docs

* Rename BEiT to Beit

* Minor fix

* Fix docs of BeitForMaskedImageModeling

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2021-08-04 18:29:23 +02:00
..
tf_ops Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
check_copies.py Add possibility to maintain full copies of files (#12312) 2021-06-28 10:02:53 -04:00
check_dummies.py Have dummy processors have a from_pretrained method (#12145) 2021-06-15 08:39:05 -04:00
check_inits.py Import check_inits handling of duplicate definitions. (#12467) 2021-07-01 12:52:00 -04:00
check_repo.py Add BEiT (#12994) 2021-08-04 18:29:23 +02:00
check_table.py make style (#11442) 2021-04-26 13:50:34 +02:00
check_tf_ops.py Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
class_mapping_update.py Model card defaults (#12122) 2021-06-15 16:01:37 -04:00
custom_init_isort.py Sort init import (#10801) 2021-03-19 16:17:13 -04:00
download_glue_data.py Enforce string-formatting with f-strings (#10980) 2021-03-31 10:00:27 -04:00
get_modified_files.py a more reliable version of branching point discovery (#9449) 2021-01-07 04:47:50 -05:00
link_tester.py Enforce string-formatting with f-strings (#10980) 2021-03-31 10:00:27 -04:00
notification_service.py Add timeout to CI. (#12684) 2021-07-13 15:13:18 -04:00
release.py Fix pattern in conf.py (#11784) 2021-05-20 09:30:31 -04:00
style_doc.py Only test the files impacted by changes in the diff (#12644) 2021-07-14 10:56:55 -04:00
tests_fetcher.py Add possibility to ignore imports in test_fecther (#12801) 2021-07-26 09:48:19 -04:00