Skip to content

Code for ACL 2022 Conference Paper "XDBERT: Distilling Visual Information to BERT from Cross-Modal Systems to Improve Language Understanding"

Notifications You must be signed in to change notification settings

Splend1d/XDBERT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XDBERT

Code for ACL 2022 Conference Paper "XDBERT: Distilling Visual Information to BERT from Cross-Modal Systems to Improve Language Understanding"

Pretraining

preparing data : download wiki to data/wiki-cased with

kaggle datasets download -d a24998667/wiki-raw

Then run,

bash xattn_pretrain.sh

Finetuning

The glue dataset is downloadable using the datasets lib, so no extra preparation is needed

Simply run

bash distil_run_glue.sh

with the pretrained checkpoint

About

Code for ACL 2022 Conference Paper "XDBERT: Distilling Visual Information to BERT from Cross-Modal Systems to Improve Language Understanding"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published