• Arthur's avatar
    update relative positional embedding (#20203) · f60eec40
    Arthur authored
    * update relative positional embedding
    
    * make fix copies
    
    * add `use_cache` to list of arguments
    
    * fixup
    
    * 1line fucntion
    
    * add `test_decoder_model_past_with_large_inputs_relative_pos_emb`
    
    * add relative pos embedding test for more models
    
    * style
    f60eec40
modeling_markuplm.py 56.3 KB