• Ankur Goyal's avatar
    Add LayoutLMForQuestionAnswering model (#18407) · 5c4c8690
    Ankur Goyal authored
    
    
    * Add LayoutLMForQuestionAnswering model
    
    * Fix output
    
    * Remove TF TODOs
    
    * Add test cases
    
    * Add docs
    
    * TF implementation
    
    * Fix PT/TF equivalence
    
    * Fix loss
    
    * make fixup
    
    * Fix up documentation code examples
    
    * Fix up documentation examples + test them
    
    * Remove LayoutLMForQuestionAnswering from the auto mapping
    
    * Docstrings
    
    * Add better docstrings
    
    * Undo whitespace changes
    
    * Update tokenizers in comments
    
    * Fixup code and remove `from_pt=True`
    
    * Fix tests
    
    * Revert some unexpected docstring changes
    
    * Fix tests by overriding _prepare_for_class
    Co-authored-by: default avatarAnkur Goyal <ankur@impira.com>
    5c4c8690
check_repo.py 31.1 KB