• NielsRogge's avatar
    Add BEiT (#12994) · 83e5a106
    NielsRogge authored
    
    
    * 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: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
    83e5a106
check_repo.py 22.5 KB